#PBS -N urma_%FAMILY1%_gsianl_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -A %PROJ%-%PROJENVIR%
#PBS -q %QUEUE%
#PBS -l walltime=%WALLTIME:00:25:00%
#PBS -l select=1:ncpus=%NCPUS:16%:mpiprocs=%MPIPROCS:16%:mem=250GB
#PBS -l debug=true
model=urma
%include
%include
# EXPORT list here
export cyc=%CYC%
export ntasks=%NCPUS:16%
export ppn=%PPN:16%
export threads=1
export OMP_PLACES=cores
export OMP_NUM_THREADS=$threads
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usrx/local/netcdf-3.6.3/lib
export LANG=en_US
export MP_EAGER_LIMIT=165536
export MP_COREFILE_FORMAT=lite
export MP_EUIDEVELOP=min
export MP_EUIDEVICE=sn_all
export MP_EUILIB=us
export MP_MPILIB=mpich2
export MP_LABELIO=yes
export MP_SINGLE_THREAD=yes
export MP_USE_BULK_XFER=yes
export MP_SHARED_MEMORY=yes
export MPICH_ALLTOALL_THROTTLE=0
export MP_COLLECTIVE_OFFLOAD=no
export KMP_STACKSIZE=1024m
export OMP_NUM_THREADS=1
export FI_OFI_RXM_SAR_LIMIT=3145728
if [ -n "%LAST_RESTART:%" ]; then export LAST_RESTART=${LAST_RESTART:-%LAST_RESTART:%}; fi
if [ "%FAMILY1%" = "2p5" ]; then
export RUN=urma2p5
else
export RUN=%FAMILY1%urma
fi
module load PrgEnv-intel/${PrgEnv_intel_ver:?}
module load craype/${craype_ver:?}
module load intel/${intel_ver:?}
module load libjpeg/${libjpeg_ver:?}
module load cray-mpich/${cray_mpich_ver:?}
module load cray-pals/${cray_pals_ver:?}
module load hdf5/${hdf5_ver:?}
module load netcdf/${netcdf_ver:?}
module list
$HOMEurma/jobs/JURMA_GSIANL
%include
%manual
######################################################################
#PURPOSE: Run the Gridpoint Statistical Interpolation (GSI) package
#from EMC
######################################################################
%end