-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_gefs6
executable file
·51 lines (40 loc) · 1.03 KB
/
run_gefs6
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
#!/bin/ksh --login
#
#BSUB -oo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs6.out
#BSUB -eo /gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/gefs6.out
#BSUB -J gefs_6
#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
rm -rf /gpfs/dell1/stmp/Alicia.Bentley/gefs/*.csv
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' poescript6
echo "/gpfs/dell2/emc/verification/save/Alicia.Bentley/gefs/launchgefs6 ${cyc}" >> poescript6
chmod 775 poescript6
export MP_PGMMODEL=mpmd
export MP_CMDFILE=poescript6
#
# Execute the script.
echo beforelsf
mpirun -l cfp poescript6
echo pastlsf
exit