<div dir="ltr"><div>Thank you for reporting this. I think it was fixed a few days ago in rev. 11881:<br><a href="http://www.qe-forge.org/gf/project/q-e/scmsvn/?action=browse&path=%2Ftrunk%2Fespresso%2FFFTXlib%2Ffftw.h&sortby=rev&view=log">http://www.qe-forge.org/gf/project/q-e/scmsvn/?action=browse&path=%2Ftrunk%2Fespresso%2FFFTXlib%2Ffftw.h&sortby=rev&view=log</a><br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 16, 2015 at 7:17 PM, Reinaldo Pis Diez <span dir="ltr"><<a href="mailto:reinaldo.pisdiez@gmail.com" target="_blank">reinaldo.pisdiez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear folks,<br>
<br>
I'm a new QE user. I've searched the forum archives for similar<br>
problems but I was unable to find something useful to me.<br>
<br>
I'm compiling QE 5.2.1 in a linux cluster running CentOS 6.6 (gcc<br>
and gfortran 4.4.7). I've already installed openmpi 1.6.5 and ATLAS<br>
3.8.2 with full Lapack 3.6.0. To improve performance, I've also<br>
installed fftw 3.3.4.<br>
<br>
After a successful configure command with explicit BLAS_LIBS,<br>
LAPACK_LIBS and FFT_LIBS, compilation seems to be ok, too, but at<br>
linking time to create pw.x I got the message<br>
<br>
usr/local/lib/libfftw3.a(apiplan.o): In function `fftw_destroy_plan':<br>
apiplan.c:(.text+0x0): multiple definition of `fftw_destroy_plan'<br>
../../clib/clib.a(fft_stick.o):fft_stick.c:(.text+0x2ab20): first<br>
defined here<br>
<br>
and ld stop with error. The same error is obtained both using ATLAS<br>
or the native BLAS/LAPACK provided with the package (without passing<br>
BLAS_LIBS and LAPACK_LIBS to configure), thus it seems that it is<br>
not related to the functions doing linear algebra.<br>
<br>
It seems to me that the native fftw library provided with QE is in<br>
conflict with the fftw3 library as ld is using both<br>
/usr/local/lib/libfftw3.a and ../../clib/clib.a as can be seen above.<br>
<br>
I must say that if I compile without fftw3, all is ok, even the<br>
linking process.<br>
<br>
Any ideas? Thanks in advance,<br>
<br>
Reinaldo<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><span><font color="#888888">Paolo Giannozzi, Dept. Chemistry&Physics&Environment,<br>
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
Phone <a href="tel:%2B39-0432-558216" value="+390432558216" target="_blank">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222" target="_blank">+39-0432-558222</a></font></span></span></div></div></div></div>
</div>