From Documentation
Revision as of 22:57, 10 August 2014 by Isaac (Talk | contribs) (Installation)

Jump to: navigation, search
Description: The Weather Research and Forecasting System software
SHARCNET Package information: see WRF software page in web portal
Full list of SHARCNET supported software


The Weather Research and Forecasting system is in the public domain and is freely available for community use. It is designed to be a flexible, state-of-the-art atmospheric simulation system that is portable and efficient on available parallel computing platforms. It has two different model simulations such as ARW model and NMM model. WPS is the pre- and post-processing tool and needs to be installed together.

Version Selection

To load the wrf/3.6 module, do the following steps.

module load netcdf/intel/4.2
module load wrf/3.6

Job Submission

sqsub -r 2d -q serial -o ofile.%J wrf.exe

Installing Packages


Here is a short instruction about how to install the package. Here the package is installed in /work/$USER.

1. Download the package (wrfv3+wps) and unzip the package

[isaac@orc-login2:/work/isaac] wget
[isaac@orc-login2:/work/isaac] wget

2. Configure (wrf)

[isaac@orc-login2:/work/isaac/WRFV3] module load netcdf/intel/4.2
[isaac@orc-login2:/work/isaac/WRFV3] ./configure
checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
Will use NETCDF in dir: /opt/sharcnet/netcdf/4.2/intel 
If you REALLY want Grib2 output from WRF, modify the arch/ script.
Right now you are not getting the Jasper lib, from the environment, compiled into WRF.
Please select from among the following supported platforms.
   1.  Linux x86_64 i486 i586 i686, PGI compiler with gcc  (serial)
 15.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (dmpar)
Enter selection [1-51] : 15

3. Compilation

In particular, 'em_real' module requires more memory than the default. So, it is better to submit a job to compile it as follows

sqsub -r 1d -o log -e error --mpp=4G ./compile em_real

For the rest of modules which are described in README, it can be compiled by simply typing

'./compile em_les'

4. Configure (wps)

[isaac@orc-login2:/work/isaac/WPS] ./configure
Will use NETCDF in dir: /opt/sharcnet/netcdf/4.2/intel
Found Jasper environment variables for GRIB2 support...
Please select from among the following supported platforms.
1.  Linux x86_64, gfortran    (serial)
19.  Linux x86_64, Intel compiler    (dmpar)
20.  Linux x86_64, Intel compiler    (dmpar_NO_GRIB2)
Enter selection [1-36] : 20

5. Compilation (wps)


General Notes


o WRF Homepage