This section discusses:
Configuring WRF compile.
Installing the GEOS-Chem species into WRF.
Configuring WRF compile
Go to the
If you are using WRF version 3:
If you are using WRF version 4 or above:
Select the compiler option corresponding to your environment, and select the (dmpar) option. e.g., Intel compiler, icc, ifort, (dmpar). dmpar is required and means distributed-memory parallel, which uses MPI and is used by WRF-GC.
Installing the GEOS-Chem species into WRF
This step is crucial. If this step is not performed, you will have to start this page over and waste hours of your time.
Go to the
WRF/chem folder and run
If this step shows an error, make sure you did download WRF-GC into
WRF/chem folder. It should look like this:
WRF/chem$ ls chem_driver.F Makefile gc config wrfgc_convert_state_mod.F ...
Go back to the
WRF folder and run:
Wait patiently. The process may take up to 2 - 4 hours depending on your system. If you encounter errors, note them down. A list of common errors is available at Common errors.
When successful, the output looks like
========================================================================== build started: Sun Apr 15 12:00:00 CST 2018 build completed: Sun Apr 15 13:00:00 CST 2018 ---> Executables successfully built <--- -rwxrwxr-x 1 hplin hplin 63670720 Apr 15 05:34 main/ndown.exe -rwxrwxr-x 1 hplin hplin 63753008 Apr 15 05:35 main/real.exe -rwxrwxr-x 1 hplin hplin 62683008 Apr 15 05:34 main/tc.exe -rwxrwxr-x 1 hplin hplin 71153896 Apr 15 05:34 main/wrf.exe ==========================================================================
Go one level up and then into the
If you encounter errors, note them down. A list of common errors is available at Common errors.