CAMP 1.0.0
Chemistry Across Multiple Phases
|
CAMP is software for solving multi-phase chemistry in atmospheric models. For a overview of what CAMP can do, check out part 0 of the CAMP tutorial. A description of the CAMP model elements and how to use them follows.
CAMP uses json input files to load chemical species, mechanisms, aerosol phases, aerosol representations, and sub-models at runtime. How to use CAMP in a new or existing model is described in the Boot CAMP tutorial.
You will need to have c and Fortran compilers along with CMake to build the CAMP library. In addition, CAMP has the following dependencies:
Library | Version | Source |
---|---|---|
SUNDIALS | custom | camp/cvode-3.4-alpha.tar.gz |
SuiteSparse | 5.1.0 | http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-5.1.0.tar.gz |
json-fortran | 6.1.0 | https://github.com/jacobwilliams/json-fortran/archive/6.1.0.tar.gz |
The SUNDIALS library must be built with the ENABLE_KLU
flag set to ON
and the KLU library and include paths set according to the SuiteSparse installation.
To install CAMP locally, from the camp/
folder:
You can also check out ./Dockerfile (or ./Dockerfile.mpi for MPI applications) to see how CAMP is built for automated testing.
CAMP uses two types of input files:
json
file containing a list of CAMP configuration file names.json
files containing all the CAMP configuration data.To initialize CAMP , the path to the file list must be passed to the camp_camp_core::camp_core_t constructor. The method by which this is done depends on the host model configuration.
Follow the Boot CAMP tutorial to see how to integrate CAMP into your favorite model!