As a workaround, stick to the default (
FFTW_PLAN_TYPE 

ESTIMATE). This is well tested.

I am able to reproduce the issue locally but currently do not know why it actually fails.<br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Frederick Stein schrieb am Donnerstag, 20. Juni 2024 um 10:58:22 UTC+2:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear Santiago,</div><div>Thank you for your report. This is apparently a bug. I am currently trying to fix it such that it will still be part of the next release.</div><div>Best,</div><div>Frederick<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">Santiago Movilla schrieb am Mittwoch, 19. Juni 2024 um 12:42:15 UTC+2:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi CP2K community,  <br><br>I am trying to take advantage of the fftw 
pre-planning in my QM/MM calculation. However, I am unable to get CP2K 
to write or read the wisdom file.  <br><br>If I start without wisdom file and defining<span><span> PREFERRED_FFT_LIBRARY FFTW3,</span></span> FFTW_PLAN_TYPE PATIENT and FFTW_WISDOM_FILE_NAME ./wisdom.dat, at the end of the cycles it throws the error message: <br><br><i>Error exporting wisdom to file wisdom.dat<br>pw/fft/fftw3_lib.F:161 <br> ===== Routine Calling Stack ===== <br>            1 CP2K     </i><br><br>On
 the other hand, if I generate a generic wisdom using fftw-wisdom (same 
version, architecture, fftw plan type and OMP set up that I then use 
with CP2K), the error is: <br><br><i>Error importing wisdom from file wisdom_fftw-wisdom.dat<br>pw/fft/fftw3_lib.F:222<br> ===== Routine Calling Stack ===== <br>            1 CP2K   </i><br><br>I
 have tested with the container version 
cp2k_2024.1_mpich_generic_psmp.sif (arch=linux-rocky8-sapphirerapids) 
and also with the CP2K version 2024.1 available in spack for 
arch=linux-rocky8-skylake_avx512. The version of fftw in both cases is 
3.3.10. <br><br>Does anyone have any hints as to what might be causing the problem?<br>By
 removing FFTW_WISDOM_FILE_NAME keyword from the input, the job 
terminates without error.  But I can't take advantage of the wisdom 
pre-planning.<br><br>Best, <br><br>Santiago Movilla</blockquote></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/fb71e4f4-52e1-49f7-8f8a-5782cc78c0d7n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/fb71e4f4-52e1-49f7-8f8a-5782cc78c0d7n%40googlegroups.com</a>.<br />