-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_gefs2
executable file
·50 lines (39 loc) · 1006 Bytes
/
run_gefs2
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
41
42
43
44
45
46
47
48
49
50
#!/bin/ksh --login
#
#BSUB -oo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs2.out
#BSUB -eo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs2.out
#BSUB -J gefs_2
#BSUB -n 4
#BSUB -R span[ptile=1]
#BSUB -W 01:00
#BSUB -P GEN-T2O
#BSUB -R "affinity[core(4):distribute=balance]"
#BSUB -q "dev"
#BSUB -x
#
set +x
source /u/Alicia.Bentley/.bashrc
set -x
cd /gpfs/dell1/stmp/Alicia.Bentley/gefs
export HOLDIN=/gpfs/dell1/stmp/Alicia.Bentley
export GBexec=/gpfs/dell1/nco/ops/nwprod/util/exec
echo intoscript
year=`cut -c 1-4 holddate.txt`
month=`cut -c 5-6 holddate.txt`
day=`cut -c 7-8 holddate.txt`
hour=`cut -c 9-10 holddate.txt`
cyc=`cut -c 9-10 holddate.txt`
ymdh=${year}${month}${day}${hour}
set +x
set -x
'rm' poescript2
echo "/gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/launchgefs2 ${cyc}" >> poescript2
chmod 775 poescript2
export MP_PGMMODEL=mpmd
export MP_CMDFILE=poescript2
#
# Execute the script.
echo beforelsf
mpirun -l cfp poescript2
echo pastlsf
exit