Difference between revisions of "Compiling GEOS-Chem"
From Geos-chem
(→References) |
|||
Line 126: | Line 126: | ||
#[https://cmake.org/cmake/help/latest/guide/tutorial/index.html ''CMake tutorial'' (cmake.org)] | #[https://cmake.org/cmake/help/latest/guide/tutorial/index.html ''CMake tutorial'' (cmake.org)] | ||
#[https://learnxinyminutes.com/docs/cmake/ ''Learn X in Y minutes (where X is CMake)''] | #[https://learnxinyminutes.com/docs/cmake/ ''Learn X in Y minutes (where X is CMake)''] | ||
− | |||
− | |||
---- | ---- | ||
'''''[[HISTORY.rc_and_other_configuration_files|Previous]] | [[Compiling with CMake|Next]] | [[Getting Started with GEOS-Chem]]''''' | '''''[[HISTORY.rc_and_other_configuration_files|Previous]] | [[Compiling with CMake|Next]] | [[Getting Started with GEOS-Chem]]''''' |
Revision as of 21:10, 8 December 2020
Previous | Next | Getting Started with GEOS-Chem
- Minimum system requirements
- Installing required software
- Configuring your computational environment
- Downloading source code
- Downloading data directories
- Creating run directories
- Configuring runs
- Compiling
- Running
- Output files
- Visualizing and processing output
- Coding and debugging
- Further reading
Contents
Overview
GEOS-Chem and GCHP use two build systems to compile source code files into an executable file:
At present, both GEOS-Chem "Classic" and GCHP use GNU Make. CMake will soon replace GNU Make in both GEOS-Chem "Classic" and GCHP.
--Bob Yantosca (talk) 22:11, 20 December 2019 (UTC)
Which versions can use GNU Make and which can use CMake?
GEOS-Chem "Classic" compatibility matrix
Some GEOS-Chem "Classic" versions are compatible with both CMake and GNU Make, as shown below.
GEOS-Chem "Classic" version | Uses GNU Make? | Uses CMake? |
---|---|---|
12.5.0 and prior | YES | NO |
12.6.* | YES | YES |
12.7.* | YES | YES |
12.8.* | YES | YES |
12.9.* | YES | YES |
13.0.0 (release TBD) and later | NO | YES |
--Bob Yantosca (talk) 21:21, 6 October 2020 (UTC)
GCHP compatibility matrix
Unlike GEOS-Chem "Classic", GCHP will have a "hard" transition from GNU Make to CMake in 13.0.0:
GCHP version | Uses GNU Make? | Uses CMake? |
---|---|---|
12.5.0 and prior | YES | NO |
12.6.* | YES | NO |
12.7.* | YES | NO |
12.8.* | YES | NO |
12.9.* | YES | NO |
13.0.0 (release TBD) and later | NO | YES |
--Bob Yantosca (talk) 21:22, 6 October 2020 (UTC)
References
- GNU Make Manual
- Mecklenburg, Robert, Managing Projects with GNU Make, Third Edition,, O'Reilly and Associates, 2004.
- CMake FAQ by Liam Bindle
- CMake tutorial (cmake.org)
- Learn X in Y minutes (where X is CMake)