forked from tommibergman/crescendo-pp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpp_ifs_monthly_auto.job.tmpl
41 lines (34 loc) · 1.12 KB
/
pp_ifs_monthly_auto.job.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#PBS -N ifs_idid.yyyy
#PBS -q nf
#PBS -l EC_total_tasks=12
#PBS -l EC_hyperthreads=2
#PBS -W depend=afterok:<DEPENDENCY>
#PBS -l EC_billing_account=<ACCOUNT>
#PBS -l EC_memory_per_task=1gb
#PBS -j oe
#PBS -m ae
#PBS -M [email protected]
#PBS -o <TEMP>/log/pp_idid_ifs.yyyy.out
# Load the cray-snplauncher module to add the mpiexec command to $PATH
module load cray-snplauncher
# load tools
module load cdo/1.8.2
module load nco
cd $PBS_O_WORKDIR
# wait for 90 seconds, so the runscript can finnish moving data to output
sleep 90
# execute
mpiexec -n 1 ./crescendo_ifs.sh idid 1 yyyy : \
-n 1 ./crescendo_ifs.sh idid 2 yyyy : \
-n 1 ./crescendo_ifs.sh idid 3 yyyy : \
-n 1 ./crescendo_ifs.sh idid 4 yyyy : \
-n 1 ./crescendo_ifs.sh idid 5 yyyy : \
-n 1 ./crescendo_ifs.sh idid 6 yyyy : \
-n 1 ./crescendo_ifs.sh idid 7 yyyy : \
-n 1 ./crescendo_ifs.sh idid 8 yyyy : \
-n 1 ./crescendo_ifs.sh idid 9 yyyy : \
-n 1 ./crescendo_ifs.sh idid 10 yyyy : \
-n 1 ./crescendo_ifs.sh idid 11 yyyy : \
-n 1 ./crescendo_ifs.sh idid 12 yyyy
# submit next phase
qsub <TEMP>/pp_ifs+tm5_merge_copy.idid.yyyy.job