[Wien] FFTW compiling

Gavin Abo gsabo at crimson.ua.edu
Wed Jul 3 15:39:25 CEST 2019


The problem might be with the FFTW-LIBS.  In the steps at [1], it looks 
like it set to "lib", but it is set to "lib64" in your case.

Check if libfftw3_mpi.a exists in lib or lib64.

For example, if the file exists in lib:

username at computername:~$ ls /home/username/fftw3/lib
cmake  libfftw3.a  libfftw3.la  libfftw3_mpi.a  libfftw3_mpi.la pkgconfig

Then, adjust your settings accordingly:

username at computername:~$ cd $WIENROOT
username at computername:~/WIEN2k$ ./siteconfig
...
   Selection: O
...
   F   FFTW options:            -DFFTW3 -I/home/username/fftw3/include
       FFTW-LIBS:               -L/home/username/fftw3/lib64 -lfftw3
       FFTW-PLIBS:              NOT FOUND!
...
Selection: F
...
Selection:L
Enter the target achitecture of your FFTW library (e.g. lib64)!: lib
...
    FFTW_OPT:             -DFFTW3 -I/home/username/fftw3/include
    FFTW_LIBS:            -L/home/username/fftw3/lib -lfftw3
    FFTW-PLIBS:           -lfftw3_mpi
...

[1] 
https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18664.html

On 7/3/2019 3:27 AM, Riyajul Islam wrote:
> Hellow wien2k users,
> I am facing a problem in compiling FFTW in sitecofiguration. I have 
> followed all the steps as in 
> "https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18664.html". 
> But could nopt acces the 
> "/home/username/fftw3/mpi/.libs/libfftw3_mpi.a" as in in mailing list.
> the current settings for FFTW is
> F   FFTW options:            -DFFTW3 -I/home/edison1/fftw3/include
>       FFTW-LIBS:               -L/home/edison1/fftw3/lib64 -lfftw3
>       FFTW-PLIBS:              NOT FOUND!
>
> How can I solve this issue?
>
> Regards,
> Riyajul Islam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20190703/afb7e1dc/attachment.html>


More information about the Wien mailing list