Changes between Version 93 and Version 94 of Doc/Running


Ignore:
Timestamp:
11/24/22 11:13:20 (19 months ago)
Author:
jgipsl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/Running

    v93 v94  
    225225 
    226226## How to continue or restart a simulation? ## 
    227  1. If you want to continue an existing and finished simulation, change the simulation end date in the `config.card` file. Do not change the simulation start date. 
    228  1. In the `run.card` file you must:  
    229   * check that the `PeriodDateBegin` and `PeriodDateEnd` variables match with the next integration step of your simulation (e.g. if you just finished May 2000 and you want to integrate one month, set `PeriodDateBegin= 20000601` and `PeriodDateEnd= 2000630`)  
    230   * specify `PeriodState = OnQueue` 
    231  1. You must change the output file number in your job to make sure that the job doesn't fail by trying to replace an existing `Script_Output` file. By default it is `Script_Output_JobName_.0001` but you can replace it by `Script_Output_JobName_.CumulPeriod` (you will find `CumulPeriod` in `run.card`)  
    232  1. If your simulation has stopped in the middle of a month and you want to restart it, you must delete the files created during this month (pack period) in your archives (`$CCCSTOREDIR/IGCM_OUT/etc`...). You can use the scripts [wiki:Doc/CheckDebug#Unknownerror `modipsl/libIGCM/clean_PeriodLength.job` and `modipsl/libIGCM/clean_latestPackperiod.job`]. 
    233  {{{ 
    234 #!sh 
    235  cd $SUBMIT_DIR (ie modipsl/config/****/ExpDirectory) 
    236  cp ../../../libIGCM/clean_PeriodLength.job .  
    237  ./clean_PeriodLength.job   #   Answer to the questions 
    238  
    239 same for clean_latestPackperiod.job 
    240  
    241 ccc_msub Job_EXP00 or sbatch Job_EXP00 
    242 }}} 
     227 1. If you want to continue an existing and finished simulation  
     228   * change the simulation end date in the `config.card` file. Do not change the simulation start date. 
     229   * launch ../../../libIGCM/clean_PeriodLength.job from the experment folder. This script will update parmeters in run.def file such as !PeriodState. The script will also change the name of the Script file in the main job Script_Output_JobName_.0000X to correspond to the new period. 
     230   * launch the main job as before 
     231 1. If your simulation has stopped in the middle of an execution and you want to restart it, some cleaning must be done using the script clean_PeriodLength.job: 
     232   * launch ../../../libIGCM/clean_PeriodLength.job from the experment folder 
     233   * launch the main job as before 
    243234 
    244235----