#PBS -N glwu_lc_pgen_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l select=1:ncpus=1:mem=1000MB
#PBS -l place=exclhost
#PBS -l debug=true

export model=glwu
%include <head.h>
%include <envir-p1.h>

set -x

ulimit -s unlimited

# EXPORT list here
export cyc=%CYC%
export modID=glwu
export MODID=GLWU

# Setup and load modules 
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load intel/${inter_ver}
module load libjpeg/${libjpeg_ver}
module load libpng/${libpng_ver}
module load wgrib2/${wgrib2_ver}
module load grib_util/${grib_util_ver}
module load util_shared/${util_shared_ver}
module list

# CALL executable job script here
${HOMEglwu}/jobs/JGLWU_LC_PGEN

%include <tail.h>
%manual
######################################################################
# Purpose: To execute the job that runs the glwu wave model prep
#          on the IBMSP
######################################################################

######################################################################
# Job specific troubleshooting instructions:
#  see generic troubleshoot manual page
#
######################################################################

# include manual page below
%end