Changeset 1603 for trunk/libIGCM/libIGCM_debug
- Timestamp:
- 10/25/23 14:34:02 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r1578 r1603 880 880 case ${postProcessingName} in 881 881 atlas*|monitoring*|metrics*) 882 [ ${postProcessingStopLevel} -gt 2 ] && StopAll=true ;; 882 [ ${postProcessingStopLevel} -gt 2 ] && StopAll=true 883 echo "The job is not a pack job " 884 echo "SO WE DO NOT EXIT THE JOB." 885 echo 886 date 887 ;; 883 888 create_*) 884 [ ${postProcessingStopLevel} -gt 1 ] && StopAll=true ;; 889 [ ${postProcessingStopLevel} -gt 1 ] && StopAll=true 890 echo "The job is not a pack job " 891 echo "SO WE DO NOT EXIT THE JOB." 892 echo 893 date 894 ;; 885 895 rebuild*|pack_*) 886 [ ${postProcessingStopLevel} -gt 0 ] && StopAll=true ;; 896 if [ ${postProcessingStopLevel} -gt 0 ] ; then 897 # Notify the computing job that something wrong happened and stop it. 898 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal.${Script_Post_Output}" 899 fi 900 echo " EXIT THE POST-PROCESSING JOB." 901 echo 902 IGCM_debug_CallStack 903 904 # Inform the rabbitMQ queue 905 IGCM_debug_BigBro_Finalize 906 907 # And Good Bye 908 date 909 exit 1 910 ;; 887 911 esac 888 912 # Notify the computing job that something wrong happened and stop it. 889 913 ( ${StopAll} ) && IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Fatal.${Script_Post_Output}" 890 914 891 # If SpaceName is PROD we stop when post_processing failed892 if [ X${config_UserChoices_SpaceName} = XPROD ] ; then893 echo " EXIT THE POST-PROCESSING JOB."894 echo895 IGCM_debug_CallStack896 897 # Inform the rabbitMQ queue898 IGCM_debug_BigBro_Finalize899 900 # And Good Bye901 date902 exit 1903 else904 echo "In config.card the variable SpaceName is not in PROD"905 echo " SO WE DO NOT EXIT THE JOB."906 echo907 date908 fi909 915 elif [ X${TaskType} = Xchecking ] ; then 910 916 echo "Nothing will happen for now"
Note: See TracChangeset
for help on using the changeset viewer.