...
This is a wiki on how to install OpenMPI 1.5 to your home directory without using sudo. This will also not modify the installed version of GCC.
Open Terminal and type in each command in it's entirety.
Code Block |
---|
cd ~ |
...
curl http://www.open-mpi.org/software/ompi/v1.5/downloads/openmpi-1.5.tar.bz2 > openmpi-1.5.tar.bz2 |
...
tar xvzf openmpi-1.5.tar.bz2 tar xvzf openmpi-1.5.tar.bz2 |
...
cd openmpi-1.5 cd openmpi-1.5 |
...
mkdir $HOME/bin mkdir $HOME/bin |
...
F77="/usr/local/bin/g77" && export FFLAGS="-m64" && ./configure --prefix=$HOME/bin/ F77="/usr/local/bin/g77" && export FFLAGS="-m64" && ./configure --prefix=$HOME/bin/ |
...
make all install make all install |
This will install it into your ~/bin directory. You'll need to modify your .bashrc, .profile, or .cshrc file respectively in order to be able to execute the binaries without specifying its path.