Changeset b02a07e in flex_extract.git for templates/job.template


Ignore:
Timestamp:
Feb 17, 2019, 9:58:07 AM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
df87f0c
Parents:
61fdc35
Message:

updated temporarily unchanged files (update-index) of everchanging files for a merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • templates/job.template

    re585e1b rb02a07e  
    1717##PBS -q np
    1818##PBS -S /usr/bin/ksh
    19 ## -o /scratch/ms/$usergroup/$username/flex_ecmwf.$${PBS_JOBID}.out
     19## -o /scratch/ms/$usergroup/$username/flex_ecmwf.$$$${PBS_JOBID}.out
    2020## job output is in .ecaccess_DO_NOT_REMOVE
    2121##PBS -j oe
     
    2626set -x
    2727export VERSION=$version_number
    28 case $${HOST} in
     28case $$$${HOST} in
    2929  *ecg*)
    3030  module load python
    3131  module unload grib_api
    3232  module unload eccodes
     33  module load eccodes
    3334  module unload emos
    34   module load grib_api/1.26.1
    35   module load emos/457-r64
    36   export PATH=$${PATH}:$fp_root_path
     35  module load emos/455-r64
     36  export PATH=$$$${PATH}:$fp_root_path
    3737  ;;
    3838  *cca*)
    3939  module switch PrgEnv-cray PrgEnv-intel
    40   module load grib_api
     40  module load eccodes
    4141  module load emos
    4242  module load python
    43   export SCRATCH=$${TMPDIR}
    44   export PATH=$${PATH}:$fp_root_path
     43  export SCRATCH=$$$${TMPDIR}
     44  export PATH=$$$${PATH}:$fp_root_path
    4545  ;;
    4646esac
    4747
    48 cd $${SCRATCH}
    49 mkdir -p python$$$$
    50 cd python$$$$
     48cd $$$${SCRATCH}
     49mkdir -p python$$$$$$$$
     50cd python$$$$$$$$
    5151
    5252export CONTROL=CONTROL
    5353
    54 cat >$${CONTROL}<<EOF
     54cat >$$$${CONTROL}<<EOF
     55$$control_content
    5556EOF
    5657
    5758
    58 submit.py --controlfile=$${CONTROL} --inputdir=./work --outputdir=./work 1> prot 2>&1
     59submit.py --controlfile=$$$${CONTROL} --inputdir=./work --outputdir=./work 1> prot 2>&1
    5960
    6061if [ $? -eq 0 ] ; then
    6162  l=0
    62   for muser in `grep -i MAILOPS $${CONTROL}`; do
    63       if [ $${l} -gt 0 ] ; then
    64          mail -s flex.$${HOST}.$$$$ $${muser} <prot
     63  for muser in `grep -i MAILOPS $$$${CONTROL}`; do
     64      if [ $$$${l} -gt 0 ] ; then
     65         mail -s flex.$$$${HOST}.$$$$$$$$ $$$${muser} <prot
    6566      fi
    66       l=$(($${l}+1))
     67      l=$(($$$${l}+1))
    6768  done
    6869else
    6970  l=0
    70   for muser in `grep -i MAILFAIL $${CONTROL}`; do
    71       if [ $${l} -gt 0 ] ; then
    72          mail -s "ERROR! flex.$${HOST}.$$$$" $${muser} <prot
     71  for muser in `grep -i MAILFAIL $$$${CONTROL}`; do
     72      if [ $$$${l} -gt 0 ] ; then
     73         mail -s "ERROR! flex.$$$${HOST}.$$$$$$$$" $$$${muser} <prot
    7374      fi
    74       l=$(($${l}+1))
     75      l=$(($$$${l}+1))
    7576  done
    7677fi
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG