Changeset 440 for trunk/libIGCM
- Timestamp:
- 04/07/11 17:12:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_sys/libIGCM_sys_cesium.ksh
r438 r440 236 236 export R_SAVE=${R_SAVE} 237 237 export SUBMIT_DIR=${SUBMIT_DIR} 238 export ExitFlag=${ExitFlag} 239 240 if ( ${ExitFlag} ) ; then 241 status=FAILED 238 242 239 243 cat << END_MAIL > job_end.mail … … 246 250 Script files and Script Outputs are available in ${SUBMIT_DIR} 247 251 END_MAIL 252 else 253 status=COMPLETED 254 cat << END_MAIL > job_end.mail 255 Dear ${LOGIN}, 256 257 Simulation ${config_UserChoices_JobName} is finished on supercomputer `hostname`. 258 Job started : ${DateBegin} 259 Job ended : ${DateEnd} 260 Output files are available in ${R_SAVE} 261 Script files and Script Outputs are available in ${SUBMIT_DIR} 262 END_MAIL 263 fi 248 264 249 265 if [ ! -z ${config_UserChoices_MailName} ] ; then 250 mailx -s "${config_UserChoices_JobName} completed" ${config_UserChoices_MailName} < job_end.mail266 mailx -s "${config_UserChoices_JobName} ${status}" ${config_UserChoices_MailName} < job_end.mail 251 267 elif [ -f ~/.forward ] ; then 252 mailx -s "${config_UserChoices_JobName} completed" $( cat ~/.forward ) < job_end.mail268 mailx -s "${config_UserChoices_JobName} ${status}" $( cat ~/.forward ) < job_end.mail 253 269 fi 254 270 sleep 10
Note: See TracChangeset
for help on using the changeset viewer.