#PBS -N hmon%NUM%_gempak_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=01:30:00
#PBS -l place=shared,select=1:ncpus=17:mpiprocs=17:mem=5GB
#PBS -l debug=true
set -x
model=hmon
export cyc=%CYC%
export PDY=%PDY:""%
export TOTAL_TASKS=$(wc -l ${PBS_NODEFILE:?} | cut -f 1 -d " ")
%include
%include
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 cfp/${cfp_ver}
module load gempak/${gempak_ver}
# EXPORT list here
export job=hmon%NUM%_gempak_%CYC%
export storm_num=%NUM%
# SPECIFY WHICH JOB TO RUN and run the job
${HOMEhmon}/jobs/JHMON_GEMPAK
%include
%manual
######################################################################
# Purpose: To submit the job that creates GEMPAK files for HMON
######################################################################
######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
######################################################################
# include manual page below
%end