Revision 1ae1b3cf29511f157f8a07b1711961180c729d8e authored by Andrew M. Bradley on 18 October 2021, 20:00:17 UTC, committed by Andrew M. Bradley on 18 October 2021, 20:00:17 UTC
When multiple components use Kokkos, we need to be careful about initializing and finalizing Kokkos. Each can occur only once, and finalization must occur after the last component using Kokkos has deallocated its views. This commit modifies cime_comp_mod to finalize components in the opposite order that it initializes them. Then a component can use is_initialized to determine if it is in charge of initializing and finalizing Kokkos. In this commit, I've modified SL transport to follow this pattern.
1 parent 55d0464
README.md
[![E3SM Logo](https://e3sm.org/wp-content/themes/e3sm/assets/images/e3sm-logo.png)](https://e3sm.org)
Energy Exascale Earth System Model (E3SM)
================================================================================
E3SM is a state-of-the-art fully coupled model of the Earth's climate including
important biogeochemical and cryospheric processes. It is intended to address
the most challenging and demanding climate-change research problems and
Department of Energy mission needs while efficiently using DOE Leadership
Computing Facilities.
DOI: [10.11578/E3SM/dc.20210927.1](http://dx.doi.org/10.11578/E3SM/dc.20210927.1)
Please visit the [project website](https://e3sm.org) or our [Confluence site](https://acme-climate.atlassian.net/wiki/spaces/DOC/overview)
for further details.
For questions about the model, use [Github Discussions](https://github.com/E3SM-Project/E3SM/discussions)
Table of Contents
--------------------------------------------------------------------------------
- [Quick Start](#quickstart)
- [Supported Machines](#supportedmachines)
- [Running](#running)
- [Contributing](#contributing)
- [Acknowledge](#acknowledge)
- [License](#license)
Quick Start
--------------------------------------------------------------------------------
The [Quick Start](https://e3sm.org/model/running-e3sm/e3sm-quick-start/) page
includes instructions on obtaining the necessary code and input data for model
setup and execution on a supported machine.
Supported Machines
--------------------------------------------------------------------------------
E3SM is a high-performance computing application and generally requires a
capable compute cluster to run a scientifically validated case at a useful
simulation speed.
To run E3SM, it is recommended that you obtain time on a
[Supported Machine](https://e3sm.org/model/running-e3sm/supported-machines/).
Running
--------------------------------------------------------------------------------
Please refer to [Running E3SM](https://e3sm.org/model/running-e3sm/)
for instructions on running the model.
Contributing
--------------------------------------------------------------------------------
Please refer to [Contributing](CONTRIBUTING.md) for details on our code development
process.
Acknowledgement
--------------------------------------------------------------------------------
The Energy Exascale Earth System Model (E3SM) Project should be acknowledged in
publications as the origin of the model using
[these guidelines](https://e3sm.org/resources/policies/acknowledge-e3sm/).
In addition, the software should be cited. For your convenience,
the following BibTeX entry is provided.
```TeX
@misc{e3sm-model,
title = {{Energy Exascale Earth System Model (E3SM)}},
author = {{E3SM Project}},
abstractNote = {{E3SM} is a state-of-the-art fully coupled model of the {E}arth's
climate including important biogeochemical and cryospheric processes.},
howpublished = {[Computer Software] \url{https://dx.doi.org/10.11578/E3SM/dc.20210927.1}},
url = {https://dx.doi.org/10.11578/E3SM/dc.20210927.1},
doi = {10.11578/E3SM/dc.20210927.1},
year = 2021,
month = sep,
}
```
License
--------------------------------------------------------------------------------
The E3SM model is available under a BSD 3-clause license.
Please see [LICENSE](LICENSE) for details.
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...