#BSUB -J %E%wave_multi_2_gempak_%CYC%
#BSUB -o /com/output/%ENVIR%/today/wave_multi_2_gempak_%CYC%.o%J
#BSUB -P %PROJ%
#BSUB -L /bin/sh
#BSUB -W 01:00
#BSUB -cwd /tmpnwprd
#BSUB -n 10
#BSUB -a poe
#BSUB -q %QUEUE%_shared
#BSUB -R "rusage[mem=1000]" -R "affinity[core]" -R "span[ptile=10]"
%include
%include
export job=$jobid
# EXPORT list here
export cyc=%CYC%
export NET=wave
export RUN=multi_2
model=${NET}_${RUN}
VERSION_FILE=/nw${envir}/versions/${model}.ver
if [ -f $VERSION_FILE ]; then
. $VERSION_FILE
export HOMEwave=/nw${envir}/${model}.${model_ver}
else
ecflow_client --abort="$VERSION_FILE does not exist"
exit
fi
# CALL executable job script here
${HOMEwave}/jobs/JWAVE_MULTI_2_GEMPAK
if [ $? -ne 0 ]; then
ecflow_client --abort="ERROR running J-job for ${TASK}"
exit
fi
%include
%manual
#######################################################################
# Purpose: To execute the job that runs the Wave model
# gempak product generation on WCOSS
#######################################################################
#######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
#######################################################################
# include manual page below
%end