[CP2K-user] [CP2K:20351] FFTW "Wisdom" error

Santiago Movilla santiago.movilla at irbbarcelona.org
Wed Jun 19 10:29:46 UTC 2024


Hi CP2K community,  

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.  

If I start without wisdom file and defining PREFERRED_FFT_LIBRARY FFTW3, 
FFTW_PLAN_TYPE PATIENT and FFTW_WISDOM_FILE_NAME ./wisdom.dat, at the end 
of the cycles it throws the error message: 




*Error exporting wisdom to file wisdom.datpw/fft/fftw3_lib.F:161  ===== 
Routine Calling Stack =====             1 CP2K     *

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: 




*Error importing wisdom from file 
wisdom_fftw-wisdom.datpw/fft/fftw3_lib.F:222 ===== Routine Calling Stack 
=====             1 CP2K   *

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. 

Does anyone have any hints as to what might be causing the problem?
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.

Best, 

Santiago Movilla


On Monday, March 30, 2015 at 4:43:44 PM UTC+2 Iain Bethune wrote:

> Hi Martin,
>
> To really check it is working, I would run again with FFTW_PLAN_TYPE 
> PATIENT and FFTW_WISDOM_FILE_NAME set to the location of your file - this 
> should still read the wisdom, and the planning time should be much shorter, 
> while still giving the expected performance. 
>
> - Iain
>
> --
>
> Iain Bethune
> Project Manager, EPCC
>
> Email: ibet... at epcc.ed.ac.uk
> Twitter: @IainBethune
> Web: http://www2.epcc.ed.ac.uk/~ibethune
> Tel/Fax: +44 (0)131 650 5201 <+44%20131%20650%205201>/6555
> Mob: +44 (0)7598317015 <+44%207598%20317015>
> Addr: 2404 JCMB, The King's Buildings, Peter Guthrie Tait Road, Edinburgh, 
> EH9 3FD
>
> > On 30 Mar 2015, at 15:16, M. Brehm <brehmin... at googlemail.com> wrote:
> > 
> > Hi,
> > 
> > thank you for the detailed explanation. I just tried a small example 
> with just one single calculation. I was able to create a Wisdom file with 
> FFTW_PLAN_TYPE PATIENT just by specifying FFTW_WISDOM_FILE_NAME. Running 
> the same calculation without FFTW_PLAN_TYPE PATIENT, but reading that 
> Wisdom file instead, gives exactly the same performance as above. That's 
> great. Thank you again for enlightening this :-)
> > 
> > Best regards,
> > Martin
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "cp2k" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to cp2k+uns... at googlegroups.com.
> > To post to this group, send email to cp... at googlegroups.com.
> > Visit this group at http://groups.google.com/group/cp2k.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/1486873b-95ff-48d1-9245-897f1dbf5e56n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240619/1d2824c4/attachment-0001.htm>


More information about the CP2K-user mailing list