#BSUB -J %E%rap_prdgen_f03_%CYC%
#BSUB -o /com/output/%ENVIR%/today/rap_prdgen_f03_%CYC%.o%J
#BSUB -e /com/output/%ENVIR%/today/rap_prdgen_f03_%CYC%.o%J
#BSUB -cwd /tmpnwprd
#BSUB -R "span[ptile=1]"
#BSUB -n 1
#BSUB -q prod_shared
#BSUB -L /bin/sh
#BSUB -W 00:30
#BSUB -P %PROJ%
#BSUB -R "rusage[mem=15000]" -R "affinity[core]"
%include
# EXPORT list here
set -x
export envir=%ENVIR%
export cyc=%CYC%
export fhr=03
export job=rap_prdgen_f03_%CYC%
# versions file for Rapid Refresh model $mod_ver
VERSION_FILE=/nw${envir}/versions/rap.ver
if [ -f $VERSION_FILE ]; then
. $VERSION_FILE
else
ecflow_client --abort
exit
exit
fi
# CALL executable job script here
/nw${envir}/rap.${model_ver}/jobs/JRAP_PRDGEN
if [ $? -ne 0 ]; then
ecflow_client --abort
exit
fi
%include
%manual
######################################################################
# Purpose: to run RAP post processing
######################################################################
######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
######################################################################
# include manual page below
%end