Can not find FFTW

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
nkxirainbow
Posts: 11
Joined: Wed Jul 22, 2009 6:12 am

Can not find FFTW

Post by nkxirainbow » Thu Jul 23, 2009 12:01 pm

Dear Professor:

When I try to compile yambo with fftw, I met with a problem.
I did not change the original configure file, and input "./configure --with-fftw=/usr/local/lib/"
Then I got
......
checking for FFTW... no
......
I have attached the output of configure.

I do find some file of fftw in /usr/local/lib as shown below:
raman@/usr/local/lib>find *fft*
libdfftw.a
libdfftw.la
libdfftw_mpi.a
libdfftw_mpi.la
libdrfftw.a
libdrfftw.la
libdrfftw_mpi.a
libdrfftw_mpi.la

By the way, I configure yambo and run the bulk_silicon sample smoothly, when I compile it with "./configure --with-netcdf-include=/home/raman/accessory-soft/netcdf/include/ --with-netcdf-lib=/home/raman/accessory-soft/netcdf/lib/ --with-iotk=/home/raman/espresso-4.0.4/iotk/ --with-p2y=4.0."
My compiler is g95 and mpif90.The architecture is fedora 10 with 64-bit, and the version of Yambo is "yambo-3.2.1-r.448".

Thanks 8-)

------------------------------
Hui Wang
Nankai University, China.
You do not have the required permissions to view the files attached to this post.

User avatar
Conor Hogan
Posts: 111
Joined: Tue Mar 17, 2009 12:17 pm
Contact:

Re: Can not find FFTW

Post by Conor Hogan » Mon Jul 27, 2009 4:11 pm

Dear Hui,
Yambo should work ok with FFTW version 3 (3.1.2 I think), which has a single library libfftw3.a.
The FFTW version available on your system appears to be the older version 2 (libdfftw.a).
If I remember correctly, the interface is different for the two versions, so only v3 will be compatible.
Since v2 has been superceded by v3, we have no plans to support v2. Sorry!
Regards,
Conor
Dr. Conor Hogan
CNR-ISM, via Fosso del Cavaliere, 00133 Roma, Italy;
Department of Physics and European Theoretical Spectroscopy Facility (ETSF),
University of Rome "Tor Vergata".

nkxirainbow
Posts: 11
Joined: Wed Jul 22, 2009 6:12 am

Re: Can not find FFTW

Post by nkxirainbow » Tue Jul 28, 2009 3:45 am

Dear Dr. Conor Hogan:
Thanks for you explanation:)
Hui Wang
Nankai Universty, China
nkxirainbow@gmail.com

Post Reply