This guide was created for the 1.4.1 release of the OpenMPI libraries. This information is for both x64 processors running 64-bit Linux or x86 processors running 32-bit Linux.
OpenMPI is freely available. The OpenMPI webpage is at http://www.openmpi.org
(From the webpage) "A High Performance Message Passing Library
The Open MPI Project is an open source MPI-2 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. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
Features implemented or in short-term development for Open MPI include:
openmpi-1.4.1.tar.gz source code can be downloaded from http://www.open-mpi.org/software/ompi/v1.4
None
Untar the OpenMPI package:
tar -xvzf openmpi-1.4.1.tar.gz cd openmpi-1.4.1
Set the environment for the code:
For PGI 2010 version 10.4 and above:
env CC=pgcc FC=pgfortran F77=pgfortran CXX=pgcpp CFLAGS=-fast FCFLAGS=-fast \ FFLAGS=-fast CXXFLAGS=-fast ./configure --prefix=/usr/local/openmpi >& configure.log
For PGI 2010 version 10.3 and below on systems running glibc 4.3:
env CC=pgcc FC=pgfortran F77=pgfortran CXX=pgcpp CFLAGS="-fast -I/usr/include" \ FCFLAGS=-fast FFLAGS=-fast CXXFLAGS=-fast ./configure --prefix=/usr/local/openmpi \ >& configure.log
For PGI 2010 version 10.3 and below on older Linux distributions:
env CC=pgcc FC=pgfortran F77=pgfortran CXX=pgcpp CFLAGS=-fast FCFLAGS=-fast FFLAGS=-fast \ CXXFLAGS=-fast ./configure --prefix=/usr/local/openmpi >& configure.log
Build the code:
make >& make.log
Check the build:
make check
Install the code:
sudo su make install
None