Changeset 229 for trunk


Ignore:
Timestamp:
02/26/10 15:26:21 (14 years ago)
Author:
mmaipsl
Message:

Littles modifications in StandAlone? mode for post-treatment scripts.

Change libIGCM default path for StandAlone? :
Now ins_job will give libIGCM path on host for run
(add a warning for blind system that require mirroring).
In rebuild jobs :
1) change NbRebuildDir? default value to 1000

(ie "all" old rebuild that haven't been done).

2) Change name of internal 'PeriodDateBegin?' for "LastPeriodForRebuild?".

Location:
trunk/libIGCM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_se

    r222 r229  
    101101#D- Low level debug : to bypass lib test checks and stack construction 
    102102#D- Default : value from AA_job if any 
    103 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     103libIGCM=${libIGCM:=::modipsl::/libIGCM} 
     104# WARNING for StandAlone used : To run this script on some machine, 
     105# you must check MirrorlibIGCM variable in sys library. 
     106# If this variable is true, you must use libIGCM_POST path instead 
     107# of your running libIGCM directory. 
    104108 
    105109#D- Flag to determine if rebuild process has been performed asynchronously 
  • trunk/libIGCM/AA_create_ts

    r222 r229  
    101101#D- Low level debug : to bypass lib test checks and stack construction 
    102102#D- Default : value from AA_job if any 
    103 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     103libIGCM=${libIGCM:=::modipsl::/libIGCM} 
     104# WARNING for StandAlone used : To run this script on some machine, 
     105# you must check MirrorlibIGCM variable in sys library. 
     106# If this variable is true, you must use libIGCM_POST path instead 
     107# of your running libIGCM directory. 
    104108 
    105109#D- Flag to determine allready produced time series. Empty if you start from the beginning 
  • trunk/libIGCM/AA_rebuild_fromArchive

    r222 r229  
    101101#D- Low level debug : to bypass lib test checks and stack construction 
    102102#D- Default : value from AA_job if any 
    103 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     103libIGCM=${libIGCM:=::modipsl::/libIGCM} 
     104# WARNING for StandAlone used : To run this script on some machine, 
     105# you must check MirrorlibIGCM variable in sys library. 
     106# If this variable is true, you must use libIGCM_POST path instead 
     107# of your running libIGCM directory. 
    104108 
    105109#D- Directory where files we need to rebuild are store 
     
    109113#D- How many directory to rebuild we have to consider 
    110114#D- Default : value from AA_job if any 
    111 NbRebuildDir=${NbRebuildDir:=12} 
     115NbRebuildDir=${NbRebuildDir:=1000} 
    112116 
    113117#D- Suffix date we will use to determine which directory to rebuild 
    114118#D- We will rebuild NbRebuildDir before and including PeriodDateBegin 
    115119#D- Default : value from AA_job if any 
    116 PeriodDateBegin=${PeriodDateBegin:=18901201} 
     120LastPeriodForRebuild=${PeriodDateBegin:=18901201} 
    117121 
    118122#D- Name of the job to work in a standalone mode (needed for mask patch) 
     
    180184IGCM_sys_Cd ${RUN_DIR} 
    181185# 
    182 ListAllRebuildDir=$( IGCM_sys_RshArchive ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${PeriodDateBegin} ) 
     186ListAllRebuildDir=$( IGCM_sys_RshArchive ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${LastPeriodForRebuild} ) 
    183187# 
    184188 
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r222 r229  
    102102#D- Low level debug : to bypass lib test checks and stack construction 
    103103#D- Default : value from AA_job if any 
    104 libIGCM=${libIGCM:=/path/to/your/libIGCM} 
     104libIGCM=${libIGCM:=::modipsl::/libIGCM} 
     105# WARNING for StandAlone used : To run this script on some machine, 
     106# you must check MirrorlibIGCM variable in sys library. 
     107# If this variable is true, you must use libIGCM_POST path instead 
     108# of your running libIGCM directory. 
    105109 
    106110#D- Directory where files we need to rebuild are store 
     
    110114#D- How many directory to rebuild we have to consider 
    111115#D- Default : value from AA_job if any 
    112 NbRebuildDir=${NbRebuildDir:=12} 
     116NbRebuildDir=${NbRebuildDir:=1000} 
    113117 
    114118#D- Suffix date we will use to determine which directory to rebuild 
    115119#D- We will rebuild NbRebuildDir before and including PeriodDateBegin 
    116120#D- Default : value from AA_job if any 
    117 PeriodDateBegin=${PeriodDateBegin:=18901201} 
     121LastPeriodForRebuild=${PeriodDateBegin:=18901201} 
    118122 
    119123#D- Name of the job to work in a standalone mode (needed for mask patch) 
     
    182186IGCM_sys_Cd ${RUN_DIR} 
    183187# 
    184 ListAllRebuildDir=$( IGCM_sys_RshMaster ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${PeriodDateBegin} ) 
     188ListAllRebuildDir=$( IGCM_sys_RshMaster ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${LastPeriodForRebuild} ) 
    185189# 
    186190for directory in ${ListAllRebuildDir} ; do 
Note: See TracChangeset for help on using the changeset viewer.