<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I have compiled the FFTW Libraries using "--enable-openmp switch"
(complete commandline below):<br>
</p>
<p><br>
FC=ifx F77=ifx CC=gcc CFLAGS="-O3 -march=native -mavx2"
FCFLAGS="-O3 -xAVX2"\<br>
./configure --prefix=/usr/local/ --enable-shared --enable-mpi
--enable-openmp --enable-threads --enable-avx --enable-avx2</p>
<p>It should produce both: an ‘<samp>fftw3_omp</samp>’ and an ‘<samp>fftw3_threads</samp>’
library .. I have also checked up "/usr/local/lib64" were both
libraries exist.<br>
</p>
<p>Best regards,</p>
<p>Michael</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 30.10.2024 um 09:13 schrieb Peter
Blaha:<br>
</div>
<blockquote type="cite"
cite="mid:52aa4622-c9ce-430b-be11-47ba4561c1ce@tuwien.ac.at"><br>
------------------------------------------------- <br>
SRC_3ddens: <br>
I guess this is a linker problem and comes because the fftw
software was not compiled with omp support. The 2 functions are
called only when FFTW_OMP is set, and if the linker cannot find
them, they must be missing in the fftw-library, because the fftw
was not compiled with the corresponding switches. <br>
... <br>
#ifdef FFTW_OMP <br>
call dfftw_init_threads(omp_error) <br>
call dfftw_plan_with_nthreads(omp_get_max_threads()) <br>
#endif <br>
.... <br>
------------------------------------------------ <br>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Dr. Michael Fechtelkord
Institut für Geologie, Mineralogie und Geophysik
Ruhr-Universität Bochum
Universitätsstr. 150
D-44780 Bochum
Phone: +49 (234) 32-24380
Fax: +49 (234) 32-04380
Email: <a class="moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:Michael.Fechtelkord@ruhr-uni-bochum.de">Michael.Fechtelkord@ruhr-uni-bochum.de</a>
Web Page: <a class="moz-txt-link-freetext"
href="https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/">https://www.ruhr-uni-bochum.de/kristallographie/kc/mitarbeiter/fechtelkord/</a>
</pre>
</body>
</html>