Open main menu

Changes

OpenMPI

511 bytes added, 11:35, 31 July 2014
cd ..
</source>
 
= Install OpenMPI =
 
== Linux ==
 
<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, ref: http://forums.fedoraforum.org/showthread.php?t=194688
#For 32 computer.
sudo ln -s /usr/lib/openmpi/bin/mpicc /usr/bin/mpicc
# For 64 bit computer.
sudo ln -s /usr/lib64/openmpi/bin/mpicc /usr/bin/mpicc
 
# Source your shell settings, to find the executable,
# or restart your terminal.
source $HOME/.cshrc
</source>