<div dir="ltr"><div><div><div>Dear Roland,<br><br></div>I fixed the problem. I just had to add [<whoami name>]<br></div> to the defs.local.ini file. Earlier it just had [default].<br><br></div><div>Thanks,<br></div><div>Maitraya.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 19, 2017 at 11:08 PM, Roland Haas <span dir="ltr"><<a href="mailto:rhaas@illinois.edu" target="_blank">rhaas@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Maitraya,<br>
<br>
sorry to hear this did not help.<br>
<br>
You did not have to recompile since basedir is only used by the<br>
simulation factory, which makes testing this a bit faster.<br>
<br>
I am afraid I am not sure on top of my head what could cause this.<br>
<br>
So more questions:<br>
* this is on you laptop? or on a cluster (which one)?<br>
* would you mind attaching your simfactory/etc/defs.local.ini file,<br>
please?<br>
* what does simfactory/bin/sim whoami report?<br>
* it would be good to provide the output of<br>
simfactory/bin/sim print-mdb-entry $(simfactory/bin/sim whoami | \<br>
awk '{print $NF}')<br>
which should output all information that simulation factory has about<br>
the machine it is running on<br>
* please copy and past the full command line used for<br>
simfactory/bin/submit as well as its output eg:<br>
--8<--<br>
rhaas@8992d193:~/Cactus $ simfactory/bin/sim submit static_tov --parfile par/static_tov.par<br>
Warning: simulation "static_tov" does not exist or is not readable<br>
Parameter file: /home/rhaas/postdoc/gr/cactus/<wbr>Zelmani/par/static_tov.par<br>
Skeleton Created<br>
Job directory: "/home/rhaas/simulations2/<wbr>static_tov"<br>
Executable: "/home/rhaas/postdoc/gr/<wbr>cactus/Zelmani/exe/cactus_bns_<wbr>all"<br>
Option list: "/home/rhaas/simulations2/<wbr>static_tov/SIMFACTORY/cfg/<wbr>OptionList"<br>
Submit script: "/home/rhaas/simulations2/<wbr>static_tov/SIMFACTORY/run/<wbr>SubmitScript"<br>
Run script: "/home/rhaas/simulations2/<wbr>static_tov/SIMFACTORY/run/<wbr>RunScript"<br>
Parameter file: "/home/rhaas/simulations2/<wbr>static_tov/SIMFACTORY/par/<wbr>static_tov.par"<br>
Assigned restart id: 0<br>
Executing submit command: exec /home/rhaas/simulations2/<wbr>static_tov/output-0000/<wbr>SIMFACTORY/SubmitScript < /dev/null > /dev/null 2> /dev/null & echo $!<br>
Submit finished, job id is 28547<br>
--8<--<br>
<br>
Yours,<br>
Roland<br>
<div class="HOEnZb"><div class="h5"><br>
> Hi Roland,<br>
><br>
> I tried changing the basedir and recompiling ET. However, when I ran the<br>
> TOV simulation, it still outputs in the old directory.<br>
><br>
> Please help,<br>
> Maitraya.<br>
><br>
> On Thu, Jan 19, 2017 at 7:32 PM, Roland Haas <<a href="mailto:rhaas@illinois.edu">rhaas@illinois.edu</a>> wrote:<br>
><br>
> > Hello Maitraya,<br>
> ><br>
> > there several directories involved. Typically (on a laptop, clusters are<br>
> > somewhat similar) you will find output in a directory:<br>
> ><br>
> > /home/Maitraya/simulations/<wbr>static_tov/output-0000/<wbr>hydrobase-rho.x.asc<br>
> ><br>
> > you can change the /home/Maitraya/simulations part by adding a<br>
> ><br>
> > basedir = <SOME-DIRECTORY-PATH><br>
> ><br>
> > option to simfactory/etc/defs.local.ini in the section for your laptop<br>
> > (or cluster), eg if<br>
> ><br>
> > simfactory/bin/sim whomai<br>
> ><br>
> > reports "maitrayaslaptop" then you'd ad<br>
> ><br>
> > [maitrayaslaptop]<br>
> > basedir = /home/Maitraya/my-simulations<br>
> ><br>
> > fr the static_tov part you have to edit the par file (static_tov.par)<br>
> > and look for its out_dir setting which currently likely reads:<br>
> ><br>
> > ioutil::out_dir = $parfile<br>
> ><br>
> > (or similar). This causes all output to go into a directory of the same<br>
> > name as the parameter file (without the .par extension). You can change<br>
> > this to anything you like eg:<br>
> ><br>
> > ioutil::out_dir = "stationary tov star"<br>
> ><br>
> > if you so desire (though spaces are usually a bad idea).<br>
> ><br>
> > There some very rudimentary documentation that you can find here:<br>
> ><br>
> > <a href="http://simfactory.org/info/documentation/userguide/index.html" rel="noreferrer" target="_blank">http://simfactory.org/info/<wbr>documentation/userguide/index.<wbr>html</a><br>
> ><br>
> > though I could not find any explanation of basedir in it unfortunately.<br>
> ><br>
> > Yours,<br>
> > Roland<br>
> ><br>
> > > Dear all,<br>
> > ><br>
> > > I was running the TOV simulation (<br>
> > > <a href="https://docs.einsteintoolkit.org/et-docs/Simplified_" rel="noreferrer" target="_blank">https://docs.einsteintoolkit.<wbr>org/et-docs/Simplified_</a><br>
> > Tutorial_for_New_Users).<br>
> > ><br>
> > > While running these two commands:<br>
> > ><br>
> > > ./simfactory/bin/sim submit static_tov<br>
> > > --parfile=par/static_tov_<wbr>small.par --procs=1 --walltime=8:0:0<br>
> > > ./simfactory/bin/sim show-output --follow static_tov<br>
> > ><br>
> > > I noticed that the simulation is created in a particular directory.<br>
> > ><br>
> > > I want to change this directory to something else. How do I change<br>
> > > this command ?<br>
> > ><br>
> > > Thanks,<br>
> > ><br>
> > > Maitraya.<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > My email is as private as my paper mail. I therefore support encrypting<br>
> > and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" rel="noreferrer" target="_blank">http://keys.gnupg.net</a>.<br>
> ><br>
<br>
<br>
<br>
--<br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" rel="noreferrer" target="_blank">http://keys.gnupg.net</a>.<br>
</div></div></blockquote></div><br></div>