Mailing List picongpu-users@hzdr.de Message #189
From: Axel Huebl <a.huebl@hzdr.de>
Subject: Re: Restart with TBG
Date: Mon, 23 Jan 2017 15:49:53 +0100
To: <picongpu-users@hzdr.de>
Dear Danila,

> Could you please confirm that using tbg one needs to create a separate
> directory for the restart?

yes, with tbg, we usually restart in a separate folder, to avoid
accidentally overwriting things in the old one.

Otherwise, just apply those options in the tbg/submit.start file (or
copy and modify it) and then submit/execute it manually, so you stay in
the same dir.


Also, you might want to change the maximum time step (-s) for the restart.

Above information can be found in
  doc/TBG_macros.cfg [1]
and our wiki [2].


Cheers,
Axel

[1]
https://github.com/ComputationalRadiationPhysics/picongpu/blob/0.2.2/doc/TBG_macros.cfg
[2]
https://github.com/ComputationalRadiationPhysics/picongpu/wiki/Restarting-a-simulation

On 23.01.2017 14:23, Khikhlukha Danila wrote:
> Dear all,
> Am I correct that to run a restart using tgb one needs to specify a new
> output directory?
> Indeed, after the first simulation finished I have just added following
> lines to the submit submit file:
> TBG_restart="--restart"
> ...
> TBG_programParams="!TBG_devices    
> \                                                                                
>
>                    !TBG_gridSize    
> \                                                                                
>
>                    !TBG_steps      
> \                                                                                
>
>                    !TBG_movingWindow
> \                                                                                
>
>                    *!TBG_restart *    
> \                                                                                
>
>                    !TBG_plugins"    
> After that I have launched the simulation with the command:
> tbg -s bash -c $SUBMIT_DIR/0001gpus.cfg -t
> $SUBMIT_DIR/bash/bash_mpirun.tpl $RUN_DIR
> where SUBMIT_DIR and RUN_DIR are kept exactly the same. The job failed
> with the message:
> "job name already in use, can't create new folder"
>
> However if for the restart I specify a different RUN_DIR (like
> $RUN_DIR_restart) and modify the restart option like
> TBG_restart="--restart --restart-directory
> <old_run_dir>/simOutput/checkpoints" then everything works just fine.
>
> Could you please confirm that using tbg one needs to create a separate
> directory for the restart?
>
> Best regards,
> Danila.

--

Axel Huebl
Phone +49 351 260 3582
https://www.hzdr.de/crp
Computational Radiation Physics
Laser Particle Acceleration Division
Helmholtz-Zentrum Dresden - Rossendorf e.V.

Bautzner Landstrasse 400, 01328 Dresden
POB 510119, D-01314 Dresden
Vorstand: Prof. Dr.Dr.h.c. R. Sauerbrey
          Prof. Dr.Dr.h.c. P. Joehnk
VR 1693 beim Amtsgericht Dresden
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster