#PBS -N %E%runtime_%ECF_ENVIR%
#PBS -j oe
#PBS -S /bin/bash
###PBS -q %QUEUE%
#PBS -q workq
#PBS -l walltime=00:30:00
#PBS -l select=1:ncpus=2:mem=5000MB
#PBS -P %PROJ%-%PROJENVIR%
#PBS -W umask=022

model=runtime
%include <head.h>
%include <envir-p1.h>

set -x

module load intel/$intel_ver
#module load pm5/${pm5_ver}
module load perl/${perl_ver}

# EXPORT list here
export cyc=`date -u +%%H`
export TIME_FLAG=YES

# ecflow server envir
export ecf_envir=%ECF_ENVIR:%

${HOMEruntime}/jobs/JRUNTIME

%include <tail.h>
%manual
######################################################################
# Purpose: This job gathers runtime statistics for all jobs submitted
#          from the production ECF.  The processing runs on the IBM-SP.
######################################################################

######################################################################
# Job specific troubleshooting instructions:
#  see generic troubleshoot manual page
#
######################################################################

# incluse manual page below
%end