Changeset 409 for trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
- Timestamp:
- 01/19/11 17:52:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r373 r409 196 196 function IGCM_debug_Verif_Exit { 197 197 if ( ${ExitFlag} ) ; then 198 # Plan to send an email here with IGCM_sys_SendMail 198 199 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal" 199 200 echo "IGCM_debug_Verif_Exit : Something wrong append." … … 218 219 if ( ${ExitFlag} ) ; then 219 220 echo "IGCM_debug_Verif_Exit_Post : Something wrong append." 220 #echo " EXIT THE JOB." 221 echo " BUT WE DO NOT EXIT THE JOB." 222 echo 223 date 224 #exit 1 221 # If SpaceName is PROD then we stop if post_processing fails 222 # Plan to send an email here with IGCM_sys_SendMail 223 if [ X${config_UserChoices_SpaceName} = XPROD ] ; then 224 echo " EXIT THE JOB." 225 echo 226 if ( $DEBUG_debug ) ; then 227 IGCM_sys_Cp stack ${SUBMIT_DIR}/stack_error 228 echo 229 fi 230 date 231 exit 1 232 else 233 echo " BUT WE DO NOT EXIT THE JOB." 234 echo 235 date 236 fi 225 237 fi 226 238 }
Note: See TracChangeset
for help on using the changeset viewer.