6 |
today=`date +%Y%m%d` |
today=`date +%Y%m%d` |
7 |
dInWeek=`date +%a` |
dInWeek=`date +%a` |
8 |
|
|
9 |
|
#- select type of BATCH_SCRIPT to submit: |
10 |
|
typ='' |
11 |
|
if [ $# -ge 1 ] ; then |
12 |
|
case $1 in |
13 |
|
'c6'|'c7') typ=".$1" ; shift ;; |
14 |
|
esac |
15 |
|
fi |
16 |
|
|
17 |
if test $# = 0 |
if test $# = 0 |
18 |
then |
then |
19 |
TEST_LIST='o64Adm gfoAdm gfoTlm ifcMp2 ifcMpi' |
TEST_LIST='o64Adm gfoAdm gfoTlm ifcMp2 ifcMpi' |
63 |
for i in $JOB_LIST |
for i in $JOB_LIST |
64 |
do |
do |
65 |
sfx=`echo ${i} | sed -e 's/^.../&_/' -e 's/^o64/op64/' | tr '[:upper:]' '[:lower:]'` |
sfx=`echo ${i} | sed -e 's/^.../&_/' -e 's/^o64/op64/' | tr '[:upper:]' '[:lower:]'` |
66 |
BATCH_SCRIPT="test_engag_$sfx" |
BATCH_SCRIPT="test_engag_${sfx}${typ}" |
67 |
if test -f $SUB_DIR/$BATCH_SCRIPT ; then |
if test -f $SUB_DIR/$BATCH_SCRIPT ; then |
68 |
#- job name ( $JOB ) & output-file name ( $JOB.std??? ) must match |
#- job name ( $JOB ) & output-file name ( $JOB.std??? ) must match |
69 |
# definition within $BATCH_SCRIPT slurm script |
# definition within $BATCH_SCRIPT slurm script |