<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>MPI for Python — MPI for Python 1.3.1 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '1.3.1', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="MPI for Python 1.3.1 documentation" href="index.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li><a href="index.html">MPI for Python 1.3.1 documentation</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="mpi-for-python"> <h1>MPI for Python<a class="headerlink" href="#mpi-for-python" title="Permalink to this headline">ΒΆ</a></h1> <div class="topic"> <p class="topic-title first">Abstract</p> <p>This document describes the <em>MPI for Python</em> package. <em>MPI for Python</em> provides bindings of the <em>Message Passing Interface</em> (MPI) standard for the Python programming language, allowing any Python program to exploit multiple processors.</p> <p>This package is constructed on top of the MPI-1/2 specifications and provides an object oriented interface which closely follows MPI-2 C++ bindings. It supports point-to-point (sends, receives) and collective (broadcasts, scatters, gathers) communications of any <em>picklable</em> Python object, as well as optimized communications of Python object exposing the single-segment buffer interface (NumPy arrays, builtin bytes/string/array objects)</p> </div> <div class="toctree-wrapper compound"> <ul> <li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction</a><ul> <li class="toctree-l2"><a class="reference internal" href="intro.html#what-is-mpi">What is MPI?</a></li> <li class="toctree-l2"><a class="reference internal" href="intro.html#what-is-python">What is Python?</a></li> <li class="toctree-l2"><a class="reference internal" href="intro.html#related-projects">Related Projects</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="mpi4py.html">Design and Interface Overview</a><ul> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#communicating-python-objects-and-array-data">Communicating Python Objects and Array Data</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#communicators">Communicators</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#point-to-point-communications">Point-to-Point Communications</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#collective-communications">Collective Communications</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#dynamic-process-management">Dynamic Process Management</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#one-sided-communications">One-Sided Communications</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#parallel-input-output">Parallel Input/Output</a></li> <li class="toctree-l2"><a class="reference internal" href="mpi4py.html#environmental-management">Environmental Management</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="install.html">Installation</a><ul> <li class="toctree-l2"><a class="reference internal" href="install.html#requirements">Requirements</a></li> <li class="toctree-l2"><a class="reference internal" href="install.html#using-pip-or-easy-install">Using <strong>pip</strong> or <strong>easy_install</strong></a></li> <li class="toctree-l2"><a class="reference internal" href="install.html#using-distutils">Using <strong>distutils</strong></a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="tutorial.html">Tutorial</a><ul> <li class="toctree-l2"><a class="reference internal" href="tutorial.html#point-to-point-communication">Point-to-Point Communication</a></li> <li class="toctree-l2"><a class="reference internal" href="tutorial.html#collective-communication">Collective Communication</a></li> <li class="toctree-l2"><a class="reference internal" href="tutorial.html#dynamic-process-management">Dynamic Process Management</a></li> <li class="toctree-l2"><a class="reference internal" href="tutorial.html#wrapping-with-swig">Wrapping with SWIG</a></li> <li class="toctree-l2"><a class="reference internal" href="tutorial.html#wrapping-with-f2py">Wrapping with F2Py</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="appendix.html">Appendix</a><ul> <li class="toctree-l2"><a class="reference internal" href="appendix.html#mpi-enabled-python-interpreter">MPI-enabled Python interpreter</a></li> <li class="toctree-l2"><a class="reference internal" href="appendix.html#mac-os-x-and-universal-sdk-python-builds">Mac OS X and Universal/SDK Python builds</a></li> <li class="toctree-l2"><a class="reference internal" href="appendix.html#building-mpi-from-sources">Building MPI from sources</a></li> </ul> </li> </ul> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/manual.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li><a href="index.html">MPI for Python 1.3.1 documentation</a> »</li> </ul> </div> <div class="footer"> © Copyright 2013, Lisandro Dalcin. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>