Difference between revisions of "Installing WRF-GC"
From atmoschem
Linhaipeng (Talk | contribs) |
|||
Line 20: | Line 20: | ||
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. | 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. | ||
− | + | = Setting up WRF-GC = | |
− | + | '''Obtain the WRF model and the WPS pre-processing system.''' Recommended version is WRF v3.9.1.1. At present, only WRF version 3.9+ is supported as it provides the hybrid sigma-eta vertical grid functionality required by GEOS-Chem. | |
− | • WRF | + | Please refer to the following documentation to set up WRF: |
+ | |||
+ | • WRF User's Guide: http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_V3.9/users_guide_chap1.htm | ||
• Download Page: http://www2.mmm.ucar.edu/wrf/users/downloads.html | • Download Page: http://www2.mmm.ucar.edu/wrf/users/downloads.html | ||
− | '''Obtain the GEOS-Chem model and WRF-GC interface.''' After downloading the WRF model, go into the WRF or WRFV3 directory (depending on your WRF version). In the folder where arch, dyn_em, main | + | '''Obtain the GEOS-Chem model and WRF-GC interface.''' After downloading the WRF model, go into the WRF or WRFV3 directory (depending on your WRF version). In the folder where arch, dyn_em, main ... folders are located in, drop in the WRF-GC code with the bundled GEOS-Chem version in a folder named "chem". |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | = Installing WRF-GC = | ||
− | |||
− | |||
Please refer to the WRF User’s Guide for installation, taking note that: | Please refer to the WRF User’s Guide for installation, taking note that: | ||
• Set the NETCDF, HDF5 environment variables, JASPERLIB and JASPERINC to the respective “lib” and “include” directories, and WRF_EM_CORE to 1, WRF_NMM_CORE to 0, WRF_CHEM to 1. | • Set the NETCDF, HDF5 environment variables, JASPERLIB and JASPERINC to the respective “lib” and “include” directories, and WRF_EM_CORE to 1, WRF_NMM_CORE to 0, WRF_CHEM to 1. |
Revision as of 17:16, 25 December 2018
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.
- 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.
Setting up WRF-GC
Obtain the WRF model and the WPS pre-processing system. Recommended version is WRF v3.9.1.1. At present, only WRF version 3.9+ is supported as it provides the hybrid sigma-eta vertical grid functionality required by GEOS-Chem.
Please refer to the following documentation to set up WRF:
• WRF User's Guide: http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_V3.9/users_guide_chap1.htm
• Download Page: http://www2.mmm.ucar.edu/wrf/users/downloads.html
Obtain the GEOS-Chem model and WRF-GC interface. After downloading the WRF model, go into the WRF or WRFV3 directory (depending on your WRF version). In the folder where arch, dyn_em, main ... folders are located in, drop in the WRF-GC code with the bundled GEOS-Chem version in a folder named "chem".
Installing WRF-GC
Please refer to the WRF User’s Guide for installation, taking note that: • Set the NETCDF, HDF5 environment variables, JASPERLIB and JASPERINC to the respective “lib” and “include” directories, and WRF_EM_CORE to 1, WRF_NMM_CORE to 0, WRF_CHEM to 1.
• The configure command must include the hybrid grid option: ./configure -hyb
• Choose the distributed-memory parallel (dmpar) version of WRF, with Intel C & Fortran compilers
• Before compiling, go into the “chem” subdirectory and install the WRF-GC registry: make install_registry
• Compile WRF-GC like WRF-Chem: ./compile em_real