#PBS -N nam_analysis_alaska_%CYC%
#PBS -j oe
#PBS -l place=vscatter:exclhost,select=11:ncpus=128:mpiprocs=16:ompthreads=8
#PBS -q %QUEUE%
#PBS -S /bin/bash
#PBS -l walltime=00:20:00
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l debug=true
model=nam
%include
%include
set -x
# EXPORT list here
export FI_OFI_RXM_SAR_LIMIT=3145728
export MPICH_COLL_OPT_OFF=1
export ntasks=176
export ppn=16
export threads=8
# OMP settings
export OMP_PLACES=cores
export OMP_NUM_THREADS=$threads
export OMP_STACKSIZE=1G
export cyc=%CYC%
export tmmark=tm00
export domain=alaska
export job=nam_analysis_alaska_%CYC%
export MPI_LABELIO=YES
export MP_STDOUTMODE="ORDERED"
############################################################
## Load modules
#############################################################
# module purge
module load envvar/${envvar_ver}
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load intel/${intel_ver}
module load craype/${craype_ver}
module load cray-mpich/${cray_mpich_ver}
module load cray-pals/${cray_pals_ver}
module load crtm/${crtm_ver}
module load cfp/${cfp_ver}
module load netcdf/${netcdf_ver}
# CALL executable job script here
${HOMEnam}/jobs/JNAM_ANALYSIS_NEST
%include
%manual
######################################################################
# Purpose: to prepare the initial input files for NAM
######################################################################
######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
######################################################################
# include manual page below
%end