Difference between revisions of "Install MPI on a MacBook"
(→Install) |
|||
Line 4: | Line 4: | ||
=Download= | =Download= | ||
* from [http://www.open-mpi.org/software/ompi/v1.6/ http://www.open-mpi.org/software/ompi/v1.6/] | * from [http://www.open-mpi.org/software/ompi/v1.6/ http://www.open-mpi.org/software/ompi/v1.6/] | ||
− | * get the tar.gz | + | * get the tar file openmpi-1.6.5.tar.gz (or whichever latest version is the current one). |
=Extract and Install= | =Extract and Install= |
Revision as of 12:44, 7 October 2013
--D. Thiebaut (talk) 12:43, 7 October 2013 (EDT)
Download
- from http://www.open-mpi.org/software/ompi/v1.6/
- get the tar file openmpi-1.6.5.tar.gz (or whichever latest version is the current one).
Extract and Install
- Assume that the downloaded file is in your ~/Downloads directory
- Just follow the directions in the INSTALL file, which are summarized below. The installation was done on *my* machine, and assumes the user is thiebaut. Change and plug-in your own user name.
cd mkdir mpi mkdir mpi/download cd mpi/download mv ../Downloads/openmpi-1.6.5.tar.gz . tar -xzvf openmpi-1.6.5.tar.gz cd openmpi-1.6.5 ./configure --prefix=/Users/thiebaut/mpi/ (replace thiebaut by your user name on your Mac)
The last command will take 10 minutes or so. When it is done, make all and install
make all install
This last command takes a while as well...