landlab-parallel
Some utilities for working with landlab in a parallel environment.
Installation
pip install git+https://github.com/mcflugen/landlab-parallel.git
NOTE: To run the example, you'll need to install
mpi4py, which may be easiest to do in acondaenvironment,
conda create -n mpi4py mpi4py
conda activate mpi4py
Run
The run_example.py command has a simple command-line interface,
run_example.py SIZE [--mode {raster,odd-r}] [--seed SEED]
SIZE: Integer. The grid will have dimensions(SIZE, 2 * SIZE).--mode: Optional. Grid layout type. Choices:rasterodd-r
--seed: Optional. Integer random seed for initializing grid elevations.
Example
NOTE: If you are on a Mac, you may need to first set the fabric interface used by libfabric,
export FI_PROVIDER=tcp
To run an example,
mpiexec -n 4 python ./run_example.py 128 --mode=odd-r --seed=1945
Contributors
Release Notes
0.1.0 (not yet released)
- Initial code import #1
- Added new function,
vtu_dump, that dumps a landlab grid to vtu format #2. - Added new function,
pvtu_dump, that compbines a set of vtu files #3. - Fixed an issue where the lower-left corner of the tiles were not be calculated correctly #4.
- Added a command-line argument,
mode, that allows the user to modify the type of grid used for the example #5. - Added a command-line argument,
seed, that allows the user to provide a seed for the random number generator used to create the initial elevations #6. - Added a new component,
Uplift, that uplifts the landscape #7. - Modified the time loop to exchange ghost node data after every component is updated and also added drainage area to the list of data fields that are exchanged #8.
- Fixed a bug where the mode passed from the cli was ignored #9.
- Mask-out data at closed nodes when writing to vtu #10.
- Fixed an issue where ghost nodes were not being set correctly for some hex grids. #12.
- Added support for creating d8-style tiles, which connect diagonal nodes #13.
Metadata
Release files for landlab-parallel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| landlab_parallel-0.1.0.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| landlab_parallel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.1 kB
Release files / landlab_parallel-0.1.0.tar.gz
| Download URL | landlab_parallel-0.1.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0a15f2a2322a4a9337bf8183dad5dcd3069446e1159c4687d7d59a4c0fa9bb2
|
|
BLAKE2b-256 checksum How to use checksums |
836c0591ff8e246e3704334ebfc8f3f425c2f1f5b8f77df437fe397120bb908a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2025.
Transparency logRelease files / landlab_parallel-0.1.0-py3-none-any.whl
| Download URL | landlab_parallel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61e07edb221e8bbda57f5b815e346327c173e6fe9f11113761f49de85cec486c
|
|
BLAKE2b-256 checksum How to use checksums |
a1aaef778bee1aef0d87feb0dc6e1c5377d962b1adcb77d50d7928e6a8842ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 3, 2025.
Transparency log