<?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_v3.7.1_installation</id>
	<title>WRF v3.7.1 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_v3.7.1_installation"/>
	<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_v3.7.1_installation&amp;action=history"/>
	<updated>2026-11-28T13:56:27Z</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_v3.7.1_installation&amp;diff=2070&amp;oldid=prev</id>
		<title>C.carouge at 01:18, 5 February 2020</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_v3.7.1_installation&amp;diff=2070&amp;oldid=prev"/>
		<updated>2020-02-05T01:18:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_v3.7.1_installation&amp;amp;diff=2070&amp;amp;oldid=1918&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>C.carouge</name></author>
		
	</entry>
	<entry>
		<id>http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_v3.7.1_installation&amp;diff=1918&amp;oldid=prev</id>
		<title>S.wales at 04:23, 12 December 2019</title>
		<link rel="alternate" type="text/html" href="http://climate-cms.wikis.unsw.edu.au/index.php?title=WRF_v3.7.1_installation&amp;diff=1918&amp;oldid=prev"/>
		<updated>2019-12-12T04:23:34Z</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:23, 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 2015. 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 2015. 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;='''Foreword'''= &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;='''Foreword'''= &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_v3.7.1_installation&amp;diff=401&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_v3.7.1_installation&amp;diff=401&amp;oldid=prev"/>
		<updated>2018-06-21T06:11:34Z</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 2015. Look for the latest version available at NCI at [[WRF  |  this page]].&lt;br /&gt;
='''Foreword'''= &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;
This document is only valid from version 3.7.1 of WRF. Please refer to the [[WRF Installation | old installation page]] for older versions.&lt;br /&gt;
&lt;br /&gt;
=Source Code= &lt;br /&gt;
----&lt;br /&gt;
The source code tar files of WRF and WPS (V3.7.1) have been downloaded and placed in the subdirectory /projects/WRF/Downloads on the RAIJIN cluster. The uncompressed source code for V3.7.1 of WRF and WPS, which have been ported to build on RAIJIN cluster, is located in the subdirectory /projects/WRF/WRFV_3.7.1.&lt;br /&gt;
&lt;br /&gt;
='''Prerequisites'''= &lt;br /&gt;
----&lt;br /&gt;
Get an NCI account, please refer to the [[Induction | Induction page]] of this wiki for instructions.&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.3.3.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;
Clone the WRF repository to your own space under /short:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
cd /short/$PROJECT/$USER/&lt;br /&gt;
git clone /projects/WRF/WRFV_3.7.1&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/WRFV_3.7.1/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 and compile WRF, run:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
./run_compile&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;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Please select from among the following Linux x86_64 options:&lt;br /&gt;
1. (serial)   2. (smpar)   3. (dmpar)   4. (dm+sm)   INTEL (ifort/icc)&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;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 1]:&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A file configure.wrf should be created after configuring has completed.&lt;br /&gt;
Then a compilation script, called wrf_compile, is submitted to the job queue by the run_compile script.&lt;br /&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@raijin3 WRFV3]$ ls -l main/*.exe&lt;br /&gt;
&lt;br /&gt;
-rwx------ 1 abc123 wrf 35559897 Aug 22 17:14 main/ndown.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 35471615 Aug 22 17:14 main/real.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 35081246 Aug 22 17:14 main/tc.exe&lt;br /&gt;
-rwx------ 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.7.1/WPS/&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;
Run run_compile:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
./run_compile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
You will be given four choices using Intel compiler.&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, Intel compiler (serial)&lt;br /&gt;
2. Linux x86_64, Intel compiler (serial_NO_GRIB2)&lt;br /&gt;
3. Linux x86_64, Intel compiler (dmpar)&lt;br /&gt;
4. Linux x86_64, Intel compiler (dmpar_NO_GRIB2)&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. Then the run_compile script will send a compilation job, called wps_compile, to the queue.&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@raijin3 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@raijin3 WPS]$ ls -l */src/*.exe&lt;br /&gt;
&lt;br /&gt;
-rwx------ 1 abc123 wrf 3412782 Aug 23 10:19 geogrid/src/geogrid.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 3206974 Aug 23 10:20 metgrid/src/metgrid.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1209622 Aug 23 10:20 ungrib/src/g1print.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1407507 Aug 23 10:20 ungrib/src/g2print.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 2169010 Aug 23 10:20 ungrib/src/ungrib.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1184660 Aug 23 10:20 util/src/avg_tsfc.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1250303 Aug 23 10:20 util/src/calc_ecmwf_p.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1217842 Aug 23 10:20 util/src/height_ukmo.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf  953821 Aug 23 10:20 util/src/int2nc.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 1118699 Aug 23 10:20 util/src/mod_levs.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 3704627 Aug 23 10:20 util/src/plotfmt.exe&lt;br /&gt;
-rwx------ 1 abc123 wrf 3409302 Aug 23 10:20 util/src/plotgrids.exe&lt;br /&gt;
-rwx------ 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;br /&gt;
&lt;br /&gt;
=&amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;Tests run&amp;lt;/span&amp;gt;= &lt;br /&gt;
----&lt;br /&gt;
==&amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;Tests run-Compilation&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;Compilation&amp;lt;/span&amp;gt;== &lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;WRF compilation with dmpar&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;WRF compilation with dm+sm&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;WRF-Chem compilation with dmpar&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;WPS compilation with dmpar_NO_GRIB2 with dmpar compilation of WRF&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;WPS compilation with dmpar_NO_GRIB2 with dm+sm compilation of WRF&amp;lt;/span&amp;gt;&lt;br /&gt;
==&amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;&amp;lt;span id=&amp;quot;Tests run-Tests simulations&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;Tests simulations&amp;lt;/span&amp;gt;== &lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;First tutorial case (Jan 00) with 1 nest&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;background-color: #ffffff;&amp;quot;&amp;gt;First tutorial case (Jan 00) with 2 nests&amp;lt;/span&amp;gt;&lt;/div&gt;</summary>
		<author><name>ClaireCarouge</name></author>
		
	</entry>
</feed>