<br><br>----- Original Message -----<br>From: Fabio Affinito &lt;f.affinito@cineca.it&gt;<br>Date: Friday, September 24, 2010 17:23<br>Subject: [gmx-users] fftw and configure in 4.0.7 vs 4.5.1<br>To: gmx-users@gromacs.org<br><br>&gt; Hi everybody,<br>&gt; I'm experiencing several problems by running configure in 4.5.1. More<br>&gt; specifically, it seems it doesn't find fftw libraries.<br>&gt; It seems strange 'cause the same options used in 4.0.7 work fine.<br>&gt; These are my configure flags:<br>&gt; <br>&gt; ./configure --prefix=/bgp/userinternal/cin0644a/gromacs \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --enable-ppc-sqrt \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --disable-ppc-altivec \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-fft=fftw3 \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --without-x \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --enable-shared \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS="-O3 -qarch=auto -qtune=auto" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CC="xlc_r -q64" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXX="xlC_r -q64" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXXFLAGS="-O3 -qarch=auto -qtune=auto" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPPFLAGS="-I/bgp/userinternal/cin0644a/fftwlibs/include" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; F77="xlf_r -q64" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FFLAGS="-O3 -qnoprefetch -qarch=auto -qtune=auto" \<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDFLAGS="-L/bgp/userinternal/cin0644a/fftwlibs/lib"<br>&gt; <br>&gt; This is my error in 4.5.1<br>&gt; checking for sqrt in -lm... yes<br>&gt; checking for fftw3.h... yes<br>&gt; checking for main in -lfftw3f... no<br>&gt; configure: error: Cannot find fftw3f library<br>&gt; <br>&gt; Whilst in 4.0.7 everything works.<br>&gt; <br>&gt; Any hints?<br><br>Here you're compiling for the BlueGene front end, so you have to be sure you're pointing at FFTW compiled for the front end at the right precision. These will differ from those for the back end. However, for the front end, FFTW is more of a nice optional extra that might never be used, and fftpack is OK.<br><br>Mark