Ignore:
Timestamp:
10/23/14 18:16:21 (10 years ago)
Author:
sdipsl
Message:
  • clean up environment variable list flowing through jobs
  • Some addons to this list to be able to save stack files in /Out
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_rebuild_fromWorkdir

    r1070 r1112  
    3030#-Q- ada # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 
    3131#-Q- ada # @ notification = error 
    32 #-Q- ada # @ environment  = $DEBUG_debug ; $BigBrother ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
     32#-Q- ada # @ environment  = $DEBUG_debug ; $BigBrother ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $POST_DIR ; $Script_Post_Output ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_MBG ; $RESOL_SRF ; $RESOL_SBG ; $MASTER 
    3333#-Q- ada # @ queue 
    3434#-Q- lxiv8 ###################### 
     
    163163# ------------------------------------------------------------------ 
    164164IGCM_debug_Verif_Exit_Post 
     165 
     166if [ ${StandAlone} = true ] ; then 
     167  CARD_DIR=${SUBMIT_DIR} 
     168else 
     169  CARD_DIR=${RUN_DIR} 
     170  IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 
     171  IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card    ${RUN_DIR_PATH} 
     172  IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP        ${RUN_DIR_PATH} 
     173  IGCM_sys_Get_Master ${SUBMIT_DIR}/POST        ${RUN_DIR_PATH} 
     174fi 
     175 
     176#================================== 
     177# First of all 
    165178# 
     179# Read libIGCM compatibility version in config.card 
     180# Read UserChoices section 
     181# Read Ensemble section 
     182# Read Post section 
     183# Define all netcdf output directories 
     184#================================== 
     185IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 
     186 
     187# Directory list to work with 
    166188ListAllRebuildDir=$( IGCM_sys_RshMaster ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${LastPeriodForRebuild} ) 
    167 # 
    168189 
    169190for directory in ${ListAllRebuildDir} ; do 
Note: See TracChangeset for help on using the changeset viewer.