Skip to content

Commit

Permalink
Add some documentation how to install on Fedora/RHEL using yum
Browse files Browse the repository at this point in the history
  • Loading branch information
tomspur committed Mar 5, 2015
1 parent d0169e6 commit 4ecc63a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,35 @@ You can also install the in-development version of mpi4py

$ easy_install https://bitbucket.org/mpi4py/mpi4py/get/master.tar.gz

You can also install it directly on Fedora and RHEL (and their derivatives)
using the epel repository

* using ``yum`` and the ``openmpi`` package on ``x86_64``::

# yum install mpi4py-openmpi

* using ``yum`` and the ``mpich`` package on ``x86_64``::

# yum install mpi4py-mpich

Please remember to load the correct module for your choosen mpi environment

* for ``openmpi`` package on ``x86_64`` do::

$ module load mpi/openmpi-x86_64
$ python -c "import mpi4py"

* for ``mpich`` package on ``x86_64`` do::

$ module load mpi/mpich-x86_64
$ python -c "import mpi4py"

Note however, that the later doesn't work on RHEL (and their derivatives)
because of `this bug`_ and you need to manually adjust your ``PYTHONPATH``
accordingly.

.. _this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1148992


Citations
---------
Expand Down

0 comments on commit 4ecc63a

Please sign in to comment.