Dear Ian,

I used parameter file in ~/Cactus/par. It seems this parameter is only used for the first run instead of restarting. And yes, I am using simfactory. I follow your steps to edit the parameter file in <simulation>/SIMFACTORY/par and  successfully recover my simulation.

Thank you.

Best regards,

Chia-Hui


寄件者: ian.hinder@aei.mpg.de <ian.hinder@aei.mpg.de>
寄件日期: 2018年5月23日 上午 06:10:41
收件者: 林家暉
副本: Einstein Toolkit Users
主旨: Re: [Users] restart simulation with checkpoints
 


On 22 May 2018, at 20:11, 林家暉 <r06222015@ntu.edu.tw> wrote:

Dear who it may concern,
I have tried the binary neutron star simulation (http://einsteintoolkit.org/gallery/bns/index.html), and want to finish the simulation by parts .That is , I would like to recover the simulation from checkpoints. However I fail to continue my simulation. There are two cases that I met:

  1. I have the cctk_final_time=2500 and the simulation terminate at time=2500 but the merge has not yet occur which means I need more time ,perhaps time=8000. So I want to continue my simulation from time=2500. But after I changed  to cctk_final_time=8000 in parameter file , the simulation still stops at time=2500, which means it stops just after it begins. How can I finish the complete simulation?
  2. I have test the same simulation as above but with wall_time=10 min. I have checkpoint_every=150 ,and checkpoint_on_terminate= "yes" in the parameter file. However after it finishes with the final iteration=250, the checkpoint file is not produced. Only the initial one checkpoint.chkpt.it_0.file_0.h5 exists. How can I produce a checkpoint which enable me to restart simulation? 

Hi,

Which parameter file are you editing?  If it is the one INSIDE the simulation output directory, then this will not work, because this is never read, only written.  Are you using simfactory?  If so, then I usually just edit the parameter file in <simulation>/SIMFACTORY/par then submit the next segment.

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin