fbpx
Wikipedia

pyMPI

pyMPI is a software project that integrates the Message Passing Interface (MPI) into the Python interpreter.

It allows one to write parallel programs using the Python language.

It has not been updated since 2013-04-17. [1]

Example of usage edit

This python program:

$ mpirun -np 3 pyMPI > import mpi > print "Hi, I'm process #%d" % mpi.rank 

will print this output:

Hi, I'm process #0 Hi, I'm process #1 Hi, I'm process #2 

The -np parameter given to mpirun tells mpi to use 3 processes, and each process in its turn prints its output on the screen.

References edit

  1. ^ "MPI Python". SourceForge. Retrieved 2018-12-16.

External links edit

pympi, topic, this, article, meet, wikipedia, notability, guidelines, products, services, please, help, demonstrate, notability, topic, citing, reliable, secondary, sources, that, independent, topic, provide, significant, coverage, beyond, mere, trivial, menti. The topic of this article may not meet Wikipedia s notability guidelines for products and services Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention If notability cannot be shown the article is likely to be merged redirected or deleted Find sources PyMPI news newspapers books scholar JSTOR February 2015 Learn how and when to remove this template message This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources PyMPI news newspapers books scholar JSTOR February 2015 Learn how and when to remove this template message pyMPI is a software project that integrates the Message Passing Interface MPI into the Python interpreter It allows one to write parallel programs using the Python language It has not been updated since 2013 04 17 1 Example of usage editThis python program mpirun np 3 pyMPI gt import mpi gt print Hi I m process d mpi rank will print this output Hi I m process 0 Hi I m process 1 Hi I m process 2 The np parameter given to mpirun tells mpi to use 3 processes and each process in its turn prints its output on the screen References edit MPI Python SourceForge Retrieved 2018 12 16 External links editPyMPI on SourceForge Retrieved from https en wikipedia org w index php title PyMPI amp oldid 979635058, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.