CAMP
Allows a given chemical mechanism to be solved in atmospheric models with different aerosol representations.
https://github.com/open-atmos/camp
Category: Atmosphere
Sub Category: Atmospheric Chemistry and Aerosol
Keywords from Contributors
atmospheric-modelling atmospheric-science
Last synced: about 7 hours ago
JSON representation
Repository metadata
Multi-phase chemistry treatment for atmospheric models
- Host: GitHub
- URL: https://github.com/open-atmos/camp
- Owner: open-atmos
- License: mit
- Created: 2021-07-28T14:31:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T18:34:12.000Z (about 1 month ago)
- Last Synced: 2025-04-18T22:13:05.631Z (9 days ago)
- Language: Fortran
- Homepage:
- Size: 521 MB
- Stars: 14
- Watchers: 8
- Forks: 10
- Open Issues: 7
- Releases: 6
-
Metadata Files:
- Readme: README.md
- License: COPYING
README.md
CAMP
CAMP: Chemistry Across Multiple Phases
The full CAMP documentation, including the BootCAMP tutorial is available here.
References:
Copyright (C) 2017–2021 Barcelona Supercomputing Center and the
University of Illinois at Urbana–Champaign
Running CAMP with Docker
This is the fastest way to get running.
-
Step 1: Install Docker Community Edition.
- On Linux and MacOS this is straightforward. Download from here.
- On Windows the best version is Docker Community Edition for Windows, which requires Windows 10 Pro/Edu.
-
Step 2: Run the CAMP test suite with:
docker run -it --rm ghcr.io/open-atmos/camp:main bash -c 'cd /build; make test'
Dependencies
Required dependencies:
- Fortran 2008 compiler - https://gcc.gnu.org/fortran/ or similar
- CMake version 2.6.4 or higher - http://www.cmake.org/
- json-fortran for JSON input file support -
https://github.com/jacobwilliams/json-fortran - SuiteSparse - http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-5.1.0.tar.gz
- A modified version of CVODE 3.1.2 - provided here in
cvode-3.4-alpha.tar.gz
Installation
-
Install cmake, json-fortran, SuiteSparse, and CVODE (see above).
-
Unpack CAMP:
tar xzvf camp-1.0.0.tar.gz
-
Change into the main CAMP directory (where this README file is
located):cd camp-1.0.0
-
Make a directory called
build
and change into it:mkdir build cd build
-
If desired, set environment variables to indicate the install
locations of supporting libraries. If runningecho $SHELL
indicates that you are runningbash
, then you can do something
like:export JSON_FORTRAN_HOME=${HOME}/opt export SUITE_SPARSE_HOME=${HOME}/opt export SUNDIALS_HOME=${HOME}/opt
Of course the exact directories will depend on where the libraries
are installed. You only need to set variables for libraries
installed in non-default locations, and only for those libraries
you want to use.If
echo $SHELL
instead istcsh
or similar, then the environment
variables can be set likesetenv NETCDF_HOME /
and similarly. -
Run cmake with the main CAMP directory as an argument (note the
double-c):ccmake ..
-
Inside ccmake press
c
to configure, edit the values as needed,
pressc
again, theng
to generate. Optional libraries can be
activated by setting theENABLE
variable toON
. For a parallel
build, toggle advanced mode witht
and set the
CMAKE_Fortran_COMPILER
tompif90
, then reconfigure. -
Optionally, enable compiler warnings by pressing
t
inside ccmake
to enable advanced options and then settingCMAKE_Fortran_FLAGS
to:-O2 -g -fimplicit-none -W -Wall -Wconversion -Wunderflow -Wimplicit-interface -Wno-compare-reals -Wno-unused -Wno-unused-parameter -Wno-unused-dummy-argument -fbounds-check
-
Compile CAMP and test it as follows. Some tests may fail due to
bad random initial conditions, so re-run the tests a few times to
see if failures persist.make make test
Owner metadata
- Name: open-atmos
- Login: open-atmos
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/87869712?v=4
- Repositories: 8
- Last ynced at: 2023-03-04T00:59:00.069Z
- Profile URL: https://github.com/open-atmos
GitHub Events
Total
- Issues event: 1
- Delete event: 3
- Member event: 1
- Push event: 7
- Pull request review comment event: 15
- Pull request review event: 16
- Pull request event: 9
- Fork event: 1
- Create event: 2
Last Year
- Issues event: 1
- Delete event: 3
- Member event: 1
- Push event: 7
- Pull request review comment event: 15
- Pull request review event: 16
- Pull request event: 9
- Fork event: 1
- Create event: 2
Committers metadata
Last synced: 7 days ago
Total Commits: 463
Total Committers: 9
Avg Commits per committer: 51.444
Development Distribution Score (DDS): 0.197
Commits in past year: 6
Committers in past year: 3
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.5
Name | Commits | |
---|---|---|
Matt Dawson | m****n@g****m | 372 |
cguzman | c****n@b****s | 68 |
Jeff Curtis | j****2@i****u | 5 |
Matt Dawson | m****n@b****s | 5 |
Sylwester Arabas | s****s@u****l | 4 |
Jessica Gasparik | 4****k | 3 |
Matthew West | m****t@i****u | 2 |
Kyle Shores | k****4@g****m | 2 |
Jeffrey N. Johnson | j****f@c****m | 2 |
Committer domains:
- illinois.edu: 2
- bsc.es: 2
- cohere-llc.com: 1
- uj.edu.pl: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 10
Total pull requests: 23
Average time to close issues: 24 days
Average time to close pull requests: 19 days
Total issue authors: 4
Total pull request authors: 6
Average comments per issue: 0.3
Average comments per pull request: 0.61
Merged pull request: 17
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 9
Past year average time to close issues: N/A
Past year average time to close pull requests: 21 days
Past year issue authors: 1
Past year pull request authors: 3
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.0
Past year merged pull request: 6
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- cguzman95 (4)
- mattldawson (3)
- K20shores (2)
- jcurtis2 (1)
Top Pull Request Authors
- jtgasparik (7)
- mattldawson (4)
- slayoo (4)
- cguzman95 (4)
- jeff-cohere (2)
- K20shores (2)
Top Issue Labels
- bug (2)
Top Pull Request Labels
- enhancement (1)
Dependencies
- actions/checkout v2 composite
- mattnotmitt/doxygen-action v1 composite
- peaceiris/actions-gh-pages v3 composite
- actions/checkout v1 composite
- actions/checkout v2 composite
- docker/build-push-action ad44023a93711e3deb337508980b4b5e9bcdc5dc composite
- docker/login-action f054a8b539a109f9f41c372932f1ae047eff08c9 composite
- docker/metadata-action 98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 composite
- fedora 37 build
Score: 5.241747015059643