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.

v2.0

  • Advanced management of distributed memory

v2.1

  • Fixed a leftover bug on the allocation of memory thorugh function evaluation.

v2.2

  • Added barrier synchronization to prevent buffer overloading in heavily asynchronous applications

v2.3

  • Added barrier sync in binary communications

v2.4

  • Fixed handling of non-tuple outputs in mpi_map_alloc_dmem

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.6.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

mpi_map-2.6-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file mpi_map-2.6.tar.gz.

File metadata

  • Download URL: mpi_map-2.6.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for mpi_map-2.6.tar.gz
Algorithm Hash digest
SHA256 2ad56c11d97b5f1956c8271801d4e083932cb14eb2971ab667b81488371334b7
MD5 20eaba1097d78de7dfa9c09c57abbee7
BLAKE2b-256 849b8761c59955c230342a6719f38ba78474a482e0adf88ce436631bee2e17bd

See more details on using hashes here.

File details

Details for the file mpi_map-2.6-py3-none-any.whl.

File metadata

  • Download URL: mpi_map-2.6-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for mpi_map-2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dcac1203904d1e6e722e375863d4f3021939ed1dbe7d0cf0cbbddb57de1a3289
MD5 f5ee15a2df881de316c69a7828ba4bfe
BLAKE2b-256 f8f3c788b7a9b95387e39f0e94ff4b15d23f2c8ac1ffca9a457c025b70f08924

See more details on using hashes here.

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