<div dir="ltr"><div>Remove the two lines containing variable "fftw_version" in FFTxlib/fftw.c and FFTxlib/fftw.h<br><br></div>Paolo<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 15, 2016 at 3:32 PM, Giovanni Cantele <span dir="ltr"><<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thanks for your response. Is there any way in which to make Intel MKL working automatically after configure?<div><br></div><div>Indeed, after adding -I/opt/intel/mkl/include/fftw/ to IFLAGS, the compilation goes on but then stops at the point where the executable pw.x</div><div>should be created, with the error:</div><div>/opt/intel/mkl/interfaces/fftw3xf/libfftw3xf_intel.a(fftw_version.o):(.rodata+0x0): multiple definition of `fftw_version'<br>../../FFTXlib/libqefft.a(fft_stick.o):(.data+0x430): first defined here<br>ld: Warning: size of symbol `fftw_version' changed from 8 in ../../FFTXlib/libqefft.a(fft_stick.o) to 25 in /opt/intel/mkl/interfaces/fftw3xf/libfftw3xf_intel.a(fftw_version.o)</div><div><br></div><div><br></div><div>I never found this kind of errors with previous QE releases.</div><div><br></div><div><span class="">Giovanni<br><br><br><div> -- <br><br>Giovanni Cantele, PhD<br>CNR-SPIN<br>c/o Dipartimento di Fisica<br>Universita' di Napoli "Federico II"<br>Complesso Universitario M. S. Angelo - Ed. 6<br>Via Cintia, I-80126, Napoli, Italy<br>e-mail: <a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a><br>Phone: <a href="tel:%2B39%20081%20676910" value="+39081676910" target="_blank">+39 081 676910</a><br>Skype contact: giocan74<br><br>ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009" target="_blank">http://www.researcherid.com/rid/A-1951-2009</a><br>Web page: <a href="http://people.na.infn.it/~cantele" target="_blank">http://people.na.infn.it/~cantele</a><br>
</div>
<br></span><div><div class="h5"><div><blockquote type="cite"><div>On 15 Jan 2016, at 15:14, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>You need to install libfftw3-dev in addition to libfftw3. If you are using fftw3 from MKL, you may just add the location of the fftw3.f file to IFLAGS<br><br></div>Paolo<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 15, 2016 at 2:49 PM, Giovanni Cantele <span dir="ltr"><<a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I’m trying to compile QE 5.3.0 using the Intel compiler. The “make pw” command produces the error:<br>
<br>
fft_scalar.FFTW3.f90(40): #error: can't find include file: fftw3.f<br>
<br>
I understand that the error occurs at the<br>
#include "fftw3.f”<br>
line of fft_scalar.FFTW3.f90.<br>
<br>
Actually, a file named fftw3.f is NOT present anywhere within the espresso-5.3.0 directory.<br>
<br>
Any hint is appreciated.<br>
<br>
<br>
Thanks,<br>
<br>
Giovanni<br>
<br>
<br>
--<br>
<br>
Giovanni Cantele, PhD<br>
CNR-SPIN<br>
c/o Dipartimento di Fisica<br>
Universita' di Napoli "Federico II"<br>
Complesso Universitario M. S. Angelo - Ed. 6<br>
Via Cintia, I-80126, Napoli, Italy<br>
e-mail: <a href="mailto:giovanni.cantele@spin.cnr.it" target="_blank">giovanni.cantele@spin.cnr.it</a><br>
Phone: <a href="tel:%2B39%20081%20676910" value="+39081676910" target="_blank">+39 081 676910</a><br>
Skype contact: giocan74<br>
<br>
ResearcherID: <a href="http://www.researcherid.com/rid/A-1951-2009" rel="noreferrer" target="_blank">http://www.researcherid.com/rid/A-1951-2009</a><br>
Web page: <a href="http://people.na.infn.it/~cantele" rel="noreferrer" target="_blank">http://people.na.infn.it/~cantele</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org" target="_blank">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></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<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><br><br></div></div></div></div></div>
</div>
_______________________________________________<br>Pw_forum mailing list<br><a href="mailto:Pw_forum@pwscf.org" target="_blank">Pw_forum@pwscf.org</a><br><a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a></div></blockquote></div><br></div></div></div></div><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"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div>