PyMPI

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.

Example of usage

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 it's output on the screen.

External links

* [http://pympi.sourceforge.net/ pyMPI Project Homepage]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Пайтон — Python Класс языка: функциональный, объектно ориентированный, императивный, аспектно ориентированный Тип исполнения: интерпретация байт кода, компиляция в MSIL, компиляция в байт код Java Появился в: 1990 г …   Википедия

  • Message Passing Interface — MPI, the Message Passing Interface, is standardized and portable message passing system designed by a group of researchers from academia and industry to function on a wide variety of parallel computers. The standard defines the syntax and… …   Wikipedia

  • Interfaz de Paso de Mensajes — Para MPI (Multidimensional Poverty Index), véase Índice de pobreza multidimensional. MPI ( Message Passing Interface , Interfaz de Paso de Mensajes) es un estándar que define la sintaxis y la semántica de las funciones contenidas en una… …   Wikipedia Español

  • Python — У этого термина существуют и другие значения, см. Python (значения). Python Класс языка: му …   Википедия

  • Patrick J. Miller — is a computer scientist and high performance parallel applications developer with a Ph.D. in Computer Science from University of California, Davis, in runtime error detection and correction. Until recently he was with Lawrence Livermore National… …   Wikipedia

  • Message Passing Interface — MPI MPI Logo Basisdaten Entwickler Argonne National Laboratory Aktuelle Version …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”