Installation for parallel processing using Grand Central Dispatch (Mac OS X 10.7+ only)


Compiling and installing FFTW3

Version 3.3.3 or later of FFTW3 can be obtained from http://www.fftw.org

The clang compiler on Mac OS X 10.7+ uses GCD and pthreads, and FFTW3 should be configured as follows:

./configure --enable-float --enable-threads --enable-shared --disable-fortran CC="clang" CXX="clang++"

The compilation and installation should then be simply:

make

sudo make install


Compiling parallel Bsoft with GCD

As for the serial version of Bsoft, the recommended location for Bsoft is in /usr/local. Most of the instructions for the serial version also applies here. The compilation requires additional flags:

bmake gcd fftw3 threads

A custom location for FFTW3 can also be specified:

bmake omp fftw3=/somedisk/mydirectory