WRF

Description

From the WRF homepage: The Weather Research and Forecasting (WRF) Model is a next-generation mesoscale numerical weather prediction system designed to serve both operational forecasting and atmospheric research needs. It features multiple dynamical cores, a 3-dimensional variational (3DVAR) data assimilation system, and a software architecture allowing for computational parallelism and system extensibility. WRF is suitable for a broad spectrum of applications across scales ranging from meters to thousands of kilometers.

Version

  • 3.3

Authorized Users

  • CIRCE account holders
  • SC account holders

Platforms

  • CIRCE cluster
  • SC cluster

Modules

WRF requires the following module file to run:

  • apps/wrf/3.3

Running WRF on CIRCE/SC

The WRF user guide is essential to understanding the application and making the most of it. The guide and this page should help you to get started with your simulations. Please refer to the Documentation section for a link to the guide.

  • Note on CIRCE: Make sure to run your jobs from your $WORK directory!
  • Note: Scripts are provided as examples only. Your SLURM executables, tools, and options may vary from the example below. For help on submitting jobs to the queue, see our SLURM User’s Guide.

If, for example, you have your WRF input files located in your job directory, you would set up a submit script like this:

  • The script below (for testing, name it “wrf-test.sh”) can be copied into your job directory (the folder with your input files) and modified so that you can submit batch processes to the queue. For help on submitting jobs to the queue, see our SLURM User’s Guide. Scripts are provided as examples only. Your SLURM executables, tools, and options will vary.
#!/bin/bash
#
#SBATCH --comment=wrf-test
#SBATCH --ntasks=8
#SBATCH --job-name=wrf-test
#SBATCH --output=output.%j.wrf-test
#SBATCH --time=01:00:00

#### SLURM 8 processor WRF test to run for 1 hour.

module load apps/wrf/3.3
module load compilers/intel/11.1.064 mpi/mvapich2/1.6
module load apps/netcdf/4.0.1
export WRFIO_NCD_LARGE_FILE_SUPPORT=1


mpirun wrf.exe

 
Next, you can change to your job’s directory, and run the sbatch command to submit the job:

[user@login0 ~]$ cd my/jobdir
[user@login0 jobdir]$ sbatch ./wrf-test.sh
  • You can view the status of your job with the “squeue -u <username>” command

Documentation

Home Page, User Guides, and Manuals

Benchmarks, Known Tests, Examples, Tutorials, and Other Resources

More Job Information

See the following for more detailed job submission information:

Reporting Bugs

Report bugs with WRF to the IT Help Desk: rc-help@usf.edu