Skip to content
Snippets Groups Projects
Commit 82b624af authored by Anne Philipp's avatar Anne Philipp
Browse files

added missing installation template

parent 4971f632
No related branches found
No related tags found
No related merge requests found
...@@ -4,34 +4,14 @@ ...@@ -4,34 +4,14 @@
# these dirs and files shouldn't be versionized at any time in this project!!! # these dirs and files shouldn't be versionized at any time in this project!!!
*.pyc *.pyc
*.o sources/fortran/*.o
*.mod sources/fortran/*.mod
*.tar* *.tar*
/work* run/ECMWF_ENV
/src/CONVERT2 run/workspace/*
/python/ECMWF_ENV source/fortran/CONVERT2
source/python/.cache
source/pythontest/.cache
source/pythontest/.pytest_cache
# temporary ignorance of the following files! # temporary ignorance of the following files!
Content_Paper2.txt
DOCUFPEXTRACT.txt
FLEXEXTRACT_CONTENT.txt
NewDocu.odt
dokuECMWFDATA
/python/.cache/
/python/CONTROL.temp.backup
/python/SphinxDoc/
/python/assoc.txt
/python/classes.dot
/python/classes.dot.png
/python/packages.dot
/python/packages.dot.png
/python/prepare_flexpart.py.lprof
/python/pylintrc
/python/testecmwfapi.py
/pythontest/
#!/bin/ksh
# ON ECGB:
# start with ecaccess-job-submit -queueName ecgb NAME_OF_THIS_FILE on gateway server
# start with sbatch NAME_OF_THIS_FILE directly on machine
#SBATCH --workdir=/scratch/ms/spatlh00/lh0
#SBATCH --qos=normal
#SBATCH --job-name=flex_ecmwf
#SBATCH --output=flex_ecmwf.%j.out
#SBATCH --error=flex_ecmwf.%j.out
#SBATCH --mail-type=FAIL
#SBATCH --time=12:00:00
## CRAY specific batch requests
##PBS -N flex_ecmwf
##PBS -q np
##PBS -S /usr/bin/ksh
## -o /scratch/ms/spatlh00/lh0/flex_ecmwf.$PBS_JOBID.out
## job output is in .ecaccess_DO_NOT_REMOVE
##PBS -j oe
##PBS -V
##PBS -l EC_threads_per_task=24
##PBS -l EC_memory_per_task=32000MB
set -x
export VERSION=7.1
case $HOST in
*ecg*)
module load python
module unload grib_api
module unload emos
module load grib_api/1.14.5
module load emos/437-r64
export PATH=${PATH}:
;;
*cca*)
module switch PrgEnv-cray PrgEnv-intel
module load grib_api
module load emos
module load python
export SCRATCH=$TMPDIR
export PATH=${PATH}:
;;
esac
cd $SCRATCH
mkdir -p python$$
cd python$$
export CONTROL=CONTROL
cat >$CONTROL<<EOF
EOF
submit.py --controlfile=$CONTROL --inputdir=./work --outputdir=./work 1> prot 2>&1
if [ $? -eq 0 ] ; then
l=0
for muser in `grep -i MAILOPS $CONTROL`; do
if [ $l -gt 0 ] ; then
mail -s flex.${HOST}.$$ $muser <prot
fi
l=$(($l+1))
done
else
l=0
for muser in `grep -i MAILFAIL $CONTROL`; do
if [ $l -gt 0 ] ; then
mail -s "ERROR! flex.${HOST}.$$" $muser <prot
fi
l=$(($l+1))
done
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment