<div dir="ltr">I am using Ubuntu 16.04 with intel mpi and there was no error warning during FFTW installation.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 3 Jul 2019 at 15:33, Pavel Ondračka <<a href="mailto:pavel.ondracka@email.cz">pavel.ondracka@email.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Maybe Gavin can clarify but I'm not actually sure if the instructions<br>
in the mentioned email are 100% correct. FFTW there is compiled with<br>
the default static libs (libfftw3.a and libfftw3_mpi.a), but the actual<br>
-lfftw3 -lfftw3_mpi flags used for linking are for the dynamic library<br>
(libfftw3.so and libfftw3_mpi.so). My guess is that it worked for Gavin<br>
due to having another dynamic fftw somewhere in the path (e.g., the<br>
system fftw libraries)?<br>
<br>
Anyway, if you can get libfftw3.a but not libfftw3_mpi.a even when you<br>
pass --enable-mpi to fftw configure, there is likely some problem with<br>
your MPI installation. Were there any warnings during fftw configure?<br>
BTW on some distributions like Fedora, only installing openmpi or mpich<br>
is not enough you must also load it to set all the paths properly (for<br>
example on Fedora with "module load openmpi"). This is distribution<br>
specific though.<br>
<br>
To get the dynamic library, just pass --enable-shared to fftw<br>
configure, the Wien2k flags should work than (provided you can figure<br>
out the missing mpi fftw lib). However I would highly recommend to get<br>
the fftw from distribution repositories (something like libfftw3-mpi-<br>
dev and libfftw3-dev package is needed, but specific package names vary<br>
with distribution as well), unless you are on some enterprise systemwith legacy fftw version. <br>
<br>
Best regards<br>
Pavel<br>
<br>
On Wed, 2019-07-03 at 14:57 +0530, Riyajul Islam wrote:<br>
> Hellow wien2k users,<br>
> I am facing a problem in compiling FFTW in sitecofiguration. I have<br>
> followed all the steps as in "<br>
> <a href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18664.html" rel="noreferrer" target="_blank">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18664.html</a><br>
> ". But could nopt acces the<br>
> "/home/username/fftw3/mpi/.libs/libfftw3_mpi.a" as in in mailing<br>
> list.<br>
> the current settings for FFTW is <br>
> F FFTW options: -DFFTW3 -I/home/edison1/fftw3/include<br>
> FFTW-LIBS: -L/home/edison1/fftw3/lib64 -lfftw3<br>
> FFTW-PLIBS: NOT FOUND!<br>
> <br>
> How can I solve this issue?<br>
> <br>
> Regards,<br>
> Riyajul Islam<br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
> SEARCH the MAILING-LIST at: <br>
> <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#444444">Riyajul Islam</font><div><font color="#444444">Research Scholar</font></div><div><font color="#444444">National Institute of Technology Nagaland<br></font></div><div><div><font face="arial, helvetica, sans-serif" color="#444444">Chumukedima, Dimapur</font></div><div><font face="arial, helvetica, sans-serif" color="#444444">Nagaland 797103, India</font></div></div><div><br></div></div></div>