#PBS -N evs_aqm_plots
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=01:00:00
#PBS -l place=vscatter:exclhost,select=1:ncpus=128:mem=500GB
#PBS -l debug=true
export model=evs
%include
%include
############################################################
# Load modules
############################################################
set -x
export COMPONENT=aqm
export STEP=plots
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load intel/${intel_ver}
module load ve/evs/${ve_evs_ver}
module load cray-mpich/${craympich_ver}
module load cray-pals/${craypals_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
module load gsl/${gsl_ver}
module load imagemagick/${imagemagick_ver}
module load met/${met_ver}
module load metplus/${metplus_ver}
module list
############################################################
# Specify environment variables
############################################################
if [ -n "%VHR:%" ]; then
export vhr=${vhr:-%VHR:%}
else
export vhr=00
fi
export NET=evs
export RUN=atmos
export VERIF_CASE=grid2obs
export MODELNAME=aqm
export modsys=aqm
############################################################
# Execute j-job
############################################################
$HOMEevs/jobs/JEVS_AQM_PLOTS
if [ $? -ne 0 ]; then
ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***"
ecflow_client --abort
exit
fi
%include
%manual
%end