#!/usr/bin/env bash
#PBS -N nwm_usgs_timeslices_%CYC%_%TIME%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -l place=vscatter,select=1:ncpus=1:mpiprocs=1:mem=50gb
#PBS -l walltime=00:17:00
#PBS -l debug=true
export NODES=1
export NCORES=1
export NPROCS=$((NODES*NCORES))
export model=nwm
%include
%include
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load intel/${intel_ver}
module load cray-pals/${pals_ver}
module load cfp/${cfp_ver}
module load python/${python_ver}
module list
#Unlimit the stack size
ulimit -s unlimited
# EXPORT list here
export cyc=`date -u +%%H`
export min=`date -u +%%M`
export I_MPI_DEVICE=rdssm
export I_MPI_PIN_PROCESSOR_LIST=15
export SAVE_ALL_TASKS=yes
export OMP_NUM_THREADS=1
export OMP_PLACES=cores
# CALL executable job script here
${HOMEnwm}/jobs/JNWM_USGS_TIMESLICES
%include
%manual
######################################################################
#
# PURPOSE:
#
######################################################################
######################################################################
# Job specific troubleshooting instructions:
# see generic troubleshoot manual page
#
######################################################################
# include manual page below
%end