<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://climate-cms.wikis.unsw.edu.au/index.php?action=history&amp;feed=atom&amp;title=WRF_Installation</id>
	<title>WRF Installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://climate-cms.wikis.unsw.edu.au/index.php?action=history&amp;feed=atom&amp;title=WRF_Installation"/>
	<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_Installation&amp;action=history"/>
	<updated>2026-10-03T09:18:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_Installation&amp;diff=1906&amp;oldid=prev</id>
		<title>S.wales at 04:22, 12 December 2019</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_Installation&amp;diff=1906&amp;oldid=prev"/>
		<updated>2019-12-12T04:22:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:22, 12 December 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: WRF]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This version is from 2011. Look for the latest version available at NCI at [[WRF&amp;#160; |&amp;#160; this page]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This version is from 2011. Look for the latest version available at NCI at [[WRF&amp;#160; |&amp;#160; this page]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;='''WRF (version 3.3) Installation'''= &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;='''WRF (version 3.3) Installation'''= &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>S.wales</name></author>
		
	</entry>
	<entry>
		<id>http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_Installation&amp;diff=391&amp;oldid=prev</id>
		<title>ClaireCarouge: Imported from Wikispaces</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_Installation&amp;diff=391&amp;oldid=prev"/>
		<updated>2018-06-21T06:06:00Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wikispaces&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This version is from 2011. Look for the latest version available at NCI at [[WRF  |  this page]].&lt;br /&gt;
='''WRF (version 3.3) Installation'''= &lt;br /&gt;
&lt;br /&gt;
=='''Forword'''== &lt;br /&gt;
&lt;br /&gt;
This document is intended to serve as a handy reference for new users in building and running the WRF and WPS on the RAIJIN cluster at NCI without the need of making site-specific modification to WRF and WPS.&lt;br /&gt;
&lt;br /&gt;
==Source Code== &lt;br /&gt;
&lt;br /&gt;
The source code tar files of WRF and WPS (V3.3) have been downloaded and placed in the subdirectory /projects/WRF/Downloads on the RAIJIN cluster. The uncompressed source code for V3.3 of WRF and WPS, which have been ported to build on RAIJIN cluster, is located in the subdirectory /projects/WRF/WRFV_3.3.&lt;br /&gt;
&lt;br /&gt;
=='''Prerequisites'''== &lt;br /&gt;
&lt;br /&gt;
Get an NCI account, please refer to the NCI web site for more details on how to get an account (&amp;lt;span style=&amp;quot;background-color: initial;&amp;quot;&amp;gt;[[http://nf.nci.org.au/accounts/forms/user_registration.php]]&amp;lt;/span&amp;gt; and&amp;lt;span style=&amp;quot;background-color: initial;&amp;quot;&amp;gt;[[http://nf.nci.org.au/accounts/forms/user_connection.php]]&amp;lt;/span&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
On approval, you will get&lt;br /&gt;
&lt;br /&gt;
Project ID: $PROJECT (e.g. w35)&lt;br /&gt;
User ID: $USER (e.g. abc123)&lt;br /&gt;
&lt;br /&gt;
Read the NCI email about your account as well as their user guide webpage http://nf.nci.org.au/wiki/RaijinUserGuide&lt;br /&gt;
&lt;br /&gt;
After you log in, change your password, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
passwd&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Check the loaded modules and you should already have the Intel compilers and OpenMPI loaded, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
module list -l&lt;br /&gt;
- Package -----------------------------+- Versions -+- Last mod. ------&lt;br /&gt;
Currently Loaded Modulefiles:&lt;br /&gt;
pbs                                                  2013/05/13 0:17:55&lt;br /&gt;
dot                                                  2008/11/25 19:24:19&lt;br /&gt;
intel-fc/12.1.9.293                                  2013/08/02 3:40:39&lt;br /&gt;
intel-cc/12.1.9.293                                  2013/08/02 3:47:33&lt;br /&gt;
openmpi/1.6.3                                        2013/04/02 4:20:55&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Load the required netcdf module if missing, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
module load netcdf/4.2.1.1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If configuring to build GRIB2 support, run (tcsh):&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
setenv JASPERINC /usr/include&lt;br /&gt;
setenv JASPERLIB /usr/lib64&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or in bash&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
export JASPERINC=/usr/include&lt;br /&gt;
export JASPERLIB=/usr/lib64&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
To enable large file support in NetCDF (This installation of NetCDF supports large file support), run(tcsh):&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or in bash:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
export WRFIO_NCD_LARGE_FILE_SUPPORT=1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create your personal subdirectory in /short/, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
mkdir -p /short/$PROJECT/$USER/WRF/WRFV_3.3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Copy the WRF and WPS files to your /short/ subdirectory, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
cd /short/$PROJECT/$USER/WRF/WRFV_3.3&lt;br /&gt;
cp -rf /projects/WRF/WRFV_3.3/WRFV3 .&lt;br /&gt;
cp -rf /projects/WRF/WRFV_3.3/WPS .&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=='''Building WRF (ARW)'''== &lt;br /&gt;
&lt;br /&gt;
Go to the /WRFV3/ subdirectory, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
cd /short/$PROJECT/$USER/WRF/WRFV_3.3/WRFV3/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Start with a clean installation before compiling WRF, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
./clean -a&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Configure WRF, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You will be given four choices using Intel compiler. These choices range from compiling for a single processor job (serial), OpenMP shared-memory (smpar), to using distributed-memory (dmpar) or distributed Memory with shared memory (dm+sm).&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Please select from among the following build methods.&lt;br /&gt;
1. Linux x86_64 i486 i586 i686, ifort compiler with icc (serial)&lt;br /&gt;
2. Linux x86_64 i486 i586 i686, ifort compiler with icc (smpar)&lt;br /&gt;
3. Linux x86_64 i486 i586 i686, ifort compiler with icc (dmpar)&lt;br /&gt;
4. Linux x86_64 i486 i586 i686, ifort compiler with icc (dm+sm)&lt;br /&gt;
Enter selection [1-4] :&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Once an option is selected from above, a choice of what type of nesting (no nesting (0), basic (1), pre-set moves (2), or vortex following (3)) will be given.&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Compile for nesting? (0=no nesting, 1=basic, 2=preset moves, 3=vortex following) [default 0]: For options dmpar and dm+sm, the choice 0=no nesting is not applicable.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A file configure.wrf should be created after configuring has completed.&lt;br /&gt;
&lt;br /&gt;
To build WRF (the ARW core), use the script run_compile to submit it to the job queue, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
qsub run_compile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
After a successful build, one should see the following executable files for WRF (the ARW core):&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[abc123@vayu3 WRFV3]$ ls -l main/*.exe&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 35559897 Aug 22 17:14 main/ndown.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 34988805 Aug 22 17:14 main/nup.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 35471615 Aug 22 17:14 main/real.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 35081246 Aug 22 17:14 main/tc.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 38763058 Aug 22 17:13 main/wrf.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=='''Building WPS'''== &lt;br /&gt;
&lt;br /&gt;
Go to the /WPS/ subdirectory, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
cd /short/$PROJECT/$USER/WRF/WRFV_3.3/WPS/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Load required module, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
module load ncl/6.1.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Start with a clean installation before compiling WPS, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
clean -a&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Configure WPS, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You will be given four choices using Intel compiler.&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Please select from among the following build methods.&lt;br /&gt;
1. PC Linux x86_64, Intel compiler serial, NO GRIB2&lt;br /&gt;
2. PC Linux x86_64, Intel compiler serial&lt;br /&gt;
3. PC Linux x86_64, Intel compiler DM parallel, NO GRIB2&lt;br /&gt;
4. PC Linux x86_64, Intel compiler DM parallel&lt;br /&gt;
Enter selection [1-4] :&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Choose one of options from above.&lt;br /&gt;
&lt;br /&gt;
A file configure.wps should be created after configuring has completed.&lt;br /&gt;
&lt;br /&gt;
To build WPS, use the script run_compile to submit it to the job queue. This will build the em_real version.&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
qsub run_compile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
After a successful build, one should see the following executable files:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[abc123@vayu3 WPS]$ ls -l *.exe&lt;br /&gt;
&lt;br /&gt;
lrwxrwxrwx 1 abc123 wrf 23 Aug 23 10:19 geogrid.exe -&amp;gt; geogrid/src/geogrid.exe&lt;br /&gt;
lrwxrwxrwx 1 abc123 wrf 23 Aug 23 10:20 metgrid.exe -&amp;gt; metgrid/src/metgrid.exe&lt;br /&gt;
lrwxrwxrwx 1 abc123 wrf 21 Aug 23 10:20 ungrib.exe -&amp;gt; ungrib/src/ungrib.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[abc123@vayu3 WPS]$ ls -l */src/*.exe&lt;br /&gt;
&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 3412782 Aug 23 10:19 geogrid/src/geogrid.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 3206974 Aug 23 10:20 metgrid/src/metgrid.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1209622 Aug 23 10:20 ungrib/src/g1print.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1407507 Aug 23 10:20 ungrib/src/g2print.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 2169010 Aug 23 10:20 ungrib/src/ungrib.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1184660 Aug 23 10:20 util/src/avg_tsfc.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1250303 Aug 23 10:20 util/src/calc_ecmwf_p.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1217842 Aug 23 10:20 util/src/height_ukmo.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 1118699 Aug 23 10:20 util/src/mod_levs.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 3704627 Aug 23 10:20 util/src/plotfmt.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 3409302 Aug 23 10:20 util/src/plotgrids.exe&lt;br /&gt;
-rwxr-xr-x 1 abc123 wrf 916613 Aug 23 10:20 util/src/rd_intermediate.exe&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note that there are some warnings in the build output like warning: overriding commands for target `.c.o'. These are harmless and can be ignored.&lt;/div&gt;</summary>
		<author><name>ClaireCarouge</name></author>
		
	</entry>
</feed>