Numerical tools for MPI-parallelized code
Project description
NuMPI
NuMPI is a collection of numerical tools for MPI-parallelized Python codes. NuMPI presently contains:
- An (incomplete) stub implementation of the mpi4py interface to the MPI libraries. This allows running serial versions of MPI parallel code without having
mpi4py
(and hence a full MPI stack) installed. - Parallel file IO in numpy's .npy format using MPI I/O.
- An MPI-parallel implementation of the L-BFGS optimizer.
- An MPI-parallel bound constrained conjugate gradients algorithm.
Build status
Installation
python3 -m pip install NuMPI
Development Installation
Clone the repository.
To use the code, use the env.sh script to set the environment:
source /path/to/NuMPI/env.sh
Testing
You have to do a development installation to be able to run the tests.
We use runtests.
From the main installation directory:
python run-tests.py
If you want to use NuMPI without mpi4py, you can simply run the tests with pytest.
pytest tests/
Testing on the cluster
On NEMO for example
msub -q express -l walltime=15:00,nodes=1:ppn=20 NEMO_test_job.sh -m bea
Development & Funding
Development of this project is funded by the European Research Council within Starting Grant 757343 and by the Deutsche Forschungsgemeinschaft within project EXC 2193.
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
File details
Details for the file numpi-0.6.1.tar.gz
.
File metadata
- Download URL: numpi-0.6.1.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8359f27413a0f3f3c7d635e522d9abc5836bed617d70fc295201aa81af8dc597 |
|
MD5 | a7ac66b9579e24b0e9058d5e7d25250c |
|
BLAKE2b-256 | 318e619f32c898b8bb63e3d95fbb682c76cb5f91253ba3ebef4ebf785241ef09 |
File details
Details for the file numpi-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: numpi-0.6.1-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b9950d8235077c5c75fb4d138262fb64bea30cf8efed62821d914db15200e6 |
|
MD5 | 9785d45dde3605d3519f152363a2478b |
|
BLAKE2b-256 | 261c2cfac55f222a735cb66fc357e2696f241c9edffd5d33308ec433a1a41d46 |