A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

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

README.md

CAMP

CAMP: Chemistry Across Multiple Phases

Latest version
CI Status
License

http://open-atmos.org/camp/

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.

docker run -it --rm ghcr.io/open-atmos/camp:main bash -c 'cd /build; make test'

Dependencies

Required dependencies:

Installation

  1. Install cmake, json-fortran, SuiteSparse, and CVODE (see above).

  2. Unpack CAMP:

     tar xzvf camp-1.0.0.tar.gz
    
  3. Change into the main CAMP directory (where this README file is
    located):

     cd camp-1.0.0
    
  4. Make a directory called build and change into it:

     mkdir build
     cd build
    
  5. If desired, set environment variables to indicate the install
    locations of supporting libraries. If running echo $SHELL
    indicates that you are running bash, 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 is tcsh or similar, then the environment
    variables can be set like setenv NETCDF_HOME / and similarly.

  6. Run cmake with the main CAMP directory as an argument (note the
    double-c):

     ccmake ..
    
  7. Inside ccmake press c to configure, edit the values as needed,
    press c again, then g to generate. Optional libraries can be
    activated by setting the ENABLE variable to ON. For a parallel
    build, toggle advanced mode with t and set the
    CMAKE_Fortran_COMPILER to mpif90, then reconfigure.

  8. Optionally, enable compiler warnings by pressing t inside ccmake
    to enable advanced options and then setting CMAKE_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
    
  9. 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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/open-atmos/camp

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

.github/workflows/gh-pages.yml actions
  • actions/checkout v2 composite
  • mattnotmitt/doxygen-action v1 composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/main.yml actions
  • actions/checkout v1 composite
.github/workflows/publish-package.yml actions
  • actions/checkout v2 composite
  • docker/build-push-action ad44023a93711e3deb337508980b4b5e9bcdc5dc composite
  • docker/login-action f054a8b539a109f9f41c372932f1ae047eff08c9 composite
  • docker/metadata-action 98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 composite
Dockerfile docker
  • fedora 37 build

Score: 5.241747015059643