Changeset 1272


Ignore:
Timestamp:
11/20/15 12:30:22 (8 years ago)
Author:
mafoipsl
Message:

Add a system function IGCM_sys_atlas specially adapted on curie (bug ksh) and allowing error discovery for all systems.
Use IGCM_sys_atlas funcion in AA_atlas jobs.

Location:
trunk/libIGCM
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_additionnal

    r1206 r1272  
    143143IGCM_sys_Get ${R_OUT_OCE}/Analyse/SE/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_W.nc ${RUN_DIR}/SE_grid_W.nc 
    144144 
    145 atlas -o ${RUN_DIR}/${R_ATLAS}/ADD -p landscape=true,angle=-90,nup=1x1 ${FER_ATLAS}/atlas_p_ORCA2_add_*.cfg ${config_UserChoices_JobName} 
     145IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/ADD -p landscape=true,angle=-90,nup=1x1 ${FER_ATLAS}/atlas_p_ORCA2_add_*.cfg ${config_UserChoices_JobName} 
    146146 
    147147# IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 
  • trunk/libIGCM/AA_atlas_LMDZ

    r1206 r1272  
    145145[ ${DetectLev} = 1 ] && LMDZ=LMDZ4 || LMDZ=LMDZ3.3 
    146146# 
    147 atlas -o ${RUN_DIR}/${R_ATLAS}/ATM -l ${FER_ATLAS}/atlas_p_${LMDZ}_diag1_*.cfg ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc 
     147IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/ATM -l ${FER_ATLAS}/atlas_p_${LMDZ}_diag1_*.cfg ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_histmth.nc 
    148148 
    149149# IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 
  • trunk/libIGCM/AA_atlas_ORCA_LIM

    r1206 r1272  
    146146IGCM_sys_Get ${R_OUT_ICE}/Analyse/${DIR_OUT}/${config_UserChoices_JobName}_SE_${YEARS}_1M_icemod.nc  ${RUN_DIR} 
    147147 
    148 atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_T -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag1_[abc].cfg     ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 
    149 atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_U -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_U.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_U.nc 
    150 atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_V -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_V.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_V.nc 
    151 #atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_W -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_W.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_W.nc 
    152 atlas -o ${RUN_DIR}/${R_ATLAS}/OCE   -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_[defg].cfg     ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 
    153 atlas -o ${RUN_DIR}/${R_ATLAS}/ICE   -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}LIM_diag0_[abc].cfg  ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_icemod.nc 
     148IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_T -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag1_[abc].cfg     ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 
     149IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_U -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_U.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_U.nc 
     150IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_V -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_V.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_V.nc 
     151#IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/OCE_W -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_W.cfg         ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_W.nc 
     152IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/OCE   -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}_diag0_[defg].cfg     ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 
     153IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/ICE   -l ${FER_ATLAS}/atlas_p_${RESOL_OCE}LIM_diag0_[abc].cfg  ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_icemod.nc 
    154154 
    155155# IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 
  • trunk/libIGCM/AA_atlas_ORCHIDEE

    r1206 r1272  
    140140IGCM_sys_Get ${R_OUT_SRF}/Analyse/${DIR_OUT}/${config_UserChoices_JobName}_SE_${YEARS}_1M_sechiba_history.nc ${RUN_DIR} 
    141141 
    142 atlas -o ${RUN_DIR}/${R_ATLAS}/SRF -l ${FER_ATLAS}/atlas_p_ORCHIDEE_diag1_*.cfg \ 
     142IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/SRF -l ${FER_ATLAS}/atlas_p_ORCHIDEE_diag1_*.cfg \ 
    143143                                       ${FER_ATLAS}/atlas_p_SECHIBA_diag1_*.cfg \ 
    144144                                       ${FER_ATLAS}/atlas_p_ORCHIDEE_diag2_a.cfg  ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_sechiba_history.nc 
  • trunk/libIGCM/AA_atlas_PISCES

    r1206 r1272  
    141141IGCM_sys_Get ${R_OUT_MBG}/Analyse/${DIR_OUT}/${config_UserChoices_JobName}_SE_${YEARS}_1M_diad_T.nc  ${RUN_DIR} 
    142142 
    143 atlas -o ${RUN_DIR}/${R_ATLAS}/MBG_T -l ${FER_ATLAS}/atlas_p_PISCES_diag1_*.cfg  \ 
     143IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/MBG_T -l ${FER_ATLAS}/atlas_p_PISCES_diag1_*.cfg  \ 
    144144                                        ${FER_ATLAS}/atlas_p_PISCES_diag0_a.cfg  ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_ptrc_T.nc 
    145 atlas -o ${RUN_DIR}/${R_ATLAS}/MBG_F -l ${FER_ATLAS}/atlas_p_PISCES_diag2_a.cfg  \ 
     145IGCM_sys_atlas -o ${RUN_DIR}/${R_ATLAS}/MBG_F -l ${FER_ATLAS}/atlas_p_PISCES_diag2_a.cfg  \ 
    146146                                        ${FER_ATLAS}/atlas_p_PISCES_diag0_b.cfg  ${RUN_DIR}/${config_UserChoices_JobName}_SE_${YEARS}_1M_diad_T.nc 
    147147 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ada.ksh

    r1258 r1272  
    12561256  IGCM_debug_PopStack "IGCM_sys_ListJobInQueue" 
    12571257} 
     1258 
     1259#D-#================================================== 
     1260#D-function IGCM_sys_atlas 
     1261#D-* Purpose: encapsulate atlas call so as to manage error code and curie specificity 
     1262#D-* Examples: 
     1263#D- 
     1264function IGCM_sys_atlas { 
     1265  IGCM_debug_PushStack "IGCM_sys_atlas" $@ 
     1266  if ( $DEBUG_sys ) ; then 
     1267    echo "IGCM_sys_atlas :" $@ 
     1268  fi 
     1269 
     1270  typeset status 
     1271 
     1272  \atlas $@ > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     1273  status=$? 
     1274  if [ ${status} -gt 0 ] ; then 
     1275    echo "IGCM_sys_atlas : error code ${status}" 
     1276    cat ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1277    \rm ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1278    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1279    return 1 
     1280  else 
     1281    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1282    return 0 
     1283  fi 
     1284 
     1285  IGCM_debug_PopStack "IGCM_sys_atlas" 
     1286} 
     1287 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_ciclad.ksh

    r1260 r1272  
    12161216  IGCM_debug_PopStack "IGCM_sys_CountJobInQueue" 
    12171217} 
     1218 
     1219#D-#================================================== 
     1220#D-function IGCM_sys_atlas 
     1221#D-* Purpose: encapsulate atlas call so as to manage error code and curie specificity 
     1222#D-* Examples: 
     1223#D- 
     1224function IGCM_sys_atlas { 
     1225  IGCM_debug_PushStack "IGCM_sys_atlas" $@ 
     1226  if ( $DEBUG_sys ) ; then 
     1227    echo "IGCM_sys_atlas :" $@ 
     1228  fi 
     1229 
     1230  typeset status 
     1231 
     1232  \atlas $@ > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     1233  status=$? 
     1234  if [ ${status} -gt 0 ] ; then 
     1235    echo "IGCM_sys_atlas : error code ${status}" 
     1236    cat ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1237    \rm ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1238    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1239    return 1 
     1240  else 
     1241    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1242    return 0 
     1243  fi 
     1244 
     1245  IGCM_debug_PopStack "IGCM_sys_atlas" 
     1246} 
     1247 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_curie.ksh

    r1256 r1272  
    16401640  IGCM_debug_PopStack "IGCM_sys_ListJobInQueue" 
    16411641} 
     1642 
     1643#D-#================================================== 
     1644#D-function IGCM_sys_atlas 
     1645#D-* Purpose: encapsulate atlas call so as to manage error code and curie specificity 
     1646#D-* Examples: 
     1647#D- 
     1648function IGCM_sys_atlas { 
     1649  IGCM_debug_PushStack "IGCM_sys_atlas" $@ 
     1650  if ( $DEBUG_sys ) ; then 
     1651    echo "IGCM_sys_atlas :" $@ 
     1652  fi 
     1653 
     1654  typeset status 
     1655 
     1656  \ccc_mprun atlas $@ > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     1657  status=$? 
     1658  if [ ${status} -gt 0 ] ; then 
     1659    echo "IGCM_sys_atlas : error code ${status}" 
     1660    cat ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1661    \rm ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1662    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1663    return 1 
     1664  else 
     1665    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1666    return 0 
     1667  fi 
     1668 
     1669  IGCM_debug_PopStack "IGCM_sys_atlas" 
     1670} 
     1671 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh

    r1244 r1272  
    11531153  IGCM_debug_PopStack "IGCM_sys_CountJobInQueue" 
    11541154} 
     1155 
     1156#D-#================================================== 
     1157#D-function IGCM_sys_atlas 
     1158#D-* Purpose: encapsulate atlas call so as to manage error code and curie specificity 
     1159#D-* Examples: 
     1160#D- 
     1161function IGCM_sys_atlas { 
     1162  IGCM_debug_PushStack "IGCM_sys_atlas" $@ 
     1163  if ( $DEBUG_sys ) ; then 
     1164    echo "IGCM_sys_atlas :" $@ 
     1165  fi 
     1166 
     1167  typeset status 
     1168 
     1169  \atlas $@ > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     1170  status=$? 
     1171  if [ ${status} -gt 0 ] ; then 
     1172    echo "IGCM_sys_atlas : error code ${status}" 
     1173    cat ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1174    \rm ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1175    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1176    return 1 
     1177  else 
     1178    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1179    return 0 
     1180  fi 
     1181 
     1182  IGCM_debug_PopStack "IGCM_sys_atlas" 
     1183} 
     1184 
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_obelix.ksh

    r1260 r1272  
    11901190  IGCM_debug_PopStack "IGCM_sys_CountJobInQueue" 
    11911191} 
     1192 
     1193#D-#================================================== 
     1194#D-function IGCM_sys_atlas 
     1195#D-* Purpose: encapsulate atlas call so as to manage error code and curie specificity 
     1196#D-* Examples: 
     1197#D- 
     1198function IGCM_sys_atlas { 
     1199  IGCM_debug_PushStack "IGCM_sys_atlas" $@ 
     1200  if ( $DEBUG_sys ) ; then 
     1201    echo "IGCM_sys_atlas :" $@ 
     1202  fi 
     1203 
     1204  typeset status 
     1205 
     1206  \atlas $@ > ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 2>&1 
     1207  status=$? 
     1208  if [ ${status} -gt 0 ] ; then 
     1209    echo "IGCM_sys_atlas : error code ${status}" 
     1210    cat ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1211    \rm ${OUTCOMMAND_PATH}/out_command_${LOGIN}.$$ 
     1212    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1213    return 1 
     1214  else 
     1215    IGCM_debug_PopStack "IGCM_sys_atlas" 
     1216    return 0 
     1217  fi 
     1218 
     1219  IGCM_debug_PopStack "IGCM_sys_atlas" 
     1220} 
     1221 
Note: See TracChangeset for help on using the changeset viewer.