Skip to main content

A very lightweight implementation of distributed arrays

Project description

pnumpy
======

$Id: README 26 2014-02-16 20:07:08Z pletzer $

"Parallel computing in N dimensions made easy"

pnumpy is a very lightweight implementation of distributed arrays,
which runs on architectures ranging from multi-core laptops to large
MPI clusters. pnumpy is based on numpy and mpi4py and supports arrays in
any number of dimensions. Processes can access remote data using a "get"
method. This can be used to access neighbor ghost data but is more
flexible as it allows to access data from any process--not necessarily
a neighboring one. pnumpy is designed to work seamlessly with numpy's
slicing operators ufunc, etc., making it easy to transition your code
from using numpy arrays to pnumpy arrays.

Getting pnumpy
--------------

Stable versions of pnumpy can be accessed and installed using

$ [sudo] pip install pnumpy

or

$ [sudo] easy_install pnumpy

The latest source version can be accessed anonymously from the sourceforge site
using the command:

$ svn co https://svn.code.sf.net/p/pnumpy/code/trunk pnumpy

Building pnumpy by hand
-----------------------

pnumpy needs python 2.x, mpi4py, and numpy. To install pnumpy type:

$ [sudo] python setup.py install

or

$ python setup.py install --prefix=<install_directory>

if you wish to install pnumpy under install_directory (make sure
to set the PYTHONPATH environment variable to
<install_directory/lib/python<version>/site-packages).

Documentation
-------------

Please visit https://sourceforge.net/p/pnumpy/wiki/Home/ for examples showing
how to use pnumpy.

Testing
-------

$ cd tests
$ mpiexec -n 4 python testDistArray.py (or any other test)

Contact
-------

Send email to Alexander Pletzer (alexander _at_ gokliya _dot_ net) for bug
reports, questions, and request for additional features.

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

pnumpy-1.0.6.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file pnumpy-1.0.6.tar.gz.

File metadata

  • Download URL: pnumpy-1.0.6.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pnumpy-1.0.6.tar.gz
Algorithm Hash digest
SHA256 db396d0cbb59bd329d9dbe97490ddde2234cfabcc0751076d9bfc9fc003e5f2d
MD5 00ece56f2d7bf64681f3ede1a413a3ec
BLAKE2b-256 919155194c39ce631f5fb663caf81481abf3ce5e80ab58eaddc5c2c788610238

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