Utilities for working with landlab in a parallel environment
Project description
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.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file landlab_parallel-0.1.0.tar.gz.
File metadata
- Download URL: landlab_parallel-0.1.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0a15f2a2322a4a9337bf8183dad5dcd3069446e1159c4687d7d59a4c0fa9bb2
|
|
| MD5 |
9236acbfdc6146d3d447fe6d1eb3fc7c
|
|
| BLAKE2b-256 |
836c0591ff8e246e3704334ebfc8f3f425c2f1f5b8f77df437fe397120bb908a
|
Provenance
The following attestation bundles were made for landlab_parallel-0.1.0.tar.gz:
Publisher:
ci.yml on mcflugen/landlab-parallel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
landlab_parallel-0.1.0.tar.gz -
Subject digest:
f0a15f2a2322a4a9337bf8183dad5dcd3069446e1159c4687d7d59a4c0fa9bb2 - Sigstore transparency entry: 583119307
- Sigstore integration time:
-
Permalink:
mcflugen/landlab-parallel@125a540a118d6b8ead70bf9c348d532c5e7ef0fd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mcflugen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@125a540a118d6b8ead70bf9c348d532c5e7ef0fd -
Trigger Event:
push
-
Statement type:
File details
Details for the file landlab_parallel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: landlab_parallel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61e07edb221e8bbda57f5b815e346327c173e6fe9f11113761f49de85cec486c
|
|
| MD5 |
c1973b604ef26b00e48362fea4396883
|
|
| BLAKE2b-256 |
a1aaef778bee1aef0d87feb0dc6e1c5377d962b1adcb77d50d7928e6a8842ebd
|
Provenance
The following attestation bundles were made for landlab_parallel-0.1.0-py3-none-any.whl:
Publisher:
ci.yml on mcflugen/landlab-parallel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
landlab_parallel-0.1.0-py3-none-any.whl -
Subject digest:
61e07edb221e8bbda57f5b815e346327c173e6fe9f11113761f49de85cec486c - Sigstore transparency entry: 583119324
- Sigstore integration time:
-
Permalink:
mcflugen/landlab-parallel@125a540a118d6b8ead70bf9c348d532c5e7ef0fd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mcflugen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@125a540a118d6b8ead70bf9c348d532c5e7ef0fd -
Trigger Event:
push
-
Statement type: