From Documentation
Revision as of 10:43, 6 June 2019 by Edward (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page is will be deleted pending it's creation on the CC wiki.
Note: This page hasn't been updated for a long time, and is most likely outdated.
If you need it to be updated, please submit a ticket to with the link to the page.

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

Due to the high volume of request for user's own version, the wrf module will not be updated anymore. However, as per user's request, we will install it on the user's own directory. To this end, please open a ticket in our SHARCNET web portal.

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

WRF can adopt a variety of modules such as WRF-CHEM, WRF-Var, WRF-BC and so on. Therefore, you may want to install your own version into your working directory. The installation process is a bit straight-foward as described above. One thing you should make sure is to load 'netcdf/intel/4.2' before you start the configuration and compilation.

NCAR graphics, which requires to run pre/post processing of the data, is not supported for now in the SHARCNET machines since all clusters targets to run the cpu-intensive jobs but it is expected to be installed shortly.


o WRF Homepage

o WRF online tutorial