Changeset 1478 for trunk


Ignore:
Timestamp:
03/05/19 16:30:16 (5 years ago)
Author:
mafoipsl
Message:

Consolidation of AA_pack_restart and AA_pack_debug to stop when tar failed.
Consolidation of libIGCM_debug IGCM_debug_Verif_Exit : initialisation of !postProcessingName added.

Location:
trunk/libIGCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_pack_debug

    r1468 r1478  
    271271  IGCM_debug_Print 1 "Tar ongoing" 
    272272  tar -cvf ${JobName}_${date_begin_pack}_${date_end_pack}_debug.tar --dereference --files-from ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt 
     273  # Test return code of tar 
     274  [ $? != 0 ] && IGCM_debug_Exit "tar failed" 
    273275  # Save it 
    274276  IGCM_sys_Put_Out ${JobName}_${date_begin_pack}_${date_end_pack}_debug.tar ${STORE_DEBUG} 
  • trunk/libIGCM/AA_pack_restart

    r1468 r1478  
    282282    tar -cvf ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar --dereference --files-from ${RUN_DIR}/liste_pack_${date_begin_pack}_${date_end_pack}.txt 
    283283  fi 
     284  # Test return code of tar 
     285  [ $? != 0 ] && IGCM_debug_Exit "tar failed in pack_restart job" 
    284286  # Save it 
    285287  IGCM_sys_Put_Out ${JobName}_${date_begin_pack}_${date_end_pack}_restart.tar ${STORE_RESTART} 
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r1418 r1478  
    875875    elif [ X${TaskType} = Xpost-processing ] ; then 
    876876      StopAll=false 
     877      typeset postProcessingName 
     878      postProcessingName=$( echo "${Script_Post_Output}" | gawk -F. '{print $1}' ) 
    877879      # Test if we need to stop the computing job 
    878880      case ${postProcessingName} in 
Note: See TracChangeset for help on using the changeset viewer.