#PBS -N mag_hrrr_subh_processor_%TIME%%VER:""%
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -l walltime=02:30:00
#PBS -l place=shared,select=1:ncpus=56:mpiprocs=56:mem=224GB
#PBS -A %PROJ%-%PROJENVIR% 
#PBS -l debug=true
#PBS -j oe 
export model=mag

%include <head.h>
%include <envir-p1.h>

export cyc=%CYC:""%
export SYNC_TO_A=%SYNC_TO_A%
export SYNC_TO_B=%SYNC_TO_B%
export MODEL=hrrr-subh
export NET=mag
export RUN=hrrr
export submodel=hrrr
##############################
## Load modules
###############################
module load intel/${intel_ver}
module load perl/${perl_ver}
module load craype/${craype_ver}
module load cray-pals/${cray_pals_ver}
module load imagemagick/${imagemagick_ver}
module load gempak/${gempak_ver}
module list

$HOMEmag/jobs/JMAG_PROCESSOR

%include <tail.h>

%manual
######################################################################
TASK:     mag_hrrr_subh_processor
PURPOSE:  To execute the job that creates HRRR-SUBHmodel
          GIF images for the MAG web site
######################################################################

%end