Ignore:
Timestamp:
01/19/11 17:52:56 (13 years ago)
Author:
sdipsl
Message:
  • correct bug with TS 3D without chunck see ticket #52
  • catch return code from all nco operator except ncrcat and exit if SpaceName? is PROD. clean error code handling. Special case for cdo command. see ticket #51
    • it means that if SpaceName?=PROD all must run absolutely perfectly ; otherwise libIGCM will stop.
  • For Smooth file, first access is always true for Period=1. Get Files when SmoothMin?<CumulPeriod?<SmoothMax? and modulo [min]:[modulo:][max] is true. see ticket #44
  • Under testing : do not use unless you are willing to help testing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r373 r409  
    196196function IGCM_debug_Verif_Exit { 
    197197    if ( ${ExitFlag} ) ; then 
     198        # Plan to send an email here with IGCM_sys_SendMail 
    198199        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal" 
    199200        echo "IGCM_debug_Verif_Exit : Something wrong append." 
     
    218219    if ( ${ExitFlag} ) ; then 
    219220        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 
    225237    fi 
    226238} 
Note: See TracChangeset for help on using the changeset viewer.