Skip to main content

Tools running parallel processes

Project description

Documentation

This package uses mpi4py and dill to spawn processes and execute them.

Installation

You need to have an MPI back-end installed on your machine and add the right path on the $LD_LIBRARY_PATH, so that mpi4py can link to it. You should install mpi4py manually by

$ pip install mpi4py

When everything is set, you can install the mpi_map using:

$ pip install mpi_map

ChangeLog

v1.0.1

  • map methods of classes

v1.0.3

  • added export of cwd in order to allow import of local modules

v1.0.17

  • Removed disconnect on stop(). This was causing an unnecessary deadlock.

v1.0.18

  • Reverted change of 1.0.17. The problem with disconnect seems to be related to mpi4py.

v1.0.19

  • Removed disconnect from children. Added free on master.

v1.0.20

  • Allowing for the running of method belonging to an object in the distributed memory.

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

mpi_map-2.0.tar.gz (28.8 kB view hashes)

Uploaded Source

Built Distribution

mpi_map-2.0-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

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