FFT library FFTW3 is not available ....

54 views
Skip to first unread message

vasanth kumar

unread,
Oct 27, 2020, 1:01:26 AM10/27/20
to cp...@googlegroups.com

Hi

I tried to reproduce the one of the presentation given in https://www.archer2.ac.uk/training/courses/201013-cp2k/

but It is ended with  WARNING : FFT library FFTW3 is not available  Trying FFTSG as a default

pl find the inp and out files 

pl suggest the solution

your help greatly appreciated

thank you
--
With Regards

Dr. V. Vasantha Kumar
Assoc. Prof. of Physics
Vignan Institute of Technology and Science
Hyderabad.
Mob:9959363113
reactant.inp
reactant.out

Krack Matthias (PSI)

unread,
Oct 27, 2020, 3:54:41 AM10/27/20
to cp...@googlegroups.com

Hi

 

It seems your CP2K executable does not include the FFTW library. Check, if your CP2K executable was compiled with the –D__FFTW flag.

 

Matthias

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CAJeL8MaM3Nv%3Doi6v-Kft-3ScDjmgMrJN3eYRW0gYqGyb7HQi2w%40mail.gmail.com.

vasanth kumar

unread,
Oct 27, 2020, 4:39:39 AM10/27/20
to cp...@googlegroups.com
hi Matthias

tq for reply. I installed cp2k via cygwin on windows pc .
I am seeing a file as libcp2kfft in the lib folder.
I used an  arch file to compile the cp2k. arch file is attached to your reference. 
Thank you for help


Cygwin-i686-gfortran.sopt

Krack Matthias (PSI)

unread,
Oct 27, 2020, 4:50:41 AM10/27/20
to cp...@googlegroups.com

Hi

 

The arch file does not include the flag –D__FFTW and thus that lib is not available. Just use the default FFT lib FFTSG which is part of the CP2K code.

You may select the FFTSG as the preferred FFT lib (see https://manual.cp2k.org/trunk/CP2K_INPUT/GLOBAL.html#PREFERRED_FFT_LIBRARY) to get rid of the warning.

vasanth kumar

unread,
Oct 27, 2020, 1:03:30 PM10/27/20
to cp...@googlegroups.com
Hi Matthias
I tried to compile cp2k-7.1 in cygwin with the edited arch file, but got an error. 
pl find attached arch file and error screenshot. 
Thank you for help
image.png

Cygwin-i686-gfortran.sopt

Krack Matthias (PSI)

unread,
Oct 27, 2020, 2:45:41 PM10/27/20
to cp...@googlegroups.com

Hi

 

no clue how to fix that, since I am not using Cygwin. I can only suggest to build CP2K on a system running a Linux OS.

Reply all
Reply to author
Forward
0 new messages