Page 1 of 1

Installing fftw3 (3.3.4) on Mac OS 10.6.8

Posted: Sun Oct 12, 2014 11:53 pm
by esr3d
Hi,

I would like to install the fftw3 library to use with ABINIT. I am currently trying to install fftw-3.3.4 on Mac OS 10.6.8 (snow leopard). I have been using the following steps to install:

Code: Select all

./configure --enable-sse2 --enable-shared CC=/usr/bin/gcc-4.2 CPP=/usr/bin/cpp-4.2 F77=/usr/local/bin/gfortran

Code: Select all

make

Code: Select all

sudo make install


Then when I use 'make check' to test the library, for most things it tells me there is 'nothing to be done'. And when I try to compile ABINIT with the fftw3 library, it says it either can't find the library or the library does not work. I have included the full output from make check in an attachment.
Any suggestions on how to properly install the fftw library on Mac 10.6.8?

Thank you.

Re: Installing fftw3 (3.3.4) on Mac OS 10.6.8  [SOLVED]

Posted: Mon Oct 13, 2014 3:15 pm
by pouillon
This forum is dedicated to Abinit. For questions related to FFTW, please use their own mailing lists and forums.

This said, if you configured FFTW without specifying a prefix, the most probable is that it is installed in /usr/local. The corresponding options of the configure script of Abinit would thus be:

Code: Select all

--with-fft-flavor=fftw3 --with-fft-incs="-I/usr/local/include" --with-fft-libs="-L/usr/local/lib -lfftw3f -lfftw3"

Re: Installing fftw3 (3.3.4) on Mac OS 10.6.8

Posted: Mon Oct 13, 2014 5:01 pm
by esr3d
Sorry, I will check their forums. Thank you for your suggestion.