/[MITgcm]/MITgcm_contrib/test_scripts/engaging/test_submit_engag
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/engaging/test_submit_engag

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by jmc, Thu Aug 16 13:31:15 2018 UTC revision 1.8 by jmc, Tue Oct 22 19:03:56 2019 UTC
# Line 8  dInWeek=`date +%a` Line 8  dInWeek=`date +%a`
8    
9  if test $# = 0  if test $# = 0
10  then  then
11    TEST_LIST='o64Adm gfoTlm ifcMp2 ifcMpi'    TEST_LIST='o64Adm gfoAdm gfoTlm ifcMp2 ifcMpi'
12   #if test "x$dInWeek" = xSun ; then TEST_LIST="$TEST_LIST iad ifc oad" ; fi   #if test "x$dInWeek" = xSun ; then TEST_LIST="$TEST_LIST iad ifc oad" ; fi
13  else  else
14    TEST_LIST=$*    TEST_LIST=$*
# Line 54  module list                                            >> $LOG_FIL 2>&1 Line 54  module list                                            >> $LOG_FIL 2>&1
54    NB_SUB_JOBS=0    NB_SUB_JOBS=0
55    for i in $JOB_LIST    for i in $JOB_LIST
56    do    do
57      case $i in      sfx=`echo ${i} | sed -e 's/^.../&_/' -e 's/^o64/op64/' | tr '[:upper:]' '[:lower:]'`
       'o64Adm') sfx='op64_adm' ;;  
       'gfoTlm') sfx='gfo_tlm' ;;  
       *) sfx=`echo ${i} | sed '/Mp.$/s/Mp/_mp/'` ;;  
     esac  
58      BATCH_SCRIPT="test_engag_$sfx"      BATCH_SCRIPT="test_engag_$sfx"
59      if test -f $SUB_DIR/$BATCH_SCRIPT ; then      if test -f $SUB_DIR/$BATCH_SCRIPT ; then
60        #- job name ( $JOB ) & output-file name ( $JOB.std??? ) must match        #- job name ( $JOB ) & output-file name ( $JOB.std??? ) must match

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22