
The Open MPIProject is an open source Message
Passing Interface implementation that is developed and maintained by
a consortium of academic, research, and industry partners. Open MPI is
therefore able to combine the expertise, technologies, and resources from all
across the High Performance Computing community in order to build the best MPI library
available.
1. Download the
source files from the below link and untar it.
tar xvf openmpi-1.8.1.tar
2. Go to the source
directory
cd
openmpi-1.8.1
3. Configure, compile and
install by using the following commands
./configure
--prefix=/home1/abhishek/installed/openmpi CC=gcc CXX=g++
make all
make
install
(a.) Add the
following lines on the .bashrc file in the home directory(permanent) or export these
environment variables from current working shell(temporary).
gedit ~/.bashrc
Add the path as
export
PATH=/home1/abhishek/installed/openmpi/bin/:$PATH
export
LD_LIBRARY_PATH=/home1/abhishek/installed/openmpi/ lib/:$LD_LIBRARY_PATH
export
INCLUDE=/home1/abhishek/installed/openmpi/include/: $INCLUDE
2. Source the .bashrc file
to apply changes.
source
~/.bashrc
Note: Current stable
release of Open MPI:Open Source High Performance Computing is Version 3.0
Refer this link for more details:
https://www.open-mpi.org/software/ompi/v3.0/
Refer this link for more details:
https://www.open-mpi.org/software/ompi/v3.0/
No comments:
Post a Comment