Open main menu

Changes

Installation linux

285 bytes added, 15:30, 11 September 2013
The [https://code.google.com/p/mpi4py/ mpi4py] libraries can be installed on all Linux systems by typing [http://mpi4py.scipy.org/docs/usrman/install.html or check instructions here.]:
<source lang="bash">
# Install openmpi-devel, to get 'mpicc'
sudo yum install openmpi-devel
# Check for mpicc
which mpicc
# If not found, try this fix. For 23/64 bit computer.
sudo ln -s /usr/lib/openmpi/bin/mpicc /usr/bin/mpicc
sudo ln -s /usr/lib64/openmpi/bin/mpicc /usr/bin/mpicc
 
# Then install mp4py
wget https://bitbucket.org/mpi4py/mpi4py/downloads/mpi4py-1.3.1.tar.gz
tar -xzf mpi4py-1.3.1.tar.gz
Trusted, Bureaucrats
1,382

edits