[Users] Specifying a directory for simfactory

Maitraya Bhattacharyya maitraya.linux at gmail.com
Thu Jan 19 09:39:13 CST 2017


Hi Roland,

I tried changing the basedir and recompiling ET. However, when I ran the
TOV simulation, it still outputs in the old directory.

Please help,
Maitraya.

On Thu, Jan 19, 2017 at 7:32 PM, Roland Haas <rhaas at illinois.edu> wrote:

> Hello Maitraya,
>
> there several directories involved. Typically (on a laptop, clusters are
> somewhat similar) you will find output in a directory:
>
> /home/Maitraya/simulations/static_tov/output-0000/hydrobase-rho.x.asc
>
> you can change the /home/Maitraya/simulations part by adding a
>
> basedir = <SOME-DIRECTORY-PATH>
>
> option to simfactory/etc/defs.local.ini in the section for your laptop
> (or cluster), eg if
>
> simfactory/bin/sim whomai
>
> reports "maitrayaslaptop" then you'd ad
>
> [maitrayaslaptop]
> basedir = /home/Maitraya/my-simulations
>
> fr the static_tov part you have to edit the par file (static_tov.par)
> and look for its out_dir setting which currently likely reads:
>
> ioutil::out_dir = $parfile
>
> (or similar). This causes all output to go into a directory of the same
> name as the parameter file (without the .par extension). You can change
> this to anything you like eg:
>
> ioutil::out_dir = "stationary tov star"
>
> if you so desire (though spaces are usually a bad idea).
>
> There some very rudimentary documentation that you can find here:
>
> http://simfactory.org/info/documentation/userguide/index.html
>
> though I could not find any explanation of basedir in it unfortunately.
>
> Yours,
> Roland
>
> > Dear all,
> >
> > I was running the TOV simulation (
> > https://docs.einsteintoolkit.org/et-docs/Simplified_
> Tutorial_for_New_Users).
> >
> > While running these two commands:
> >
> > ./simfactory/bin/sim submit static_tov
> > --parfile=par/static_tov_small.par --procs=1 --walltime=8:0:0
> >  ./simfactory/bin/sim show-output --follow static_tov
> >
> > I noticed that the simulation is created in a particular directory.
> >
> > I want to change this directory to something else. How do I change
> > this command ?
> >
> > Thanks,
> >
> > Maitraya.
>
>
>
> --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from http://keys.gnupg.net.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20170119/b9ee534a/attachment.html 


More information about the Users mailing list