#PBS -N %E%hwrf%STORMNUM%_wave_init_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=01:20:00
#PBS -l select=1:ncpus=1:mpiprocs=1
export NODES=1
#export TOTAL_TASKS=24
export TOTAL_TASKS=1
%include
module purge
module load ecflow
%include
export cyc="%CYC%"
export storm_num="%STORMNUM%"
# versions file for hwrf sets $model_ver and $code_ver
model=hwrf
%include
module use ${HOMEhwrf}/modulefiles/
module load HWRF/run
module list
${HOMEhwrf}/jobs/JHWRF_WAVE_INIT
%include
%manual
TASK: wave_init
NOTE: This task is considered optional, so most reasonable failures
are not reported to ecFlow, and are instead reported via email.
NOTE: If ocean coupling is disabled, wave coupling is also disabled.
PURPOSE: This job runs the wave model initialization for the HWRF
system. It decides whether the atmospheric model runs coupled or
uncoupled. Note that wave coupling requires ocean coupling, so if
ocean is disabled, wave coupling is disabled automatically by later
jobs.
Events:
Wave - set if wave coupling should be used, clear otherwise
TROUBLESHOOTING
The wave_init is a very simple job. If it fails, system issues are
likely the cause. The workflow is set up to continue without wave
coupling if wave_init fails, as long as the system issue isn't so
severe as to prevent communication back to ecFlow.
%end