#BSUB -J %E%wave_wna_prdgen_%CYC%
#BSUB -o /com/output/%ENVIR%/today/wave_wna_prdgen_%CYC%.o%J
#BSUB -P %PROJ%
#BSUB -L /bin/sh
#BSUB -q %QUEUE%_shared
#BSUB -W 00:15
#BSUB -cwd /tmpnwprd
#BSUB -R rusage[mem=500]
#BSUB -R affinity[core]
%include
%include
# EXPORT list here
export cyc=%CYC%
export NET=wave
export RUN=multi_1
model=${NET}_${RUN}
# versions file for wave_multi_1 sets $wave_multi_1_ver and $code_ver
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_WNA_PRDGEN
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 3 region Multi1 wave model
# product generation on the IBMSP
#
########################################################################
#######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
#######################################################################
# include manual page below
%end