Open main menu

Changes

OpenMPI

331 bytes added, 11:04, 28 May 2015
no edit summary
# A functional MPI 1.x/2.x/3.x implementation like MPICH or Open MPI built with shared/dynamic libraries.
== Install OpenMPI on linux and set environments === Linux ==See https://www10.informatik.uni-erlangen.de/Cluster/
<source lang="bash">
which mpicc
# If not found set environments by loading module# See availmodule avail # Show what loading doesmodule show openmpi-x86_64 # See if anything is loadedmodule list # Loadmodule load openmpi-x86_64module list # Check for mpicc, mpirun or mpiexecwhich mpiccwhich mpirunwhich mpiexec # Unloadmodule unload openmpi-x86_64</source> If not found, try this fix, ref: http://forums.fedoraforum.org/showthread.php?t=194688<source lang="bash">
#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>
Trusted, Bureaucrats
1,382

edits