##// END OF EJS Templates
Updating the Sphinx docs in preparation for the release....
Updating the Sphinx docs in preparation for the release. I am going through the docs to make sure that i) there are no problems with the generation of the the Sphinx docs and ii) that our docs are an accurate reflection of the current state of the code. As of this commit, I have made a first pass at everything *except*: * Everything in the docs/source/interactive dir. This corresponds to most of the old IPython docs about the ipython shell. * The sections on the multiengine and task interfaces. Of course, this is just a first pass and we likely have lots more to do, but at least, our documentation exists and is no longer misleading or wrong.

File last commit:

r1256:9ed9604c
r1677:03e4c53a
Show More
parallel_mpi.txt
21 lines | 766 B | text/plain | TextLexer
Brian E Granger
Beginning to organize the rst documentation.
r1256 .. _parallelmpi:
=======================
Using MPI with IPython
=======================
The simplest way of getting started with MPI is to install an MPI implementation
(we recommend `Open MPI`_) and `mpi4py`_ and then start the engines using the
``mpirun`` command::
mpirun -n 4 ipengine --mpi=mpi4py
This will automatically import `mpi4py`_ and make sure that `MPI_Init` is called
at the right time. We also have built in support for `PyTrilinos`_, which can be
used (assuming `PyTrilinos`_ is installed) by starting the engines with::
mpirun -n 4 ipengine --mpi=pytrilinos
.. _MPI: http://www-unix.mcs.anl.gov/mpi/
.. _mpi4py: http://mpi4py.scipy.org/
.. _Open MPI: http://www.open-mpi.org/
.. _PyTrilinos: http://trilinos.sandia.gov/packages/pytrilinos/