#PBS -N nam_coldstart_prep_firewx_%CYC%
#PBS -j oe
#PBS -l select=1:ncpus=32:mem=100GB
#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 cyc=%CYC%
export tmmark=tm00
export domain=firewx
export job=nam_coldstart_prep_firewx_%CYC%
export MPI_LABELIO=YES
export MP_STDOUTMODE="ORDERED"
export procs=32
export procspernode=32
############################################################
#### 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 netcdf/${netcdf_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
# CALL executable job script here
${HOMEnam}/jobs/JNAM_COLDSTART_PREP_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