#PBS -N sref_cluster_gempak_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l select=1:ncpus=1:mpiprocs=1:mem=6GB
#PBS -l walltime=00:15:00
#PBS -l debug=true

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

export cyc=%CYC%
export RUN=sref

module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load intel/${intel_ver}
module load cray-mpich/${cray_mpich_ver}
module load cray-pals/${cray_pals_ver}

module load gempak/${gempak_ver}
module load wgrib2/${wgrib2_ver}

$HOMEsref/jobs/JSREF_CLUSTER_GEMPAK

%include <tail.h>
%manual
######################################################################
#  PURPOSE:  To submit the job creates SREF GEMPAK grids.
######################################################################
%end