Changeset 1198
- Timestamp:
- 05/22/15 15:40:47 (9 years ago)
- Location:
- trunk/libIGCM
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_additionnal
r1192 r1198 80 80 . ${libIGCM}/libIGCM_config/libIGCM_config.ksh 81 81 #------- 82 RUN_DIR=${RUN_DIR_PATH}/ATLAS_ADD_${YEARS} 83 IGCM_sys_MkdirWork ${RUN_DIR} 84 IGCM_sys_Cd ${RUN_DIR} 82 IGCM_sys_MkdirWork ${RUN_DIR_PATH} 83 IGCM_sys_Cd ${RUN_DIR_PATH} 85 84 #------- 86 85 ( ${DEBUG_debug} ) && IGCM_debug_Check … … 92 91 #set -vx 93 92 94 #===========================================95 R_ATLAS=ATLAS/SE_${YEARS}96 R_OUT_OCE=${R_SAVE}/OCE97 98 93 # ------------------------------------------------------------------ 99 94 # Test if all was right before proceeding further 100 95 # ------------------------------------------------------------------ 101 96 IGCM_debug_Verif_Exit_Post 97 98 if [ ${StandAlone} = true ] ; then 99 CARD_DIR=${SUBMIT_DIR} 100 else 101 CARD_DIR=${RUN_DIR_PATH} 102 IGCM_sys_Get_Master ${SUBMIT_DIR}/config.card ${RUN_DIR_PATH} 103 IGCM_sys_Get_Master ${SUBMIT_DIR}/run.card ${RUN_DIR_PATH} 104 IGCM_sys_Get_Master ${SUBMIT_DIR}/COMP ${RUN_DIR_PATH} 105 IGCM_sys_Get_Master ${SUBMIT_DIR}/POST ${RUN_DIR_PATH} 106 fi 107 108 #================================== 109 # First of all 110 # 111 # Read libIGCM compatibility version in config.card 112 # Read UserChoices section 113 # Read Ensemble section 114 # Read Post section 115 # Define all netcdf output directories 116 #================================== 117 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 118 119 # ------------------------------------------------------------------ 120 # Activate BigBrother so as to supervise this job 121 # ------------------------------------------------------------------ 122 IGCM_debug_BigBro_Initialize 123 124 #================================== 125 # Then set up several directories 126 #================================== 127 R_ATLAS=ATLAS/SE_${YEARS} 128 R_OUT_OCE=${R_SAVE}/OCE 129 DIR_OUT=${DIR_OUT:=SE} 130 RUN_DIR=${RUN_DIR_PATH}/ATLAS_ADD_${YEARS} 131 IGCM_sys_MkdirArchive ${R_FIGR} 132 IGCM_sys_MkdirWork ${RUN_DIR} 133 IGCM_sys_Cd ${RUN_DIR} 102 134 103 135 # -------------------------------------------- … … 125 157 126 158 # Save files 127 IGCM_sys_Put_Dir ATLAS ${R_SAVE} 128 159 IGCM_sys_Put_Dir ATLAS ${R_FIGR} 129 160 IGCM_sys_Rm -Rf ATLAS 130 161 IGCM_sys_Rm -f SE_grid_?.nc 131 162 132 163 # DODS copy 133 IGCM_sys_TestDirArchive ${R_SAVE}/${R_ATLAS} 134 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 164 if [ X${config_Post_DodsCopy} = XTRUE ] ; then 165 IGCM_sys_TestDirArchive ${R_FIGR}/${R_ATLAS} 166 [ $? = 0 ] && IGCM_sys_Put_Dods ${R_ATLAS} 167 fi 168 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 169 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 170 171 # ------------------------------------------------------------------ 172 # Finalize BigBrother to inform that the jobs end 173 # ------------------------------------------------------------------ 174 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_atlas_LMDZ
r1192 r1198 116 116 #================================== 117 117 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 118 #119 IGCM_sys_MkdirArchive ${R_FIGR}120 118 119 # ------------------------------------------------------------------ 120 # Activate BigBrother so as to supervise this job 121 # ------------------------------------------------------------------ 122 IGCM_debug_BigBro_Initialize 123 124 #================================== 125 # Then set up several directories 126 #================================== 121 127 R_ATLAS=ATLAS/SE_${YEARS} 122 128 R_OUT_ATM=${R_SAVE}/ATM 123 129 DIR_OUT=${DIR_OUT:=SE} 124 125 130 RUN_DIR=${RUN_DIR_PATH}/ATLAS_LMDZ_${YEARS} 131 IGCM_sys_MkdirArchive ${R_FIGR} 126 132 IGCM_sys_MkdirWork ${RUN_DIR} 127 133 IGCM_sys_Cd ${RUN_DIR} … … 164 170 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 165 171 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 172 173 # ------------------------------------------------------------------ 174 # Finalize BigBrother to inform that the jobs end 175 # ------------------------------------------------------------------ 176 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_atlas_ORCA_LIM
r1192 r1198 118 118 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 119 119 120 # 121 IGCM_sys_MkdirArchive ${R_FIGR} 122 120 # ------------------------------------------------------------------ 121 # Activate BigBrother so as to supervise this job 122 # ------------------------------------------------------------------ 123 IGCM_debug_BigBro_Initialize 124 125 #================================== 126 # Then set up several directories 127 #================================== 123 128 R_ATLAS=ATLAS/SE_${YEARS} 124 129 R_OUT_OCE=${R_SAVE}/OCE 125 130 R_OUT_ICE=${R_SAVE}/ICE 126 131 DIR_OUT=${DIR_OUT:=SE} 127 128 132 RUN_DIR=${RUN_DIR_PATH}/ATLAS_ORCALIM_${YEARS} 133 IGCM_sys_MkdirArchive ${R_FIGR} 129 134 IGCM_sys_MkdirWork ${RUN_DIR} 130 135 IGCM_sys_Cd ${RUN_DIR} … … 191 196 # Save files 192 197 IGCM_sys_Put_Dir ATLAS ${R_FIGR} 193 194 198 IGCM_sys_Rm -Rf ATLAS 195 199 IGCM_sys_Rm ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_[TUVW].nc … … 208 212 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 209 213 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 214 215 # ------------------------------------------------------------------ 216 # Finalize BigBrother to inform that the jobs end 217 # ------------------------------------------------------------------ 218 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_atlas_ORCHIDEE
r1192 r1198 117 117 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 118 118 119 # 120 IGCM_sys_MkdirArchive ${R_FIGR} 119 # ------------------------------------------------------------------ 120 # Activate BigBrother so as to supervise this job 121 # ------------------------------------------------------------------ 122 IGCM_debug_BigBro_Initialize 121 123 124 #================================== 125 # Then set up several directories 126 #================================== 122 127 R_ATLAS=ATLAS/SE_${YEARS} 123 128 R_OUT_SRF=${R_SAVE}/SRF 124 129 DIR_OUT=${DIR_OUT:=SE} 125 126 130 RUN_DIR=${RUN_DIR_PATH}/ATLAS_ORCHIDEE_${YEARS} 131 IGCM_sys_MkdirArchive ${R_FIGR} 127 132 IGCM_sys_MkdirWork ${RUN_DIR} 128 133 IGCM_sys_Cd ${RUN_DIR} … … 163 168 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 164 169 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 170 171 # ------------------------------------------------------------------ 172 # Finalize BigBrother to inform that the jobs end 173 # ------------------------------------------------------------------ 174 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_atlas_PISCES
r1192 r1198 117 117 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 118 118 119 IGCM_sys_MkdirArchive ${R_FIGR} 119 # ------------------------------------------------------------------ 120 # Activate BigBrother so as to supervise this job 121 # ------------------------------------------------------------------ 122 IGCM_debug_BigBro_Initialize 120 123 124 #================================== 125 # Then set up several directories 126 #================================== 121 127 R_ATLAS=ATLAS/SE_${YEARS} 122 128 R_OUT_MBG=${R_SAVE}/MBG 123 129 DIR_OUT=${DIR_OUT:=SE} 124 125 130 RUN_DIR=${RUN_DIR_PATH}/ATLAS_PISCES_${YEARS} 131 IGCM_sys_MkdirArchive ${R_FIGR} 126 132 IGCM_sys_MkdirWork ${RUN_DIR} 127 133 IGCM_sys_Cd ${RUN_DIR} … … 170 176 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 171 177 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 178 179 # ------------------------------------------------------------------ 180 # Finalize BigBrother to inform that the jobs end 181 # ------------------------------------------------------------------ 182 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_create_multi_se
r1192 r1198 163 163 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 164 164 165 # ------------------------------------------------------------------ 166 # Activate BigBrother so as to supervise this job 167 # ------------------------------------------------------------------ 168 IGCM_debug_BigBro_Initialize 169 165 170 #================================== 166 171 # Read ListOfComponents section: … … 470 475 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 471 476 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 477 478 # ------------------------------------------------------------------ 479 # Finalize BigBrother to inform that the jobs end 480 # ------------------------------------------------------------------ 481 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_create_se
r1192 r1198 170 170 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 171 171 172 # ------------------------------------------------------------------ 173 # Activate BigBrother so as to supervise this job 174 # ------------------------------------------------------------------ 175 IGCM_debug_BigBro_Initialize 176 172 177 #================================== 173 178 # Define default value to keep compatibility with previous card: means before changes due to TGCC … … 634 639 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 635 640 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 641 642 # ------------------------------------------------------------------ 643 # Finalize BigBrother to inform that the jobs end 644 # ------------------------------------------------------------------ 645 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_create_ts
r1192 r1198 194 194 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 195 195 196 # ------------------------------------------------------------------ 197 # Activate BigBrother so as to supervise this job 198 # ------------------------------------------------------------------ 199 IGCM_debug_BigBro_Initialize 200 196 201 #================================== 197 202 # Define default value to keep compatibility with previous card: means before changes due to TGCC … … 817 822 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 818 823 824 # ------------------------------------------------------------------ 825 # Finalize BigBrother to inform that the jobs end 826 # ------------------------------------------------------------------ 827 IGCM_debug_BigBro_Finalize 828 819 829 date -
trunk/libIGCM/AA_metrics_LMDZ
r1192 r1198 160 160 IGCM_comp_modifyFile template.py experiment \'${config_UserChoices_ExperimentName}\' 161 161 IGCM_comp_modifyFile template.py realization \'${config_UserChoices_JobName}\' 162 IGCM_comp_modifyFile template.py project_id \'IPSL -${config_UserChoices_SpaceName}\'162 IGCM_comp_modifyFile template.py project_id \'IPSL\-${config_UserChoices_SpaceName}\' 163 163 IGCM_comp_modifyFile template.py ModelFreeSpace \'${config_UserChoices_LongName}\' 164 164 IGCM_comp_modifyFile template.py case_id \'SE_${YEARS}\' -
trunk/libIGCM/AA_monitoring
r1192 r1198 164 164 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 165 165 166 # ------------------------------------------------------------------ 167 # Activate BigBrother so as to supervise this job 168 # ------------------------------------------------------------------ 169 IGCM_debug_BigBro_Initialize 170 166 171 #================================== 167 172 # Read ListOfComponents section: … … 244 249 # Clean RUN_DIR_PATH (necessary for cesium and titane only) 245 250 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 251 252 # ------------------------------------------------------------------ 253 # Finalize BigBrother to inform that the jobs end 254 # ------------------------------------------------------------------ 255 IGCM_debug_BigBro_Finalize -
trunk/libIGCM/AA_pack_debug
r1197 r1198 182 182 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 183 183 184 # ------------------------------------------------------------------ 185 # Activate BigBrother so as to supervise this job 186 # ------------------------------------------------------------------ 187 IGCM_debug_BigBro_Initialize 188 189 #================================== 190 # Test and set up directories 191 #================================== 184 192 IGCM_sys_TestDirArchive ${R_SAVE} 185 193 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" … … 273 281 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 274 282 283 # ------------------------------------------------------------------ 284 # Finalize BigBrother to inform that the jobs end 285 # ------------------------------------------------------------------ 286 IGCM_debug_BigBro_Finalize 287 275 288 date -
trunk/libIGCM/AA_pack_output
r1192 r1198 159 159 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 160 160 161 # ------------------------------------------------------------------ 162 # Activate BigBrother so as to supervise this job 163 # ------------------------------------------------------------------ 164 IGCM_debug_BigBro_Initialize 165 161 166 #================================== 162 167 # Read ListOfComponents section 163 168 # to drive the loop over find 164 169 IGCM_card_DefineArrayFromSection ${CARD_DIR}/config.card ListOfComponents 165 # 170 171 #================================== 172 # Test and set up directories 173 #================================== 166 174 IGCM_sys_TestDirArchive ${R_SAVE} 167 175 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" … … 288 296 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 289 297 298 # ------------------------------------------------------------------ 299 # Finalize BigBrother to inform that the jobs end 300 # ------------------------------------------------------------------ 301 IGCM_debug_BigBro_Finalize 302 290 303 date -
trunk/libIGCM/AA_pack_restart
r1197 r1198 181 181 #================================== 182 182 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 183 # 183 184 # ------------------------------------------------------------------ 185 # Activate BigBrother so as to supervise this job 186 # ------------------------------------------------------------------ 187 IGCM_debug_BigBro_Initialize 188 189 #================================== 190 # Test and set up directories 191 #================================== 184 192 IGCM_sys_TestDirArchive ${R_SAVE} 185 193 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" … … 273 281 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 274 282 283 # ------------------------------------------------------------------ 284 # Finalize BigBrother to inform that the jobs end 285 # ------------------------------------------------------------------ 286 IGCM_debug_BigBro_Finalize 287 275 288 date -
trunk/libIGCM/AA_rebuild_fromWorkdir
r1192 r1198 193 193 IGCM_config_CommonConfiguration ${CARD_DIR}/config.card 194 194 195 # ------------------------------------------------------------------ 196 # Activate BigBrother so as to supervise this job 197 # ------------------------------------------------------------------ 198 IGCM_debug_BigBro_Initialize 199 195 200 # Directory list to work with 196 201 ListAllRebuildDir=$( IGCM_sys_RshMaster ls -d ${REBUILD_DIR}/REBUILD_* | grep -B $(( ${NbRebuildDir} -1 )) ${LastPeriodForRebuild} ) … … 219 224 IGCM_sys_RmRunDir -Rf ${RUN_DIR_PATH} 220 225 226 # ------------------------------------------------------------------ 227 # Finalize BigBrother to inform that the jobs end 228 # ------------------------------------------------------------------ 229 IGCM_debug_BigBro_Finalize 230 221 231 date
Note: See TracChangeset
for help on using the changeset viewer.