Schedules for incremental checkpointing of adjoint simulations.
Project description
checkpoint_schedules
checkpoint_schedules provides schedules for step-based incremental checkpointing of the adjoints to computer models. The schedules contain instructions indicating the sequence of forward and adjoint steps to be executed, and the data storage and retrieval to be performed.
The schedule instructions are independent of the model implementation, which enables the model authors to switch between checkpointing algorithms without recoding their adjoint solvers. Conversely, checkpoint_schedules provides developers of checkpointing algorithms with a direct mechanism to convey their work to model authors.
Installation
checkpoint_schedules is a Python package and can be installed using pip
pip install checkpoint-schedules
Usage
The usage guide of checkpoint_schedules is available here.
Contributing
We welcome contributions to checkpoint_schedules! To contribute please consider the following steps:
- Fork the repository.
- Make your changes.
- Make sure that the tests pass by running
pytest test
andpytest --nbval-lax docs/notebooks/
- Add tests for your changes (if applicable).
- Add documentation for your changes that follows the Sphinx format.
- Submit your pull request.
Bug reports
Please report bugs on the issue tracker.
Documentation
The complete documentation for checkpoint_schedules is available at Firedrake project website.
License
checkpoint_schedules is licensed under the GNU LGPL version 3. See the LICENSE file for details.
Citation
If you use checkpoint_schedules in your research, please cite this paper .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file checkpoint_schedules-1.0.4.tar.gz
.
File metadata
- Download URL: checkpoint_schedules-1.0.4.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa9191a6da910fd1b1e0526df2ca7ecea04823fe5106360e3e23d2413dcfeeb |
|
MD5 | feb86d65d4303af32ba955dce98e0ffb |
|
BLAKE2b-256 | c709485ed5ffc5ddf615118b6660c6a8c18430432ed0a170a0d21bd2dbb42583 |
File details
Details for the file checkpoint_schedules-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: checkpoint_schedules-1.0.4-py3-none-any.whl
- Upload date:
- Size: 41.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9191409c8fbb9710345111b99163e312a9779d73ae6d593a638ecdf48c0dfa59 |
|
MD5 | 7e340a0f4410be04c70cbcbe4322ab5b |
|
BLAKE2b-256 | 4ca0e4579dbaff503194a3c97a7bd241e65501aa547129a4c9d2a60dc807b2ce |