Changeset 985


Ignore:
Timestamp:
02/17/14 16:08:11 (10 years ago)
Author:
mafoipsl
Message:

Stop simulation (add Fatal in run.card) when error occurs during post-processing job submission. Ticket #172 fixed. Tested on curie.

Location:
trunk/libIGCM
Files:
2 edited

Legend:

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

    r943 r985  
    303303      echo 
    304304      IGCM_debug_Print 1 "!! Error in run.card with PeriodState : " ${run_Configuration_PeriodState} "!!" 
    305       IGCM_debug_Print 1 "Try running ${libIGCM}/clean_month.job to fix this" 
     305      IGCM_debug_Print 1 "Check post-processing jobs carefully by running ${libIGCM}/RunChecker.job -p ${SUBMIT_DIR}" 
     306      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_month.job to rerun one period" 
     307      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_year.job to rerun more." 
    306308      IGCM_debug_Exit 
    307309      IGCM_debug_Verif_Exit 
  • trunk/libIGCM/libIGCM_post/libIGCM_post.ksh

    r927 r985  
    484484    export Script_Post_Output=${Script_Post_Output} 
    485485    . ${libIGCM_POST}/libIGCM_debug/libIGCM_debug.ksh 
     486    . ${libIGCM_POST}/libIGCM_card/libIGCM_card.ksh 
    486487    . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 
    487488    IGCM_sys_MkdirWork ${POST_DIR} 
    488489    IGCM_debug_Verif_Exit_Post 
    489490    IGCM_sys_QsubPost ${script} 
     491    IGCM_debug_Verif_Exit 
    490492EOF 
    491493    # 
     
    509511      export Script_Post_Output=${Script_Post_Output} 
    510512      . ${libIGCM_POST}/libIGCM_debug/libIGCM_debug.ksh 
     513      . ${libIGCM_POST}/libIGCM_card/libIGCM_card.ksh 
    511514      . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 
    512515      IGCM_sys_MkdirWork ${POST_DIR} 
    513516      IGCM_debug_Verif_Exit_Post 
    514517      IGCM_sys_QsubPost ${script} 
     518      IGCM_debug_Verif_Exit 
    515519EOF 
    516520    # 
     
    547551#         echo "EOF"                                         >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    548552#       fi 
     553      echo "IGCM_debug_Verif_Exit                          " >> ${RUN_DIR}/REBUILD_${PeriodDateBegin}/rebuild.ksh 
    549554    else 
    550555      IGCM_sys_RshPost <<-EOF 
     
    563568        export Script_Post_Output=${Script_Post_Output} 
    564569        . ${libIGCM_POST}/libIGCM_debug/libIGCM_debug.ksh 
     570        . ${libIGCM_POST}/libIGCM_card/libIGCM_card.ksh 
    565571        . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 
    566572        IGCM_sys_MkdirWork ${POST_DIR} 
    567573        IGCM_debug_Verif_Exit_Post 
    568574        IGCM_sys_QsubPost ${script} 
     575        IGCM_debug_Verif_Exit 
    569576EOF 
    570577      export DateBegin=${SavedDateBegin} 
     
    626633      export Script_Post_Output=${Script_Post_Output} 
    627634      . ${libIGCM_POST}/libIGCM_debug/libIGCM_debug.ksh 
     635      . ${libIGCM_POST}/libIGCM_card/libIGCM_card.ksh 
    628636      . ${libIGCM_POST}/libIGCM_sys/libIGCM_sys.ksh 
    629637      IGCM_sys_MkdirWork ${POST_DIR} 
    630638      IGCM_debug_Verif_Exit_Post 
    631639      IGCM_sys_QsubPost ${script} 
     640      IGCM_debug_Verif_Exit 
    632641EOF 
    633642  fi 
Note: See TracChangeset for help on using the changeset viewer.