<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 5 Feb 2014, at 17:47, Vassilios Mewes &lt;<a href="mailto:vassilios.mewes@uv.es">vassilios.mewes@uv.es</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello Roland and Erik,<div><br></div><div>thanks for your replies...</div><div><br></div><div>what do you mean by writing different segments in the same directory? I thought i was creating a new simulation for every run I do and then simply changing the output directory to a data directory in the Simulations folder where the respective simulation resides...is that the wrong way of thinking about it?</div>
<div>maybe i am over complicating things as well...i just realised that the simfactory is using the parfile inside the simulation_name folder, so i guess outputting to "../../data" will get me to the right directory..</div></div></blockquote><div><br></div><div>A "simulation", as far as simfactory is concerned, is a directory, which might be in /scratch/username/simulations. &nbsp;This usually corresponds to a single parameter file, and is logically "one cactus run". &nbsp;However, because jobs on clusters usually are limited to 24 hours, you need multiple jobs to form a longer simulation. &nbsp;SimFactory calls these different segments of the simulation "restarts", as the second one is restarted from the first, etc. &nbsp;The restarts correspond to directories output-NNNN in the simulation directory. &nbsp;Each new Cactus job in the simulation is run inside this output-NNNN directory. &nbsp;The parameter file usually specifies the name of the directory to put data into. &nbsp;Some users use '$parfile' which names the output directory after the parameter file. &nbsp;</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><br></div><br><blockquote type="cite"><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">&lt;<a href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Feb 5, 2014, at 11:19 , Roland Haas &lt;<a href="mailto:rhaas@tapir.caltech.edu">rhaas@tapir.caltech.edu</a>&gt; wrote:<br>

<br>
&gt; Signed PGP part<br>
<div class="im">&gt; Hello Vassili,<br>
&gt;<br>
&gt; &gt; sorry to keep bothering you...<br>
&gt; No problem. Sorry for the delayed reply, I had not seen your second<br>
&gt; question in the email.<br>
&gt;<br>
&gt; &gt; I tried around getting the output folder to be in the<br>
&gt; &gt; simulation_name/SIMFACTORY/data folder, but couldn't figure it<br>
&gt; &gt; out..its not terribly important, but would be nice to write the<br>
&gt; &gt; data to that folder..<br>
&gt; &gt;<br>
&gt; &gt; any ideas?<br>
&gt; Sorry, I have no idea how to change the output directory. I suspect<br>
&gt; that the output-0000 names are hard-coded into simfactory. In<br>
&gt; particular I do not think it is possible (nor advisable) to accumulate<br>
&gt; 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 &lt;<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>&gt;<br>
<a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>
<div class="im"><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>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>http://lists.einsteintoolkit.org/mailman/listinfo/users<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--&nbsp;</div><div>Ian Hinder</div><div><a href="http://numrel.aei.mpg.de/people/hinder">http://numrel.aei.mpg.de/people/hinder</a></div></div></span></div></span></div></span></span>
</div>
<br></body></html>