#BSUB -J %E%wave_wna_gempak_%CYC%
#BSUB -o /com/output/%ENVIR%/today/wave_wna_gempak_%CYC%.o%J
#BSUB -P %PROJ%
#BSUB -L /bin/sh
#BSUB -W 02:00
#BSUB -cwd /tmpnwprd
#BSUB -n 4
#BSUB -a poe
#BSUB -q %QUEUE%_shared
#BSUB -R "rusage[mem=1000]" -R "affinity[core]" -R "span[ptile=4]"
%include
%include
# EXPORT list here
export cyc=%CYC%
export grids='mww3wna10m mww3wna4m mww3wc10m mww3wc4m'
export sgrid=wna
export NET=wave
export RUN=multi_1
model=${NET}_${RUN}
VERSION_FILE=${NWROOT:?}/versions/${model}.ver
if [ -f $VERSION_FILE ]; then
. $VERSION_FILE
eval export HOMEwave=${NWROOT}/${model}.\${${model}_ver}
else
ecflow_client --abort="$VERSION_FILE does not exist"
exit
fi
# CALL executable job script here
${HOMEwave}/jobs/JWAVE_MULTI_1_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 Western N.Atl
# gempak product generation on the IBMSP
#######################################################################
#######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
#######################################################################
# include manual page below
%end