Changeset 1272 for trunk/libIGCM/libIGCM_sys/libIGCM_sys_ciclad.ksh
- Timestamp:
- 11/20/15 12:30:22 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_ciclad.ksh
r1260 r1272 1216 1216 IGCM_debug_PopStack "IGCM_sys_CountJobInQueue" 1217 1217 } 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- 1224 function 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
Note: See TracChangeset
for help on using the changeset viewer.