-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_gefs4
executable file
·50 lines (39 loc) · 1006 Bytes
/
run_gefs4
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/gefs4.out
#BSUB -eo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs4.out
#BSUB -J gefs_4
#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' poescript4
echo "/gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/launchgefs4 ${cyc}" >> poescript4
chmod 775 poescript4
export MP_PGMMODEL=mpmd
export MP_CMDFILE=poescript4
#
# Execute the script.
echo beforelsf
mpirun -l cfp poescript4
echo pastlsf
exit