Skip to main content

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

Tests Flake8

Installation

python3 -m pip install NuMPI

Development Installation

Clone the repository.

To use the code, install the current package as editable:

pip install -e .[test]

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numpi-0.9.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numpi-0.9.0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file numpi-0.9.0.tar.gz.

File metadata

  • Download URL: numpi-0.9.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for numpi-0.9.0.tar.gz
Algorithm Hash digest
SHA256 9bc7d30572b4fe63f3257e16e8719092157eddd46036b802aa8e5a1e0e54d90e
MD5 da2b740aae91d2de42778e8ea1497f1c
BLAKE2b-256 7b9c723cdef00fb53c2a6bcacd30adc8503e064717ced1885aa63c6ef8777a77

See more details on using hashes here.

File details

Details for the file numpi-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: numpi-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for numpi-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80c794e8fa475032a0dd1983104c8deb73a7181a7d6ee1ad31df022d5d595e3a
MD5 d0e71a982d1e2c1a22a6728ddf630dc2
BLAKE2b-256 799e74779cda621012f3e44e62e0b91392f1a449f5b77a088b2d37424fea0930

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page