<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 6:02 PM, Ian Hinder <span dir="ltr"><<a href="mailto:ian.hinder@aei.mpg.de" target="_blank">ian.hinder@aei.mpg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="im"><div>
<br></div></div><div>A "simulation", as far as simfactory is concerned, is a directory, which might be in /scratch/username/simulations. This usually corresponds to a single parameter file, and is logically "one cactus run". However, because jobs on clusters usually are limited to 24 hours, you need multiple jobs to form a longer simulation. SimFactory calls these different segments of the simulation "restarts", as the second one is restarted from the first, etc. The restarts correspond to directories output-NNNN in the simulation directory. Each new Cactus job in the simulation is run inside this output-NNNN directory. The parameter file usually specifies the name of the directory to put data into. Some users use '$parfile' which names the output directory after the parameter file. </div>
<div><br></div><div>I usually name the simulation after the parameter file, and output the data into a directory also named after the parameter file, so my data would go in</div><div><br></div><div>/scratch/username/simulations/bbh/output-NNNN/bbh/phi.x.asc</div>
<div><br></div><div>for a simulation called bbh, and an output file called phi.x.asc.</div><div><br></div><div>Does this make things clearer?</div></div></div></blockquote><div><br></div><div>yes, thanks for the explanation!</div>
<div><br></div><div>So in that case, you would set </div><div><br></div><div>IO::out_dir = bbh</div><div>IO::checkpoint_dir = bbh<br></div><div>and </div><div>IO::recover_dir = bbh ??<br></div><div><br></div><div>And another question about the restarts of the entire simulation: Do I need to use the TerminationTrigger thorn for that and set the walltime I have on the cluster (minus some time to do the checkpointing before the termination)</div>
<div><br></div><div>sorry for all the stupid questions, but this is the first time I will actually have to use the simfactory!</div><div><br></div><div>best wishes,</div><div><br></div><div>Vassili</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><br></div><br><blockquote type="cite"><div><div class="h5"><div dir="ltr">
<div><br></div><div>best wishes,</div><div><br></div><div>Vassili</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 5:27 PM, Erik Schnetter <span dir="ltr"><<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Feb 5, 2014, at 11:19 , Roland Haas <<a href="mailto:rhaas@tapir.caltech.edu" target="_blank">rhaas@tapir.caltech.edu</a>> wrote:<br>
<br>
> Signed PGP part<br>
<div>> Hello Vassili,<br>
><br>
> > sorry to keep bothering you...<br>
> No problem. Sorry for the delayed reply, I had not seen your second<br>
> question in the email.<br>
><br>
> > I tried around getting the output folder to be in the<br>
> > simulation_name/SIMFACTORY/data folder, but couldn't figure it<br>
> > out..its not terribly important, but would be nice to write the<br>
> > data to that folder..<br>
> ><br>
> > any ideas?<br>
> Sorry, I have no idea how to change the output directory. I suspect<br>
> that the output-0000 names are hard-coded into simfactory. In<br>
> particular I do not think it is possible (nor advisable) to accumulate<br>
> output from different segments in the same directory.<br>
<br>
</div>Vassili<br>
<br>
I recommend against outputting several segments into the same directory. This seems convenient at first, but can completely destroy existing output if you e.g. run out of disk space. In particular, if an HDF5 file is opened for appending, it becomes unreadable until it has been properly closed, and running out of disk space prevents this.<br>
<br>
If you want to do so anyway, then you would use an output directory "../data" or so. The path ".." gets you out of the output-NNNN directory.<br>
<br>
I also would not use the SIMFACTORY directory; this directory contains internal data for Simfactory, and is used to hide these data. I would use e.g. simulation_name/data instead.<br>
<br>
-erik<br>
<br>
--<br>
Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>><br>
<a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>
<div><br>
My email is as private as my paper mail. I therefore support encrypting<br>
</div>and signing email messages. Get my PGP key from <a href="http://pgp.mit.edu/" target="_blank">http://pgp.mit.edu/</a>.<br>
<br>
</blockquote></div><br></div></div></div><div class="im">
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@einsteintoolkit.org" target="_blank">Users@einsteintoolkit.org</a><br><a href="http://lists.einsteintoolkit.org/mailman/listinfo/users" target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
</div></blockquote></div><span class=""><font color="#888888"><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>-- </div><div>Ian Hinder</div><div><a href="http://numrel.aei.mpg.de/people/hinder" target="_blank">http://numrel.aei.mpg.de/people/hinder</a></div></div></span></div></span></div></span></span>
</div>
<br></font></span></div></blockquote></div><br></div></div>