Announcement: New All-In-One WRF Suite Self Install Scripts

Whatheway

Active member
Hello and Good Day to the Weather Research Forecasting Modeling Community, Atmospheric Science Community, & Meteorological Organization Leaders,

My name is Will Hatheway and I am a meteorologist in Texas, USA. I apologize if you see this email multiple times as I am sending it around the world to spread the news.

With the fatal failure of my old computer I had to redevelop the self-install scripts for the Weather Research & Forecasting (WRF) Model. As some of you may know there were about 16 different github repos for the old scripts. This was becoming very hard to manage and since I had to remake them all, I decided to put all the old repos into one master script.

Below is a summary of the new Master Script:

WRF Suite Master Script​

This is a BASH script that provides options to install the following Weather Research & Forecasting Model (WRF) packages in 64-bit systems:

  • Weather Research & Forecasting Model (WRF)
  • Weather Research & Forecasting Model Chemistry (WRF-CHEM)
  • Weather Research & Forecasting Model Hydro Standalone (WRF-Hydro)
  • Weather Research & Forecasting Model Hydro Coupled w/ WRF (WRF-Hydro Coupled)
  • Hurricane Weather Research & Forecasting Model (HWRF)




System Requirements​

  • 64-bit system
    • Darwin (MacOS)
    • Linux Debian Distro (Ubuntu, Mint, etc)
    • Windows Subsystem for Linux (Debian Distro, Ubuntu, Mint, etc)
    • CentOS-based systems not supported
  • 350 Gigabyte (GB) of storage space




Libraries Installed (Latest libraries as of 01/01/2023)​

  • Libraries are manually installed in sub-folders utilizing either Intel or GNU Compilers.
    • Libraries installed with GNU compilers
      • zlib (1.2.13)
      • MPICH (4.0.3)
      • libpng (1.6.39)
      • JasPer (1.900.1)
      • HDF5 (1.13.2)
      • PHDF5 (1.13.2)
      • Parallel-NetCDF (1.12.3)
      • NetCDF-C (4.9.0)
      • NetCDF-Fortran (4.6.0)
      • Miniconda
    • Libraries installed with Intel compilers
      • zlib (1.2.13)
      • libpng (1.6.39)
      • JasPer (1.900.1)
      • HDF5 (1.13.2)
      • PHDF5 (1.13.2)
      • Parallel-NetCDF (1.12.3)
      • NetCDF-C (4.9.0)
      • NetCDF-Fortran (4.6.0)
      • Miniconda
      • Intel-Basekit
      • Intel-HPCKIT
      • Intel-AIKIT




Software Packages​

  • WRF
    • WRF v4.4.2
    • WPS v4.4
    • WRF PLUS v4.4.2
    • WRFDA 4DVAR v4.4.2
  • WRF-CHEM
    • WRF Chem w/KPP 4.4.2
    • WPS 4.4
    • WRFDA Chem 3DVAR
  • WRF-Hydro Standalone
    • WRF-Hydro v5.2
  • WRF-Hydro Coupled
    • WRF-Hydro v5.2
    • WRF v4.4.2
    • WPS v4.4
  • Hurricane WRF (HWRF)
    • HWRF Utilities v4.0a
    • POMTC v4.0a
    • NCEP Coupler v4.0a
    • GFDL Vortex Tracker v4.0a
    • GSI v4.0a
    • UPP v4.0a
    • WRF v4.3.3
    • WPS 4.3.1




Pre/Post Processing Packages Installed​

  • WRF
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Language (Conda installed)
  • WRF-CHEM
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Langauge (Conda installed)
    • Prep-Chem-SRC v1.5
    • WRF CHEM Tools
      • Mozbc
      • Megan Bio Emiss
      • Megan Bio Data
      • Wes Coldens
      • ANTHRO EMIS
      • EDGAR HTAP
      • EPA ANTHO EMIS
      • UBC
      • Aircraft
      • FINN
  • WRF-Hydro Standalone
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
  • WRF-Hydo Coupled
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
    • ARWPost v3
    • WRF-Python (Conda installed)
    • OpenGrADS
    • GrADS
    • NCAR Command Langauge (Conda installed)
    • WRF-GIS-Preprocessor (Conda installed)
  • HWRF
    • Development Testbed Center (DTC) Model Evaluation Tools (MET) v11.0.0
    • Development Testbed Center (DTC) Enhanced Model Evaluation Tools (METplus) v5.0.0
    • Development Testbed Center (DTC) Unified Post Processor (UPP) v4.1
*** Tested on Ubuntu 20.04.5 LTS, Ubuntu 22.04.1 LTS, MacOS Ventura, Windows Subsystem Linux Ubuntu***


Special thanks to:​

  • Youtube's meteoadriatic
  • GitHub user jamal919
  • University of Manchester's Doug L
  • University of Tunis El Manar's Hosni S.
  • GSL's Jordan S.
  • NCAR's Mary B., Christine W., & Carl D.
  • DTC's Julie P., Tara J., George M., & John H.
  • UCAR's Katelyn F., Jim B., Jordan P., Kevin M.,

Below you will find links to the install scripts for Linux 64-bit, MacOS, and Windows Subsystem Linux.

WRF Master Script:

DTC Model Evaluation Tools

GEMPAK


WRF CHEM Tools & Prep-Chem-SRC


As you can see from above these new master scripts have added several additional features including:
  • Parallelization
  • Intel Compiler options
  • New WRF Software
  • New pre/post processing tools
  • Support for MacOS
  • Support for Windows Subsystem Linux

If you have downloaded and utilized my scripts before, please make sure to download this version and reinstall to get all the latest tools and processors and latest patches in the master scripts.


It has been recommended to me to have a citation included for my scripts should they be used in any research application. In the Github code there is a citation script that writes a citation in APA form. This is the format accepted by Github, if you need it in another format I can provide information for you.

I have now set up sponsorships and donations for my GitHub account. Sponsorships help the author push updates to the end user faster, maintain and update code, develop new code, provide end user support, and end user consulting. If you would like to make a donation or sponsor these codes please go to this link ( Sponsor @HathewayWill on GitHub Sponsors ). Any user who sponsors or donates will receive a thank you email, a post on the authors LinkedIn, and a mention on future release notes.

As always, I write these scripts to better help the greater atmospheric community. I seek no recognition or accolades. If I can help the advancement of the global atmospheric community through this small effort then I will be happy.

I ask that you please share these scripts amongst your friends, colleagues, any email lists you manage, or newsletters. .

If you like my code please feel free to star and follow it on github as well as add me on LinkedIn!

Regards,
Will Hatheway
https://www.linkedin.com/in/williamhatheway
HathewayWill - Overview
 

snow

New member
Hi,I have some problem,Can you help me ?

lyx@lyx-virtual-machine:~/WRF/WPS-4.4$ ./geogrid.exe
./geogrid.exe: error while loading shared libraries: libnetcdff.so.7: cannot open shared object file: No such file or directory
 

Whatheway

Active member
Hi,I have some problem,Can you help me ?

lyx@lyx-virtual-machine:~/WRF/WPS-4.4$ ./geogrid.exe
./geogrid.exe: error while loading shared libraries: libnetcdff.so.7: cannot open shared object file: No such file or directory
Good morning @snow

I'll be happy to help if I can. Can you please make a new post under the WPS section of the Forum? NCAR prefers all issues be documented in their own thread.
 

Brenda Aguilar

New member
Hi, we are about to reinstall wrf on a new server. And since CENTOS is out of use, we don't know which operating system to occupy. Do you know what operating systems are compatible with WRF?

Thanks, ando good day
 

Whatheway

Active member
Hi, we are about to reinstall wrf on a new server. And since CENTOS is out of use, we don't know which operating system to occupy. Do you know what operating systems are compatible with WRF?

Thanks, ando good day

Good morning,
Most users have nowadays have switched towards Ubuntu or another Debian style repo like Ubuntu.
 

alainF

Member
Hello, I have a question about running this script and compatibility of existing libraries.
I have the intel compiler and Anaconda 3 already installed on my machine.
Question : is there a risk that running the self-install script might break or override the existing installation ?
Thank you !
 

Whatheway

Active member
Hello, I have a question about running this script and compatibility of existing libraries.
I have the intel compiler and Anaconda 3 already installed on my machine.
Question : is there a risk that running the self-install script might break or override the existing installation ?
Thank you !
It shouldn't over write any install directories as long as the folder name isn't the same as the folder that I create.

If you want to be safe and make sure that it won't do that. I would either create a new user account on the computer and install it there. Or change the existing folder with WRF installed in it to something like "WRF_backup".

I set up these scripts like a mini docker container. Everything is installed locally inside the WRF folder so nothing should leak out into existing builds. However, if you are worried about it I would build a new user account to be sure.
 
Top