Changeset 1577 for trunk/libIGCM


Ignore:
Timestamp:
02/17/23 14:23:10 (14 months ago)
Author:
aclsce
Message:

Modified condition to submit monitoring job from create_ts job.
Now, the monitoring is submitted if 2D or/and 3D (with no chunck) TS are generated.
(before, the condition was only 2D and 3D (with no chunck)).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_create_ts

    r1568 r1577  
    833833if ( [ X${TsTask} = X2D ] || [ X${TsTask} = X3D ] || [ X${TsTask} = X ] ) ; then 
    834834  # From 2D and 3D it is the last one to finish that will submit the monitoring. 
    835   if [ ! "X$( grep "IGCM_sys_RmRunDir" ${POST_DIR}/create_ts.${PeriodDateEnd}.[23]D.out 2> /dev/null )" = "X" ] ; then 
     835  if ( [ $( ls ${POST_DIR}/create_ts.${PeriodDateEnd}.[23]D.out | wc -l ) = 1 ] || [ ! "X$( grep "IGCM_sys_RmRunDir" ${POST_DIR}/create_ts.${PeriodDateEnd}.[23]D.out 2> /dev/null )" = "X" ] ) ; then 
    836836    Script_Post_Output=monitoring.${PeriodDateEnd} 
    837837    IGCM_sys_QsubPost monitoring 
    838838  fi 
    839839fi 
    840  
    841840#D- 
    842841# -------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.