-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_gefs
executable file
·52 lines (41 loc) · 1.13 KB
/
run_gefs
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
51
52
#!/bin/ksh --login
#
#BSUB -oo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs1.out
#BSUB -eo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs1.out
#BSUB -J gefs_1
#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' poescript1
echo "/gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/launchgefs ${cyc}" >> poescript1
chmod 775 poescript1
export MP_PGMMODEL=mpmd
export MP_CMDFILE=poescript1
#
# Execute the script.
echo beforelsf
mpirun -l cfp poescript1
echo pastlsf
bsub < /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/run_ftp_gefs1
bsub < /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/run_ftp_gefs
exit