#PBS -S /bin/bash
#PBS -N %RUN%_atmos_post_manager_%CYC%
#PBS -j oe
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=04:00:00
#PBS -l select=1:ncpus=1:mem=1GB
#PBS -l place=vscatter
#PBS -l debug=true
model=gfs
%include
%include
set -x
export NET=%NET:gfs%
export RUN=%RUN%
export CDUMP=%RUN%
############################################################
# Load modules
############################################################
module list
export cyc=%CYC%
export cycle=t%CYC%z
############################################################
# CALL executable job script here
############################################################
${HOMEgfs}/jobs/JGLOBAL_ATMOS_POST_MANAGER
if [ $? -ne 0 ]; then
ecflow_client --msg="***JOB ${ECF_NAME} ERROR RUNNING J-SCRIPT ***"
ecflow_client --abort
exit
fi
%include
%manual
%end