<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi Luca, <br>
<br>
If you've already started the simulation, I don't think there is
any way to get the data in the file if you cancel it - it would be
corrupted. However, if you are using actors, in your next
simulation you can include the lines<br>
</p>
<pre style="overflow: auto hidden; font-family: Consolas, Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-size: 0.9em; background: rgb(238, 238, 238); padding: 7px 30px; margin: 15px 0px; line-height: 19.125px; color: rgb(62, 67, 73); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">gate</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">actor</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;">[</span><span class="n" style="color: rgb(0, 0, 0);">Actor</span> <span class="n" style="color: rgb(0, 0, 0);">Name</span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;">]</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">saveEveryNEvents</span> <span class="p" style="color: rgb(0, 0, 0); font-weight: bold;"></span><span class="n" style="color: rgb(0, 0, 0);"></span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;"></span></pre>
<p>or</p>
<pre style="overflow: auto hidden; font-family: Consolas, Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-size: 0.9em; background: rgb(238, 238, 238); padding: 7px 30px; margin: 15px 0px; line-height: 19.125px; color: rgb(62, 67, 73); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">gate</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">actor</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;">[</span><span class="n" style="color: rgb(0, 0, 0);">Actor</span> <span class="n" style="color: rgb(0, 0, 0);">Name</span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;">]</span><span class="o" style="color: rgb(88, 40, 0);">/</span><span class="n" style="color: rgb(0, 0, 0);">saveEveryNSeconds</span> <span class="p" style="color: rgb(0, 0, 0); font-weight: bold;"></span><span class="n" style="color: rgb(0, 0, 0);"></span><span class="p" style="color: rgb(0, 0, 0); font-weight: bold;"></span></pre>
<p>and then if your simulation dies for whatever reason, the output
files would be saved every N seconds for example, so they would be
okay up to that point. If you've already included this in your
current simulation, I think your files will also be okay!<br>
<br>
Best,<br>
Cassandra<br>
</p>
<pre class="moz-signature" cols="72">--
Cassandra Miller
PhD Candidate, Physics
Quantitative Radiomolecular Imaging and Therapy Lab
Department of Physics and Astronomy, University of British Columbia</pre>
<div class="moz-cite-prefix">On 2021-02-27 1:05 a.m., PRESOTTO LUCA
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM6PR02MB407279AE065384C4855A19BC819C9@AM6PR02MB4072.eurprd02.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<table style="border-collapse: collapse; padding-left: 0px;">
<tbody>
<tr>
<td><font style="font-family: Arial, sans-serif; font-size:
12px; font-style: normal; font-weight: normal; color:
#000000; background-color: #FFECB3; line-height: 1.6;
padding: 3px;">[<strong>CAUTION:</strong> Non-UBC Email]</font></td>
</tr>
</tbody>
</table>
<div class="WordSection1">
<p class="MsoNormal">Dear experts,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sorry to bother you, but I couldn’t find
this answer on google. Suppose I miscalculated the time needed
to run a simulation by 1 or 2 orders of magnitude. Can I
ctrl+c it and still get all the data generated until that
point? Or do I risk corrupting the output file?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Luca<o:p></o:p></p>
</div>
<br>
<br>
<p class="MsoNormal"><i><font face="calibri"><span
style="font-size:9.0pt;color:#009644">Rispetta l’ambiente:
non stampare questa mail se non è necessario.<br>
Respect the environment: print this email only if
necessary.<o:p></o:p></span></font></i></p>
<font face="calibri">
</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
</blockquote>
</body>
</html>