Changeset 263 for trunk/libIGCM
- Timestamp:
- 04/19/10 14:27:48 (14 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_atlas_LMDZ
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 … … 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 # 127 echo 128 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 129 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 130 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 131 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 132 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 133 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 134 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 135 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 136 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 137 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 138 echo 139 140 #================================== 141 #R_SAVE : Job output directory 142 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 143 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 144 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 145 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 146 else 147 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 148 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 149 fi 150 # 151 108 152 R_ATLAS=ATLAS/SE_${YEARS} 109 153 R_OUT_ATM=${R_SAVE}/ATM -
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 -
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} -
trunk/libIGCM/AA_atlas_PISCES
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 … … 94 94 #set -vx 95 95 96 IGCM_sys_MkdirWork ${RUN_DIR_PATH} 97 IGCM_sys_Cd ${RUN_DIR_PATH} 98 99 if [ ${StandAlone} = true ] ; then 100 CARD_DIR=${SUBMIT_DIR} 101 else 102 CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} ) 103 IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH} 104 fi 105 # 106 # First of all 107 # 108 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card UserChoices 109 typeset option 110 for option in ${config_UserChoices[*]} ; do 111 IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option} 112 done 113 114 # 115 echo 116 IGCM_debug_Print 1 "DefineArrayFromOption : config_UserChoices" 117 IGCM_debug_PrintVariables 3 config_UserChoices_JobName 118 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 119 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 120 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 121 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 122 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 123 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin 124 IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd 125 IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength 126 echo 127 128 #================================== 129 #R_SAVE : Job output directory 130 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 131 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 132 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 133 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 134 else 135 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 136 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 137 fi 138 # 139 96 140 R_ATLAS=ATLAS/SE_${YEARS} 97 141 R_OUT_MBG=${R_SAVE}/MBG -
trunk/libIGCM/AA_create_se
r257 r263 186 186 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 187 187 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 188 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 189 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 188 190 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 189 191 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin … … 193 195 194 196 #================================== 195 196 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 197 #R_SAVE : Job output directory 198 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 199 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 200 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 201 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 202 else 203 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 204 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 205 fi 197 206 # 198 207 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents … … 559 568 IGCM_sys_QsubPost additionnal ; 560 569 # 561 elif [ ${config_UserChoices_TagName} = "IPSLCM5" ] ; then 570 elif [ ${config_UserChoices_TagName} = "IPSLCM5" ] || \ 571 [ ${config_UserChoices_TagName} = "IPSLCM5A" ] ; then 562 572 IGCM_sys_QsubPost atlas_ORCHIDEE ; 563 573 IGCM_sys_QsubPost atlas_LMDZ ; -
trunk/libIGCM/AA_create_ts
r257 r263 204 204 IGCM_debug_PrintVariables 3 config_UserChoices_LongName 205 205 IGCM_debug_PrintVariables 3 config_UserChoices_TagName 206 IGCM_debug_PrintVariables 3 config_UserChoices_SpaceName 207 IGCM_debug_PrintVariables 3 config_UserChoices_ExperimentName 206 208 IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType 207 209 IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin … … 211 213 212 214 #================================== 213 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 215 #R_SAVE : Job output directory 216 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 217 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 218 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 219 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 220 else 221 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 222 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 223 fi 214 224 # 215 225 # Determine component to take care of depending on kind of task create_ts will perform -
trunk/libIGCM/AA_monitoring
r257 r263 128 128 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 129 129 130 # 131 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 132 130 #================================== 131 #R_SAVE : Job output directory 132 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 133 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 134 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 135 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 136 else 137 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 138 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 139 fi 133 140 # 134 141 IGCM_sys_TestDirArchive ${R_SAVE}/MONITORING -
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r230 r263 161 161 #==================================================== 162 162 #R_SAVE : Job output directory 163 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 163 if ( [ ! X${config_UserChoices_SpaceName} = X ] && [ ! X${config_UserChoices_ExperimentName} = X ] ) ; then 164 FreeName=$( echo ${config_UserChoices_JobName} | sed 's/.*_//' ) 165 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 166 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_SpaceName}/${config_UserChoices_ExperimentName}/${FreeName} 167 else 168 R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName} 169 R_DODS=${config_UserChoices_TagName}/${config_UserChoices_JobName} 170 fi 171 echo MAF $R_SAVE $R_DODS 164 172 165 173 if [ ! -f ${SUBMIT_DIR}/run.card ]; then -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_cesium.ksh
r228 r263 1125 1125 # 1126 1126 cd ${R_SAVE} 1127 dods_rm public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName}/${1} > /dev/null 2>&1 1128 #/bin/chmod -R u+w ${R_SAVE}/${1} 1129 dods_cp ${1} public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName} > /dev/null 2>&1 1130 #/bin/chmod -R +rX ${R_SAVE}/${1} 1131 #/bin/chmod -R a+rX /dmnfs/cont003/dods/public/${LOGIN}/${config_UserChoices_TagName} 1132 #RET=$? 1127 dods_rm public/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 1128 dods_cp ${1} public/${LOGIN}/${R_DODS} > /dev/null 2>&1 1133 1129 RET=0 1134 1130 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercure.ksh
r261 r263 942 942 # 943 943 cd ${R_SAVE} 944 dods_rm public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName}/${1} > /dev/null 2>&1 945 #/bin/chmod -R u+w ${R_SAVE}/${1} 946 dods_cp ${1} public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName} > /dev/null 2>&1 947 #/bin/chmod -R +rX ${R_SAVE}/${1} 948 #/bin/chmod -R a+rX /dmnfs/cont003/dods/public/${LOGIN}/${config_UserChoices_TagName} 949 #RET=$? 944 dods_rm public/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 945 dods_cp ${1} public/${LOGIN}/${R_DODS} > /dev/null 2>&1 950 946 RET=0 951 947 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercureTX.ksh
r228 r263 947 947 # 948 948 cd ${R_SAVE} 949 dods_rm public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName}/${1} > /dev/null 2>&1 950 #/bin/chmod -R u+w ${R_SAVE}/${1} 951 dods_cp ${1} public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName} > /dev/null 2>&1 952 #/bin/chmod -R +rX ${R_SAVE}/${1} 953 #/bin/chmod -R a+rX /dmnfs/cont003/dods/public/${LOGIN}/${config_UserChoices_TagName} 954 #RET=$? 949 dods_rm public/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 950 dods_cp ${1} public/${LOGIN}/${R_DODS} > /dev/null 2>&1 955 951 RET=0 956 952 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_platine.ksh
r226 r263 1072 1072 # 1073 1073 cd ${R_SAVE} 1074 dods_rm public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName}/${1} > /dev/null 2>&1 1075 #/bin/chmod -R u+w ${R_SAVE}/${1} 1076 dods_cp ${1} public/${LOGIN}/${config_UserChoices_TagName}/${config_UserChoices_JobName} > /dev/null 2>&1 1077 #/bin/chmod -R +rX ${R_SAVE}/${1} 1078 #/bin/chmod -R a+rX /dmnfs/cont003/dods/public/${LOGIN}/${config_UserChoices_TagName} 1079 #RET=$? 1074 dods_rm public/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 1075 dods_cp ${1} public/${LOGIN}/${R_DODS} > /dev/null 2>&1 1080 1076 RET=0 1081 1077 -
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ulam.ksh
r257 r263 949 949 rsh gaya exec /bin/ksh <<EOF 950 950 cd ${R_SAVE} 951 /usr/local/bin/dods_rm DODS/pub/${LOGIN}/${ config_UserChoices_TagName}/${config_UserChoices_JobName}/${1} > /dev/null 2>&1952 / sbin/chmod -R u+w ${R_SAVE}/${1}953 /usr/local/bin/dods_cp ${1} DODS/pub/${LOGIN}/${ config_UserChoices_TagName}/${config_UserChoices_JobName} > /dev/null 2>&1954 / sbin/chmod -R +rX ${R_SAVE}/${1}955 / sbin/chmod -R u+w ${R_SAVE}/${1}951 /usr/local/bin/dods_rm DODS/pub/${LOGIN}/${R_DODS}/${1} > /dev/null 2>&1 952 /bin/chmod -R u+w ${R_SAVE}/${1} 953 /usr/local/bin/dods_cp ${1} DODS/pub/${LOGIN}/${R_DODS} > /dev/null 2>&1 954 /bin/chmod -R +rX ${R_SAVE}/${1} 955 /bin/chmod -R u+w ${R_SAVE}/${1} 956 956 EOF 957 957 RET=$?
Note: See TracChangeset
for help on using the changeset viewer.