In the following, we will assume that all tools will be installed in a directory called sf2013 in your home directory. Thus, start by
running the following command:
mkdir ~/sf2013
Basic commands and tools (ex. make, tar, gcc) are provided by installing
Xcode 4 and the Apple Command line tools.
Additional libraries and tools may be installed through binaries, using either
MacPorts or
HomeBrew.
Under Lion 10.7, the following "brew" commands where sucessfull:
brew install wget
brew install autoconf
brew install gfortran
brew install openmpi
brew install gsl
brew install ffmpeg
The FFTW library is a bit more tricky to install as we will use an old version compiled both for simple and double precision.
We install it in the sf2013 directory. See the instructions below:
download the tar file and uncompress it:
wget http://www.fftw.org/fftw-2.1.5.tar.gz
tar -xzf fftw-2.1.5.tar.gz
cd fftw-2.1.5
compile and install it in your home in single precision:
./configure --prefix=$HOME/local/fftw-2.1.5 --enable-type-prefix --enable-mpi --enable-float
make
make install
compile and install it in your home in double precision:
./configure --prefix=$HOME/local/fftw-2.1.5 --enable-type-prefix --enable-mpi
make
make install
We recommend to install python using the ENTHOUGHT (EPD) distribution which comes with other useful modules, like numpy and matplotlib.
Simply click on the following link to download and install the package.