Changeset 263 for trunk/libIGCM/AA_atlas_ORCHIDEE
- Timestamp:
- 04/19/10 14:27:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_atlas_ORCHIDEE
r257 r263 22 22 #-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 23 23 #-Q- sx8brodie # @ notification = error 24 #-Q- sx8brodie # @ environment = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER 24 #-Q- sx8brodie # @ environment = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER ; $libIGCM_SX 25 25 #-Q- sx8brodie # @ queue 26 26 #-Q- aix6 #!/bin/ksh … … 38 38 #-Q- aix6 # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.) 39 39 #-Q- aix6 # @ notification = error 40 #-Q- aix6 # @ environment = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER 40 #-Q- aix6 # @ environment = $POST_DIR ; $SUBMIT_DIR ; $libIGCM ; $R_INIT ; $R_BC ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF ; $R_SAVE ; $config_UserChoices_JobName ; $config_UserChoices_TagName ; $YEARS ; $MASTER ; $libIGCM_SX 41 41 #-Q- aix6 # @ queue 42 42 #-Q- sx8mercure #!/bin/ksh … … 91 91 #-Q- aix6 export OMP_NUM_THREADS=1 92 92 93 #D- Low level debug : to bypass lib test checks and stack construction94 #D- Default : value from AA_job if any95 DEBUG_debug=${DEBUG_debug:=false}96 97 if [ ${DEBUG_debug} = true ] ; then98 echo $RUN_DIR_PATH99 MYWORK=$(echo $HOME | sed -e "s|home|scratchdir|")100 RUN_DIR_PATH=${MYWORK}/IGCM_OUT/${config_UserChoices_TagName}/${config_UserChoices_JobName}/MO2SE.${an_fin}101 fi102 103 93 ######################################################################## 104 94 … … 115 105 116 106 #set -vx 107 108 IGCM_sys_MkdirWork ${RUN_DIR_PATH} 109 IGCM_sys_Cd ${RUN_DIR_PATH} 110 111 if [ ${StandAlone} = true ] ; then 112 CARD_DIR=${SUBMIT_DIR} 113 else 114 CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 115 IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 116 fi 117 # 118 # First of all 119 # 120 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 121 typeset option 122 for option in ${config_UserChoices[*]} ; do 123 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 124 done 125 # 126 echo 127 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 128 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 129 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 130 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 131 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 132 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 133 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 134 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 135 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 136 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 137 echo 138 139 #================================== 140 #R_SAVE : Job output directory 141 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 142 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 143 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 144 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 145 else 146 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 147 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 148 fi 149 # 117 150 118 151 R_ATLAS=ATLAS/SE_${YEARS}
Note: See TracChangeset
for help on using the changeset viewer.