| 26 | Copy the file rebuild_fromWorkdir.job from the libIGCM folder to your config folder |
| 27 | {{{ |
| 28 | cp /ccc/work/cont003/dsm/p529luy/DOFOCO.SPINUP/libIGCM/rebuild_fromWorkdir.job /ccc/work/cont003/dsm/cheny/DOFOCO.SPINUP/config/ORCHIDEE_OL/ACF/rebuild_fromWorkdir.job |
| 29 | }}} |
| 30 | |
| 31 | You will to adjust the job so it does exactly what you want most of the comments are self explaining but NOTE the following: to avoid confusion on the queue (that's how I understood it) LibIGCM starts to rebuild the last year and then goes backward in time. This implies that you have to list the start of the last time step. In the example below the year 1965 will be rebuild. |
| 32 | |
| 33 | {{{ |
| 34 | #D- Path to libIGCM |
| 35 | #D- Default : value from AA_job if any |
| 36 | # WARNING For StandAlone use : To run this script on some machine (ulam and cesium) |
| 37 | # WARNING you must check MirrorlibIGCM variable in sys library. |
| 38 | # WARNING If this variable is true, you must use libIGCM_POST path instead |
| 39 | # WARNING of your running libIGCM directory. |
| 40 | libIGCM=${libIGCM:=/ccc/work/cont003/dsm/cheny/DOFOCO.SPINUP/libIGCM} |
| 41 | |
| 42 | #-D- $hostname of the MASTER job when SUBMIT_DIR is not visible on postprocessing computer. |
| 43 | MASTER=${MASTER:=ada|curie} |
| 44 | |
| 45 | #D- Do we rebuild parallel output from archive or from ${BIGDIR} |
| 46 | #D- Default : value from AA_job if any |
| 47 | RebuildFromArchive=${RebuildFromArchive:=false} |
| 48 | |
| 49 | #D- Directory where files we need to rebuild are store |
| 50 | #D- Default : value from AA_job if any |
| 51 | #D- if RebuildFromArchive=true REBUILD_DIR=${DMFDIR}/IGCM_OUT/.../JobName/TMP |
| 52 | #D- example : /dmnfs09/cont003/p86denv/IGCM_OUT/IPSLCM5/CM5PIRC7/TMP |
| 53 | #D- if RebuildFromArchive=false REBUILD_DIR=${BIGDIR}/REBUILD/TagName/JobName/ |
| 54 | #D- example : /scratch/cont003/p86denv/REBUILD/IPSLCM5/SCAL-NEW |
| 55 | REBUILD_DIR=${REBUILD_DIR:=/ccc/scratch/cont003/dsm/p529luy/IGCM_OUT/OL2/PROD/SECSTO/ACF/REBUILD} |
| 56 | |
| 57 | #D- How many directory to rebuild we have to consider |
| 58 | #D- Default : value from AA_job if any |
| 59 | NbRebuildDir=1 |
| 60 | |
| 61 | #D- Suffix date we will use to determine which directory to rebuild |
| 62 | #D- We will rebuild NbRebuildDir before and including PeriodDateBegin |
| 63 | #D- Default : value from AA_job if any |
| 64 | LastPeriodForRebuild=${LastPeriodForRebuild:=${PeriodDateBegin:=19650101}} |
| 65 | }}} |
| 66 | |
| 67 | The original instruction can be found at http://forge.ipsl.jussieu.fr/igcmg_doc/wiki/DocGmonitor#Startorrestartpostprocessingjobs1 |