#PBS -N 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
#PBS -l debug=true
export NODES=1
#export TOTAL_TASKS=24
export TOTAL_TASKS=1
model=hwrf
%include
%include
export cyc="%CYC%"
export storm_num="%STORMNUM%"
# versions file for hwrf sets $model_ver and $code_ver
module load envvar/${envvar_ver}
module load PrgEnv-intel/${PrgEnv_intel_ver}
module load craype/${craype_ver}
module load intel/${intel_ver}
module load cray-pals/${cray_pals_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
module load bufr/${bufr_ver}
module load hdf5/${hdf5_ver}
module load netcdf/${netcdf_ver}
# module load pnetcdf/${pnetcdf_ver}
module load udunits/${udunits_ver}
module load nco/${nco_ver}
module load python/${python_ver}
module load cfp/${cfp_ver}
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