forked from NCAR/UFFDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_mpi_fv3.pbs.hera
executable file
·56 lines (47 loc) · 1.09 KB
/
run_mpi_fv3.pbs.hera
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
53
#!/bin/csh
#
# -- Request number of cores
##SBATCH --ntasks=12
#SBATCH -N 8 --ntasks-per-node=12
#
# -- Specify a maximum wallclock of 1 hours
#SBATCH --time=00:20:00
##SBATCH --time=01:00:00
#
# -- Specify under which account a job should run
#SBATCH --account=ap-fc
#
#SBATCH -q batch
#
# -- Set the name of the job, or moab will default to STDIN
#SBATCH --output=upp.log
#
#SBATCH --partition=hera
#
##SBATCH --hint=nomultithread
#
#SBATCH --mail-type=END,FAIL
#SBATCH --mail-user=kayee.wong@noaa.gov
#
# Change directory to the working directory of the job
# Use the if clause so that this script stays portable
#
#if [ x$SLURM_SUBMIT_DIR != x ]; then
# cd $SLURM_SUBMIT_DIR
#fi
echo 'Starting UPP: `date` ' > startupp
cd /scratch1/BMC/dtc/
module load intel/18.0.5.274 impi/2018.0.4 netcdf/4.7.0
module load wgrib wgrib2/2.0.8
module load grads
#set FIRST = "./run_upp"
#echo $FIRST
./run_upp
echo 'End UPP: `date` ' > endupp
mpirun -np 1 -genvall ./run_rt.pbs
#if [[ $? == 0 ]]; then
# qsub ./run_rt.pbs
#fi
#echo 'testing testing here6'
#qsub -W depend=afterok:$FIRST ./run_rt.pbs
exit