MPY 0.1

MPI for Python

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Yung-Yu Chen
HOMEPAGE:
bitbucket.org
CATEGORY:
ROOT \ System \ Clustering and Distributed Networks
MPY (MPi for Python) is a single-module wrapper for any MPI library. Just copy the mpy.py then it works (needless to say, after you have MPI installed on a cluster). MPY has no external dependency other than a working MPI installation and a standard Python. The MPI installation has to be built with shared object since MPY uses ctypes as interface.

All the functions in the MPI library can be accessed by MPI().Name_Without_Leading_MPI(), and you must manually convert the arguments from Python objects to ctypes objects. Shorthand APIs and Pythonic APIs are also provided. Shorthand APIs use Python objects and can return Python objects, with the same naming convention as MPI, but all lower-cased. Pythonic APIs are Pythonic.

You can verify the "installation" of MPY by running:

mpiexec -n 2 python mpy.py

Last updated on October 27th, 2010

requirements

#module wrapper #MPI library #MPI #library #wrapper #Python

Add your review!

SUBMIT