#PBS -N hwrf%STORMNUM%_wrfpom_%CYC%
#PBS -j oe
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=02:20:00
#PBS -l place=vscatter,select=1:mpiprocs=2:mem=100GB:ncpus=2+1:mpiprocs=9:mem=100GB:ncpus=9+16:mpiprocs=60:ompthreads=2:mem=100GB:ncpus=120+1:mpiprocs=12:ompthreads=2:mem=100GB:ncpus=24
#PBS -l debug=true
export NODES=19
export TOTAL_TASKS=983
export OMP_NUM_THREADS=2
export ATM_THREADS=2
model=hwrf
export cyc="%CYC%"
%include
%include
export FORECAST_CONF_OVERRIDE=" %FORECAST_CONF_OVERRIDE%"
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-mpich/${cray_mpich_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 gsl/${gsl_ver}
module load nco/${nco_ver}
module load python/${python_ver}
module list
${HOMEhwrf}/jobs/JHWRF_FORECAST
%include
%manual
TASK wrfpom
PURPOSE: Runs the ocean-coupled forecast job with no wave coupling.
This job is run for North Hemisphere storms except the North East
Pacific and North Atlantic. In rare occasions, it is possible that
those two areas will fall back to ocean-coupled forecasts
(model/wrfpom job) if the wave_init job fails.
TROUBLESHOOTING
WARNING: MAKE SURE THE POST FAMILY IS REQUEUED when resubmitting a
forecast job. This ensures the post-processing proceeds in the
correct order.
CAUTION: Submitting this job, in and of itself, is not enough to cause
an ocean-coupled, waveless forecast if the wave_init succeeded.
Instead, simply submitting this job will likely cause the job to fail.
Follow this procedure to force an ocean-coupled, no wave forecast:
1. Edit the relevant storm*.conf for this storm in the COM directory.
In the [config] section of the file, you must set run_wave=no and
run_ocean=yes like so:
[config]
run_ocean=yes ;; Enable ocean coupling
run_wave=no ;; Disable ocean coupling
2. Manually clear the Wave flag in the init/wave_init
3. Make sure the Ocean flag is set in the init/ocean_init job.
4. Make sure no jobs in the forecast family are running.
5. Resubmit the entire forecast family.
%end