Changeset 1198 for trunk/libIGCM/AA_additionnal
- Timestamp:
- 05/22/15 15:40:47 (9 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.