Ignore:
Timestamp:
04/11/11 16:52:45 (13 years ago)
Author:
sdipsl
Message:
  • Continuation of [452] and cleaning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_vargas.ksh

    r438 r453  
    185185 
    186186    if ( ${ExitFlag} ) ; then 
    187         status=FAILED 
    188         cat  << END_MAIL > job_end.mail 
     187        status=failed 
     188    else 
     189        status=completed 
     190    fi 
     191    cat  << END_MAIL > job_end.mail 
    189192Dear ${LOGIN}, 
    190193 
    191   Simulation ${config_UserChoices_JobName} failed on supercomputer `hostname`. 
    192   Job started : ${PeriodDateBegin} 
    193   Job ended   : ${PeriodDateEnd} 
    194   Output files are available in ${R_SAVE} 
    195   Script files, Script Outputs and Debug files are available in ${SUBMIT_DIR} 
    196 END_MAIL 
    197     else 
    198         status=COMPLETED 
    199         cat  << END_MAIL > job_end.mail 
    200 Dear ${LOGIN}, 
    201  
    202   Simulation ${config_UserChoices_JobName} is finished on supercomputer `hostname`. 
     194  Simulation ${config_UserChoices_JobName} is ${status} on supercomputer `hostname`. 
    203195  Job started : ${DateBegin} 
    204196  Job ended   : ${DateEnd} 
    205197  Output files are available in ${R_SAVE} 
    206   Script files and Script Outputs are available in ${SUBMIT_DIR} 
     198  Script files, Script Outputs and Debug files (if necessary) are available in ${SUBMIT_DIR} 
    207199END_MAIL 
    208     fi 
    209200 
    210201    if [ ! -z ${config_UserChoices_MailName} ] ; then 
Note: See TracChangeset for help on using the changeset viewer.