Skip to content

how to make a time/year change in restart? #650

Discussion options

You must be logged in to vote

Hi @PengyangSong,

If I understood you correctly, you want to restart from 0001 and not 2700. Then, I would go to the restart/ directory of your parent simulation and copy the required files that new simulation needs to another directory. Eg.

mkdir restarts_0001
cp <list of restarts files with 27XX> restarts_0001
cd restarts_0001
mv <file ending with 27XX> <file ending with 0001>

You also need to set some variables in your runscript:

general:
    lresume: True                                                              # we are making a restart
    ini_parent_dir: "/path/to/your/restarts_0001 directory"
    ini_restart_dir: "${general.ini_parent_dir}"
    ini_parent_exp_id: <old-experimen…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by PengyangSong
Comment options

You must be logged in to vote
1 reply
@denizural
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants