Changeset 437 for trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
- Timestamp:
- 04/06/11 17:16:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_default.ksh
r434 r437 214 214 fi 215 215 216 cat << END_MAIL > job_end.mail 216 if ( ${ExitFlag} ) ; then 217 status=FAILED 218 cat << END_MAIL > job_end.mail 219 Dear ${LOGIN}, 220 221 Simulation ${config_UserChoices_JobName} failed on supercomputer `hostname`. 222 Job started : ${PeriodDateBegin} 223 Job ended : ${PeriodDateEnd} 224 Output files are available in ${R_SAVE} 225 Script files, Script Outputs and Debug files are available in ${SUBMIT_DIR} 226 END_MAIL 227 else 228 status=COMPLETED 229 cat << END_MAIL > job_end.mail 217 230 Dear ${LOGIN}, 218 231 … … 223 236 Script files and Script Outputs are available in ${SUBMIT_DIR} 224 237 END_MAIL 238 fi 225 239 226 240 if [ ! -z ${config_UserChoices_MailName} ] ; then 227 mailx -s "${config_UserChoices_JobName} completed" ${config_UserChoices_MailName} < job_end.mail241 mailx -s "${config_UserChoices_JobName} ${status}" ${config_UserChoices_MailName} < job_end.mail 228 242 elif [ -f ~/.forward ] ; then 229 mailx -s "${config_UserChoices_JobName} completed" $( cat ~/.forward ) < job_end.mail243 mailx -s "${config_UserChoices_JobName} ${status}" $( cat ~/.forward ) < job_end.mail 230 244 fi 231 245
Note: See TracChangeset
for help on using the changeset viewer.