Changeset 1280


Ignore:
Timestamp:
02/02/16 12:13:08 (8 years ago)
Author:
sdipsl
Message:
  • enhance the log message when computing job is stopped by a post processing job. The prost processing job name thjat has trigger the fatal will be written next the Fatal keyword in the run.card
Location:
trunk/libIGCM
Files:
2 edited

Legend:

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

    r1270 r1280  
    450450      echo 
    451451      IGCM_debug_Print 1 "!! Error in run.card with PeriodState : " ${run_Configuration_PeriodState} "!!" 
    452       IGCM_debug_Print 1 "Check post-processing jobs carefully by running ${libIGCM}/RunChecker.job -p ${SUBMIT_DIR}" 
     452      IGCM_debug_Print 1 "Check the overall status of your simulation by visiting this page:" 
     453      IGCM_debug_Print 1 "http://prodiguer-test-web.ipsl.fr/static/simulation.detail.html?uid=${simuid}" 
     454      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_month.job to rerun one period" 
     455      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_year.job to rerun more." 
     456      IGCM_debug_Exit 
     457    elif [ $( echo ${run_Configuration_PeriodState} | grep Fatal | wc -l ) -eq 1 ] ; then 
     458      echo 
     459      IGCM_debug_Print 1 "!! Error in run.card with PeriodState : " ${run_Configuration_PeriodState} "!!" 
     460      IGCM_debug_Print 1 "Compute jobs has been stop because at least the above mentionned post-processing jobs fails." 
     461      IGCM_debug_Print 1 "Check post-processing jobs carefully by visiting this page:" 
     462      IGCM_debug_Print 1 "http://prodiguer-test-web.ipsl.fr/static/simulation.detail.html?uid=${simuid}" 
     463      IGCM_debug_Print 1 "Please visit that page to see how to fix issues:" 
     464      IGCM_debug_Print 1 "https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/DocGmonitor" 
    453465      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_month.job to rerun one period" 
    454466      IGCM_debug_Print 1 "Then try running ${libIGCM}/clean_year.job to rerun more." 
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r1277 r1280  
    780780 
    781781        # Notify the computing job that something wrong happened. 
    782         IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal" 
     782        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal ${Script_Post_Output}" 
    783783 
    784784        # Mail notification? 
Note: See TracChangeset for help on using the changeset viewer.