Skip to content

Commit 4d350e4

Browse files
committed
Add sample batch script for WCOSS2 (c/o Zizang)
1 parent 986fb67 commit 4d350e4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
###Sample run script from Zizang Y. (Aug 2023)
2+
#PBS -N 0hrrr_newCode_nfcast_t12z
3+
#PBS -A ESTOFS-DEV
4+
#PBS -q dev
5+
6+
#PBS -V
7+
8+
#PBS -l place=vscatter:excl,select=30:ncpus=128:mpiprocs=120:ompthreads=1
9+
10+
#PBS -l walltime=3:00:00
11+
12+
export NCPU_PBS=4472
13+
14+
# ----------------option flags (WCOSS2/NCO/Pete)
15+
# set up MPI connections and buffers at start of run - helps efficiency of MPI later in run
16+
export MPICH_OFI_STARTUP_CONNECT=1
17+
# pace MPI_Bcast messaging when reading and distributing initial conditions - prevents the Bcast hangs
18+
export MPICH_COLL_SYNC=MPI_Bcast
19+
# turn off MPI_Reduce on node optimization - prevent MPI_Reduce hangs during time stepping
20+
export MPICH_REDUCE_NO_SMP=1
21+
22+
fn_pschism=/lfs/h1/nos/estofs/noscrub/Zizang.Yang/VIMS_v6_1-stofs.v1.1.0/exec/stofs_3d_atl/stofs_3d_atl_pschism
23+
24+
dir_jobs=/lfs/h1/nos/estofs/noscrub/Zizang.Yang/VIMS_v6_1-stofs.v1.1.0/work/stofs_3d_atl/run_20230809_0HRRR/
25+
cd $dir_jobs
26+
27+
echo ${dir_jobs}
28+
pwd
29+
30+
mkdir outputs
31+
rm -f outputs/*
32+
mpiexec -n $NCPU_PBS --cpu-bind core ${fn_pschism} 6

0 commit comments

Comments
 (0)