Page 1 of 1

Can not find FFTW

Posted: Thu Jul 23, 2009 12:01 pm
by nkxirainbow
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.

Re: Can not find FFTW

Posted: Mon Jul 27, 2009 4:11 pm
by Conor Hogan
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

Re: Can not find FFTW

Posted: Tue Jul 28, 2009 3:45 am
by nkxirainbow
Dear Dr. Conor Hogan:
Thanks for you explanation:)