[Pw_forum] compilation issue, QE 5.3.0

Paolo Giannozzi p.giannozzi at gmail.com
Fri Jan 15 15:39:55 CET 2016


Remove the two lines containing variable "fftw_version" in FFTxlib/fftw.c
and FFTxlib/fftw.h

Paolo

On Fri, Jan 15, 2016 at 3:32 PM, Giovanni Cantele <
giovanni.cantele at spin.cnr.it> wrote:

> Thanks for your response. Is there any way in which to make Intel MKL
> working automatically after configure?
>
> 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
> should be created, with the error:
> /opt/intel/mkl/interfaces/fftw3xf/libfftw3xf_intel.a(fftw_version.o):(.rodata+0x0):
> multiple definition of `fftw_version'
> ../../FFTXlib/libqefft.a(fft_stick.o):(.data+0x430): first defined here
> 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)
>
>
> I never found this kind of errors with previous QE releases.
>
> Giovanni
>
>
>  --
>
> Giovanni Cantele, PhD
> CNR-SPIN
> c/o Dipartimento di Fisica
> Universita' di Napoli "Federico II"
> Complesso Universitario M. S. Angelo - Ed. 6
> Via Cintia, I-80126, Napoli, Italy
> e-mail: giovanni.cantele at spin.cnr.it
> Phone: +39 081 676910
> Skype contact: giocan74
>
> ResearcherID: http://www.researcherid.com/rid/A-1951-2009
> Web page: http://people.na.infn.it/~cantele
>
> On 15 Jan 2016, at 15:14, Paolo Giannozzi <p.giannozzi at gmail.com> wrote:
>
> 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
>
> Paolo
>
>
> On Fri, Jan 15, 2016 at 2:49 PM, Giovanni Cantele <
> giovanni.cantele at spin.cnr.it> wrote:
>
>> Hi all,
>>
>> I’m trying to compile QE 5.3.0 using the Intel compiler. The “make pw”
>> command produces the error:
>>
>> fft_scalar.FFTW3.f90(40): #error: can't find include file: fftw3.f
>>
>> I understand that the error occurs at the
>> #include "fftw3.f”
>> line of fft_scalar.FFTW3.f90.
>>
>> Actually, a file named fftw3.f is NOT present anywhere within the
>> espresso-5.3.0 directory.
>>
>> Any hint is appreciated.
>>
>>
>> Thanks,
>>
>>     Giovanni
>>
>>
>> --
>>
>> Giovanni Cantele, PhD
>> CNR-SPIN
>> c/o Dipartimento di Fisica
>> Universita' di Napoli "Federico II"
>> Complesso Universitario M. S. Angelo - Ed. 6
>> Via Cintia, I-80126, Napoli, Italy
>> e-mail: giovanni.cantele at spin.cnr.it
>> Phone: +39 081 676910
>> Skype contact: giocan74
>>
>> ResearcherID: http://www.researcherid.com/rid/A-1951-2009
>> Web page: http://people.na.infn.it/~cantele
>>
>>
>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://pwscf.org/mailman/listinfo/pw_forum
>
>
>
>
> --
> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
> Phone +39-0432-558216, fax +39-0432-558222
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>
>
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://pwscf.org/mailman/listinfo/pw_forum
>



-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20160115/1e40de99/attachment.html>


More information about the users mailing list