Personal tools
User menu

Installing WRF-GC

From atmoschem

Revision as of 23:18, 25 December 2018 by Linhaipeng (Talk | contribs)

Jump to: navigation, search

System Requirements

WRF-GC requires a set of compilers and libraries that are compatible with the WRF model and the GEOS-Chem High Performance model.

Recommended system setup (as tested):

  • Compiler: Intel 15. There is limited support for the PGI and gfortran compilers.
  • NetCDF-Fortran 4.4.4

It is recommended that you install all libraries in the same location (using the --prefix=/your/directory/here when calling the configure script).

For WRF to correctly find those libraries, you need to set the HDF5 & NETCDF environmental variables to point to the directory (which includes the bin, lib, include directories) where those libraries are installed.

You are also recommended to review the GEOS-Chem library installation guide.

Installing up WRF-GC

After obtaining the WRF and WRF-GC code in the Downloading WRF-GC step, you will need to set up the compile environment as follows:

  • Set the environmental variables WRF_EM_CORE = 1, WRF_NMM_CORE = 0, and WRF_CHEM = 1 in your shell.
  • Configure WRF using the hybrid sigma-eta grid option using the configure script, setting the distributed-memory parallel (dmpar) version of WRF with the Intel C and Fortran compilers. There is limited support for PGI and gfortran compilers, but they are not recommended for this alpha build.
  • After configuration please navigate to the WRF-GC "chem" directory, and issue the following command: make install_registry. **This step is critical and must be done manually before compilation.**
  • Compile WRF-GC using the ./compile em_real command.

We suggest you to review the [WRF User's Guide http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_V3.9/users_guide_chap1.htm] for additional installation information.