[Gate-users] Stopping simulation
Cassandra Miller
cassandramiller at phas.ubc.ca
Mon Mar 1 19:08:25 CET 2021
Hi Luca,
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
/gate/actor/[Actor Name]/saveEveryNEvents
or
/gate/actor/[Actor Name]/saveEveryNSeconds
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!
Best,
Cassandra
--
Cassandra Miller
PhD Candidate, Physics
Quantitative Radiomolecular Imaging and Therapy Lab
Department of Physics and Astronomy, University of British Columbia
On 2021-02-27 1:05 a.m., PRESOTTO LUCA wrote:
> [*CAUTION:* Non-UBC Email]
>
> Dear experts,
>
> 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?
>
> Best regards
>
> Luca
>
>
>
> /Rispetta l’ambiente: non stampare questa mail se non è necessario.
> Respect the environment: print this email only if necessary./
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210301/b97ddf89/attachment.html>
More information about the Gate-users
mailing list