WRF

Overview

Weather Research and Forecasting Model (WRF) is a state-of-the-art atmospheric modeling system designed for both meteorological research and numerical weather prediction.

Version 4.0.3 is installed on the CSF.

Restrictions on use

WRF is open source, and has been released with no restrictions on use (licensing or otherwise).

Set up procedure

We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this.

Load one of the following modulefiles (which will cause the supporting library modules to be loaded too):

apps/gcc/wrf/4.0.3
apps/intel-17.0/wrf/4.0.3

Copy the running directory (which contains standard input files required by WRF) for your version of the model using:

cp -a $WRF_RUNDIR [scenario_name]

Running the application

Please do not run WRF on the login node – it is computationally intensive, and requires MPI parallisation to run properly. Jobs should be submitted to the compute nodes via batch.

Parallel batch job submission

Two example batch scripts are included in the running directory:

batch_example_short_real.sh
batch_example_short_wrf.sh

These have the form:

#!/bin/bash --login
#$ -cwd
#$ -pe smp.pe 12
#$ -l short

module load apps/gcc/wrf/4.0.3

rm rsl.error.* rsl.out.*

time mpirun -np 12 wrf.exe

sync

The rm command is needed to clear out any pre-existing log files (which is not done by the program itself).

Further info

Updates

None.

Last modified on July 11, 2019 at 3:56 pm by Doug Lowe