wiki:MacosxOboe

OBOE installation on Mac OS X with fink

Introduction

This page descibes step-by-step the compilation of OBOE on Mac OS X with the fink distribution. The fink project supplies a package manager which eases the installation of unix open source software on MAC OS X. The compilation has been successfully done on Leopard, but it should be possible to do it on any other mac os x version with a working fink distribution.

1. Requirements

2. ATLAS installation

Install ATLAS from source either with the fink commander or in the Terminal:

fink install atlas

3. Installation of a Fortran compiler (necessary to LAPACK++)

Install ATLAS from source either with the fink commander or in the Terminal:

fink install g77

4. Installation of LAPACK++

In the terminal:

curl -O http://switch.dl.sourceforge.net/sourceforge/lapackpp/lapackpp-2.5.2.tar.gz
tar zxvf lapackpp-2.5.2.tar.gz
export FLIBS="-L/sw/lib -lfrtbegin -lg2c -lSystem"
cd lapackpp-2.5.1
./configure
make
sudo make install
sudo ln -s /usr/local/include/lapackpp /usr/local/include/lapackpp/include

5. Compilation of OBOE

In the terminal:

curl -O http://www.ordecsys2.com/oboe/OBOE-1.0.tar.bz2
tar jxvf OBOE-1.0.tar.bz2
cd OBOE-1.0

OBOE needs to know where to locate the BLAS, LAPACK and LAPACK++ library, so define some variables.

BLAS=/sw/lib/libcblas.a LAPACK=/sw/lib/liblapack.a \
LAPACKCPP_DIR=/usr/local/include/lapackpp/ \
LAPACKCPP_LIB=/usr/local/lib/liblapackpp.la ./configure --host=i686-linux
make

5. Testing you installation

Compile the sample applications:

make check

Enter the src/Benchmark directory, have a look to the README file and let's play with the sample applications which are locates in the subdirectories!

6. Tuning

Some major improvements in computation efficiency may be done by compiling yourself the BLAS, LAPACK and LAPACK++ libraries to match the characteristics of your processor such as SSE2 instructions, multi-core... Once you have compiled these libraries, you just need to modify the ./configure directive during the OBOE compilation.

Last modified 10 years ago Last modified on Feb 7, 2008 11:04:28 AM