Telling GEOS-Chem to use a custom mechanism¶
GEOS-Chem will always use the default mechanism (which is named
Standard depending on which version you
have). To tell GEOS-Chem to use the
custom mechanism, follow
For GEOS-Chem versions using CMake¶
If your GEOS-Chem version uses CMake, thenen navigate to your build directory.
GEOS-Chem Classic run directories have a subdirectory named
build in which you can configure and build
GEOS-Chem. If you don’t have a build directory, you can add one to your run directory.
From the build directory, type:
$ cmake ../CodeDir -DCUSTOMMECH=y -DRUNDIR=..
NOTE: In some later GEOS-Chem 12 versions, the proper command is:
$ cmake ../CodeDir -DCHEM=custom
Please consult the GEOS-Chem manual for more information.
You should see output similar to this written to the screen:
-- General settings: * CUSTOMMECH: **ON** OFF
This confirms that the custom mechanism has been selected.
Once you have configured GEOS-Chem to use the
you may build the exectuable. Type:
$ make -j $ make -j install
The executable file (
gchp, depending on which
mode of GEOS-Chem that you are using) will be placed in the run directory.