Changeset 34b247b in flex_extract.git


Ignore:
Timestamp:
Oct 12, 2018, 10:56:04 AM (14 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
7f89fb3
Parents:
efba13f
Message:

new installation

Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • run/jobscripts/job.ksh

    rca867de r34b247b  
    1717##PBS -q np
    1818##PBS -S /usr/bin/ksh
    19 ## -o /scratch/ms/spatlh00/lh0/flex_ecmwf.$PBS_JOBID.out
     19## -o /scratch/ms/at/km4a/flex_ecmwf.${PBS_JOBID}.out
    2020## job output is in .ecaccess_DO_NOT_REMOVE
    2121##PBS -j oe
     
    2626set -x
    2727export VERSION=7.1
    28 case $HOST in
     28case ${HOST} in
    2929  *ecg*)
    3030  module load python
     
    4040  module load emos
    4141  module load python
    42   export SCRATCH=$TMPDIR
     42  export SCRATCH=${TMPDIR}
    4343  export PATH=${PATH}:${HOME}/flex_extract_v7.1/source/python
    4444  ;;
    4545esac
    4646
    47 cd $SCRATCH
     47cd ${SCRATCH}
    4848mkdir -p python$$
    4949cd python$$
     
    5151export CONTROL=CONTROL
    5252
    53 cat >$CONTROL<<EOF
    54 accuracy 16
     53cat >${CONTROL}<<EOF
     54accmaxstep 12
     55acctime 06/18
     56acctype FC
     57accuracy 24
    5558addpar 186 187 188 235 139 39
    5659area
    5760basetime None
    58 controlfile CONTROL.temp
     61controlfile CONTROL_EA5.testgrid
    5962cwc 0
     63dataset None
    6064date_chunk 3
    6165debug 1
    6266destination annep@genericSftp
    6367dpdeta 1
    64 dtime 3
     68dtime 1
    6569ecfsdir ectmp:/${USER}/econdemand/
    6670ecgid at
     
    6872ectrans 1
    6973ecuid km4a
    70 end_date 20120908
    71 eta 0
     74end_date 20180108
     75eta 1
    7276etadiff 0
    7377etapar 77
     
    7579format GRIB1
    7680gateway srvx8.img.univie.ac.at
    77 gauss 1
     81gauss 0
     82gaussian
    7883grib2flexpart 0
    79 grid 5000
    80 inputdir ../../run/workspace/test
     84grid 1000
     85inputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
    8186install_target None
    8287job_template job.temp
    83 left -15000
    84 level 60
    85 levelist 40/to/60
    86 logicals gauss omega omegadiff eta etadiff dpdeta cwc wrf grib2flexpart ecstorage ectrans debug request
    87 lower 30000
     88left -5000
     89level 137
     90levelist 100/to/137
     91logicals gauss omega omegadiff eta etadiff dpdeta cwc wrf grib2flexpart ecstorage ectrans debug request public
     92lower 10000
    8893mailfail ${USER}
    8994mailops ${USER}
    9095makefile Makefile.gfortran
    91 marsclass EI
    92 maxstep 11
     96marsclass EA
     97maxstep 0
    9398number OFF
    9499omega 0
    95100omegadiff 0
    96 outputdir ../../run/workspace/test
    97 ppid 41511
    98 prefix EI
    99 queue local
    100 request 1
    101 resol 63
    102 right 45000
     101outputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
     102prefix EA
     103public 0
     104queue ecgate
     105request 2
     106resol 159
     107right 5000
    103108smooth 0
    104 start_date 20120908
    105 step 00 01 02 03 04 05 00 07 08 09 10 11 00 01 02 03 04 05 00 07 08 09 10 11
     109start_date 20180108
     110step 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    106111stream OPER
    107 time 00 00 00 00 00 00 06 00 00 00 00 00 12 12 12 12 12 12 18 12 12 12 12 12
    108 type AN FC FC FC FC FC AN FC FC FC FC FC AN FC FC FC FC FC AN FC FC FC FC FC
    109 upper 75000
     112time 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
     113type AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN
     114upper 20000
    110115wrf 0
    111116EOF
    112117
    113118
    114 submit.py --controlfile=$CONTROL --inputdir=./work --outputdir=./work 1> prot 2>&1
     119submit.py --controlfile=${CONTROL} --inputdir=./work --outputdir=./work 1> prot 2>&1
    115120
    116121if [ $? -eq 0 ] ; then
    117122  l=0
    118   for muser in `grep -i MAILOPS $CONTROL`; do
    119       if [ $l -gt 0 ] ; then
    120          mail -s flex.${HOST}.$$ $muser <prot
     123  for muser in `grep -i MAILOPS ${CONTROL}`; do
     124      if [ ${l} -gt 0 ] ; then
     125         mail -s flex.${HOST}.$$ ${muser} <prot
    121126      fi
    122       l=$(($l+1))
     127      l=$((${l}+1))
    123128  done
    124129else
    125130  l=0
    126   for muser in `grep -i MAILFAIL $CONTROL`; do
    127       if [ $l -gt 0 ] ; then
    128          mail -s "ERROR! flex.${HOST}.$$" $muser <prot
     131  for muser in `grep -i MAILFAIL ${CONTROL}`; do
     132      if [ ${l} -gt 0 ] ; then
     133         mail -s "ERROR! flex.${HOST}.$$" ${muser} <prot
    129134      fi
    130       l=$(($l+1))
     135      l=$((${l}+1))
    131136  done
    132137fi
  • run/run.sh

    r0e576fc r34b247b  
    1515#
    1616
    17 QUEUE=None
    18 START_DATE='20120908'
     17QUEUE='ecgate'
     18START_DATE='20180108'
    1919END_DATE=None
    2020DATE_CHUNK=None
     
    2323LEVELIST=None
    2424AREA=None
    25 INPUTDIR='/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace/test3'
     25INPUTDIR=''
    2626OUTPUTDIR=None
    2727FLEXPART_ROOT_SCRIPTS=None
    2828PP_ID=None
    2929JOB_TEMPLATE='job.temp'
    30 CONTROLFILE='CONTROL_EA5'
     30CONTROLFILE='CONTROL_EA5.testgrid'
    3131DEBUG=1
    3232REQUEST=2
  • setup.sh

    r25b14be r34b247b  
    2020DESTINATION='annep@genericSftp'
    2121FLEXPART_ROOT_SCRIPTS=""
    22 JOB_TEMPLATE="job.temp.o"
    23 CONTROLFILE="CONTROL.test"
     22JOB_TEMPLATE="job.template"
     23CONTROLFILE="CONTROL_EA5.testgrid"
    2424# -----------------------------------------------------------------
    2525#
  • templates/compilejob.template

    rc5074d2 r34b247b  
    2828case $${HOST} in
    2929  *ecg*)
    30   module load python
    31   module unload grib_api
     30#  module load python
     31#  module unload grib_api
    3232  module unload emos
    33   module load grib_api/1.14.5
     33#  module load grib_api/1.14.5
    3434  module load emos/437-r64
    3535  export FLEXPART_ROOT_SCRIPTS=$fp_root_scripts
     
    5454cd $${FLEXPART_ROOT_SCRIPTS}/flex_extract_v$${VERSION}   # if FLEXPART_ROOT is not set this means cd to the home directory
    5555tar -xvf $${HOME}/flex_extract_v$${VERSION}.tar
    56 cd src
     56cd source/fortran
    5757\rm *.o *.mod $fortran_program
    5858make -f $${MAKEFILE} >flexcompile 2>flexcompile
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG