On Big Red II at IU, what is WRF, and how do I use it?

On this page:


Overview

The Weather Research and Forecasting (WRF) model system is a next-generation mesoscale numerical weather prediction system designed to provide a flexible and computationally efficient platform for operational forecasting, while offering advances in physics, numerics, and data assimilation that allow researchers to produce simulations based on real data or idealized atmospheric conditions. The WRF model system contains two dynamic cores:

  • The Advanced Research WRF (ARW) core is supported by the Mesoscale and Microscale Meteorology (MMM) division of the National Center for Atmospheric Research (NCAR). For user resources, see the WRF-ARW users' page.
  • The Non-hydrostatic Mesoscale Model (NMM) is supported by the by the National Oceanic and Atmospheric Administration (NOAA) National Centers for Environmental Prediction (NCEP) and the Developmental Testbed Center (DTC). For user resources, see the WRF-NMM users' page.

For more, see the WRF website.

Adding WRF to your user environment on Big Red II

On Big Red II at Indiana University, WRF is available for use with the Cray programming environment. To make sure the Cray programming environment module (PrgEnv-cray) is loaded; on the command line, enter module list, and look for PrgEnv-cray. If another programming environment module (e.g., PrgEnv-pgi) is loaded, use the module swap command to replace it with the Cray programming environment; for example, on the command line, enter:

  module swap PrgEnv-pgi PrgEnv-cray

Once the Prg-cray programming environment module is loaded, to add WRF to your user environment, load the WRF module; on the command line, enter:

  module load wrf

Loading the wrf module automatically loads the cray-netcdf4.2.1.1 and cray-hdf51.8.9 modules, as well. WRF requires the NetCDF library, and NetCDF 4.x requires HDF5 1.8.1 or later to be installed.

The WRF installation directory (/N/soft/cle4/wrf/3.5) contains directories for WRFV3 and the WRF Pre-Processing System (WPS), a collection of Fortran and C programs that provides input data the for the real.exe and real_nmm.exe programs.

The WRFV3 installation includes the WRF Model coupled with Chemistry (WRF-Chem). Additionally, the physics-only installation of WRF is available at:

  /N/soft/cle4/wrf/3.5-phy-only

Using WRF on Big Red II

To use WRF, create a working directory on Data Capacitor II; for example (replace username with your IU username):

  /N/dc2/scratch/username/wrf-dir

Following is an example TORQUE job script for running WRF in the Extreme Scalability Mode (ESM) execution environment on Big Red II:

  #!/bin/bash
  
  #PBS -l nodes=4:ppn=32
  #PBS -l walltime=00:10:00
  #PBS -N my_job
  #PBS -V
  #PBS -q cpu
  
  cd /path/to/working/directory
  aprun -n 128 /N/soft/cle4/wrf/3.5/WRFV3/main/wrf.exe >& wrf.log

For more about running jobs on Big Red II, see How do I run batch jobs on Big Red II at IU?

Getting help

Support for IU research computing systems, software, and services is provided by various UITS Research Technologies units. For help, see Research computing support at IU.

Back to top

This is document bdpy in the Knowledge Base.
Last modified on 2015-08-20 00:00:00.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.