Changeset 263 for trunk/libIGCM/AA_atlas_ORCA_LIM
- Timestamp:
- 04/19/10 14:27:48 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_atlas_ORCA_LIM
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_MBG ; $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_MBG ; $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_MBG ; $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_MBG ; $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 … … 106 106 #set -vx 107 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 # 150 108 151 R_ATLAS=ATLAS/SE_${YEARS} 109 152 R_OUT_OCE=${R_SAVE}/OCE … … 161 204 162 205 # WHILE WAITING FOR A MORE GENERIC SOLUTION 163 if ( [ ${config_UserChoices_TagName} = "IPSLCM5" ] || [ ${config_UserChoices_TagName} = " ORCA2_LIM2" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2_PISCES" ] ) ; then206 if ( [ ${config_UserChoices_TagName} = "IPSLCM5" ] || [ ${config_UserChoices_TagName} = "IPSLCM5A" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2_PISCES" ] ) ; then 164 207 IGCM_sys_Get ${R_OUT_OCE}/Analyse/SE/${config_UserChoices_JobName}_SE_${YEARS}_1M_diaptr.nc ${RUN_DIR} ; 165 208 atlas -o ${RUN_DIR}/${R_ATLAS}/ZNL -d -l ${FER_ATLAS}/atlas_l_${RESOL_OCE}_znl.cfg ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_diaptr.nc ; … … 180 223 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_icemod.nc 181 224 # WHILE WAITING FOR A MORE GENERIC SOLUTION 182 if ( [ ${config_UserChoices_TagName} = "IPSLCM5" ] || [ ${config_UserChoices_TagName} = " ORCA2_LIM2" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2_PISCES" ] ) ; then225 if ( [ ${config_UserChoices_TagName} = "IPSLCM5" ] || [ ${config_UserChoices_TagName} = "IPSLCM5A" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2" ] || [ ${config_UserChoices_TagName} = "ORCA2_LIM2_PISCES" ] ) ; then 183 226 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_diaptr.nc ; 184 227 fi
Note: See TracChangeset
for help on using the changeset viewer.