<div dir="auto"><div><div>Perhaps important: you and others can (and perhaps should) use in your .bashrc</div><div dir="auto"><br></div><div><div dir="auto">#New API, with patch</div><div dir="auto">var="$@"</div><div dir="auto">source /opt/intel/oneapi/setvars.sh --force > /dev/null \</div><div dir="auto"> -config="$HOME/bin/oapi.txt"</div><div dir="auto">eval set -- $var</div></div><div dir="auto"><br></div><div dir="auto">Where I have in oapi.txt</div><div dir="auto">compiler=2021.1.1</div><div dir="auto">mpi=2021.1.1</div><div dir="auto">mkl=2021.1.1</div><div dir="auto">intelpython=exclude</div><div dir="auto">default=exclude</div><div dir="auto"><br></div><div dir="auto">You can edit this to your preference, using other versions. I use 2021 as it works and I have yet to see anything useful in later versions. By default setvars.sh will use the latest version installed, this overrides that. The information is buried in the Intel docs.</div><div dir="auto"><br></div><div dir="auto">The two "var" lines are to cure a bug that Intel did not understand and denied existed in setvard.sh. It has to do with their assumptions about how people would use the compiler which, of course, are too limited. Beware bugs in newer versions of that code!</div><div dir="auto"><br></div><div data-smartmail="gmail_signature">___<br>Emeritus Professor Laurence Marks (Laurie)<br>Department of Materials Science and Engineering, Northwestern University<br><a href="http://www.numis.northwestern.edu">www.numis.northwestern.edu</a><br>"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert Szent-Györgyi</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Jan 4, 2025, 12:50 Michael Fechtelkord via Wien <<a href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  Dear Gerhard,<br>
<br>
<br>
thanks for all your hints, they showed no difference. The link error <br>
still occurred. But I saw that you used ifort, instead of ifx for <br>
compiling the fftw3 libraries. And that makes the difference.<br>
<br>
When I compile the fftw libraries with ifx and gcc the link error occurs <br>
for 3ddens. When I compile fftw3 with ifort and gcc, no error occurs in <br>
compilation of 3ddens.<br>
<br>
I have no idea where the difference is.<br>
<br>
In the 2025 oneapi version ifort and icc do not exist any longer and <br>
people cannot use it to compile the fftw3 library. So we have now to <br>
find out what ifort does different compared to ifx when it compiles the <br>
fftw3 code concerning intel threading.<br>
<br>
<br>
Thanks again for your help and happy new year!<br>
<br>
<br>
Best regards,<br>
<br>
Michael<br>
<br><br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer 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 noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div></div></div>