source: flexpart.git/preprocessing/flex_extract_ecgate_V6.0/flex_ecmwf_header_template @ ba05105

10.4.1_peseiFPv9.3.1FPv9.3.1b_testingFPv9.3.2GFS_025bugfixes+enhancementsdevfp9.3.1-20161214-nc4grib2nc4_repairrelease-10release-10.4.1scaling-bugunivie
Last change on this file since ba05105 was ba05105, checked in by flexpart <>, 9 years ago

add preprocessing routines flex_extract_ecgate_V6.0

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#!/bin/ksh
2
3# On demand script for retrieving input for FLEXPART trajectory model
4# Version 6.0, September 2013
5# Maintainer Leopold Haimberger leopold.haimberger@univie.ac.at
6#
7#@ shell       = /usr/bin/ksh
8
9# NOTE: If calculation on Gaussian grid are required below, it is
10#       recommended to send the job to the ECMWF HPC facility
11# NOTE: On hpce the class should be ns or np
12# NOTE: On ecgb it should be normal
13
14
15#ON HPC (with loadleveler)
16# start with ecaccess-job-submit -queueName c1a NAME_OF_THIS_FILE  on gateway server
17# start with llsubmit NAME_OF_THIS_FILE directly on machine
18
19#@ shell       = /usr/bin/ksh
20#@ class        = ns
21#@ resources    = ConsumableCpus(1) ConsumableMemory(32000MB)
22#@ job_name     = flex_ecmwf
23#@ output       = /scratch/ms/ggg/xxx/$(job_name).$(host).$(jobid).out
24#@ error        = /scratch/ms/ggg/xxx/$(job_name).$(host).$(jobid).out
25#@ environment  = COPY_ALL
26#@ queue
27
28
29# ON ECGB:
30# start with ecaccess-job-submit -queueName ecgb NAME_OF_THIS_FILE  on gateway server
31# start with sbatch NAME_OF_THIS_FILE directly on machine
32
33#SBATCH --workdir=/scratch/ms/ggg/xxx
34#SBATCH --qos=normal
35#SBATCH --job-name=flex_ecmwf
36#SBATCH --output=flex_ecmwf.%j.out
37#SBATCH --error=flex_ecmwf.%j.out
38#SBATCH --mail-type=FAIL
39#SBATCH --time=12:00:00
40
41set -x
42
43JOBNAME=flex_ecmwf_${HOST}
44
45env
46ulimit -a
47export OMP_NUM_THREADS=1
48export MARS_MULTITARGET_STRICT_FORMAT=1
49
50#export SCRATCH=$TEMP
51export SCRATCHDIR=${SCRATCH}/${JOBNAME}_$$
52[ -z "$WSHOME" ] && WSHOME=$HOME
53
54
55mkdir $SCRATCHDIR
56cd $SCRATCHDIR
57
58LOG_FILE=$SCRATCHDIR/${JOBNAME}_$$
59exec 1>${LOG_FILE}
60
61CONTROLFILE=./CONTROL_ERA
62
63###################################
64#BEGIN: modification of config file
65###################################
66
67cat <<EOF >CONTROL_ERA
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG