From 40408cbbfdfc9bfcb61e0b037979bd6886299c66 Mon Sep 17 00:00:00 2001
From: Anne Philipp <anne.philipp@univie.ac.at>
Date: Fri, 12 Oct 2018 15:22:45 +0200
Subject: [PATCH] recompile

---
 run/jobscripts/job.ksh                 | 44 +++++++++++++-------------
 run/run.sh                             |  4 +--
 source/fortran/Makefile.local.gfortran |  9 ++++--
 3 files changed, 31 insertions(+), 26 deletions(-)

diff --git a/run/jobscripts/job.ksh b/run/jobscripts/job.ksh
index dbe90c8..ae7e6d0 100644
--- a/run/jobscripts/job.ksh
+++ b/run/jobscripts/job.ksh
@@ -51,27 +51,27 @@ cd python$$
 export CONTROL=CONTROL
 
 cat >${CONTROL}<<EOF
-accmaxstep 12
-acctime 06/18
+accmaxstep 24
+acctime 18
 acctype FC
 accuracy 24
-addpar 186 187 188 235 139 39 
+addpar 27 28 173 186 187 188 235 139 39 
 area 
 basetime None
-controlfile CONTROL_EA5.testgrid
-cwc 0
+controlfile CONTROL_CERA.testgrid
+cwc 1
 dataset None
 date_chunk 3
 debug 1
 destination annep@genericSftp
 dpdeta 1
-dtime 1
+dtime 3
 ecfsdir ectmp:/${USER}/econdemand/
 ecgid at
 ecstorage 0
 ectrans 1
 ecuid km4a
-end_date 20180108
+end_date 20090108
 eta 1
 etadiff 0
 etapar 77
@@ -81,37 +81,37 @@ gateway srvx8.img.univie.ac.at
 gauss 0
 gaussian 
 grib2flexpart 0
-grid 1000
+grid 2000
 inputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
 install_target None
 job_template job.temp
-left -5000
-level 137
-levelist 100/to/137
+left -20000
+level 91
+levelist 1/to/91
 logicals gauss omega omegadiff eta etadiff dpdeta cwc wrf grib2flexpart ecstorage ectrans debug request public 
-lower 10000
+lower 40000
 mailfail ${USER} 
 mailops ${USER} 
 makefile Makefile.gfortran
-marsclass EA
+marsclass EP
 maxstep 0
 number OFF
 omega 0
 omegadiff 0
 outputdir /raid60/nas/tmc/Anne/Interpolation/flexextract/flex_extract_v7.1/run/workspace
-prefix EA
+prefix CE
 public 0
 queue ecgate
 request 2
-resol 159
-right 5000
+resol 106
+right 60000
 smooth 0
-start_date 20180108
-step 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
-stream OPER
-time 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 
-type AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN 
-upper 20000
+start_date 20090108
+step 00 00 00 00 00 00 00 00 
+stream ENDA
+time 00 03 06 09 12 15 18 21 
+type AN AN AN AN AN AN AN AN 
+upper 60000
 wrf 0
 EOF
 
diff --git a/run/run.sh b/run/run.sh
index 045b343..1eab1a5 100755
--- a/run/run.sh
+++ b/run/run.sh
@@ -15,7 +15,7 @@
 #
 
 QUEUE='ecgate'
-START_DATE='20180108'
+START_DATE='20090108'
 END_DATE=None
 DATE_CHUNK=None
 BASETIME=None
@@ -27,7 +27,7 @@ OUTPUTDIR=None
 FLEXPART_ROOT_SCRIPTS=None 
 PP_ID=None
 JOB_TEMPLATE='job.temp' 
-CONTROLFILE='CONTROL_EA5.testgrid' 
+CONTROLFILE='CONTROL_CERA.testgrid' 
 DEBUG=1 
 REQUEST=2
 PUBLIC=0
diff --git a/source/fortran/Makefile.local.gfortran b/source/fortran/Makefile.local.gfortran
index 3847d57..95486be 100644
--- a/source/fortran/Makefile.local.gfortran
+++ b/source/fortran/Makefile.local.gfortran
@@ -11,8 +11,13 @@
            .s .s~ .sh .sh~ .h .h~ .C .C~ .a
 
 
-GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib_api-1.14.3//include
-GRIB_API_LIB= -L/usr/local/gcc-4.9.3/grib_api-1.14.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
+#GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib_api-1.14.3//include
+#GRIB_API_LIB= -L/usr/local/gcc-4.9.3/grib_api-1.14.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
+
+GRIB_API_INCLUDE_DIR=/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/include
+GRIB_API_LIB=-L/home/srvx1/tmc/TestEnv/Libraries/eccodes-2.6.0_ifort/lib -Bstatic -leccodes_f90  -leccodes -Bdynamic -lm -ljasper -openmp
+
+
 EMOSLIB=-lemosR64
 
 OPT	= -g -O3 -fopenmp
-- 
GitLab