[CP2K-user] Compiling problems libfftw3_threads

Luis Fernandez Menchero luis... at gmail.com
Fri Jul 2 09:33:16 UTC 2021


  Hello all,

I am trying to compile cp2k in our HPC cluster, Kelvin2

https://www.ni-hpc.ac.uk/

The architecture is AMD-64, with Infiniband connection. I am using to 
compile the gcc version 9.3.0, with OpenMPI 4.0.4. We do not use 
multi-thread OMP.

I have installed all the toolchain and dependencies, and I have selected 
the architecture file 
Linux-x86-64-gfortran.psmp
I think this is the one that adjust the best to our architecture. I 
modified the file to get the paths of the dependencies in our cluster.

I receive the following error during the installation:

gfortran: error: 
/opt/apps/cp2k/2.1.4/gcc-9.3.0+openmpi-4.0.4+openblas-0.3.15+scalapack-2.1.0+plumed2-2.6.1/cp2k/tools/toolchain/install/fftw-3.3.8/lib/libfftw3_threads.a: 
No such file or directory
make[3]: *** 
[/opt/apps/cp2k/2.1.4/gcc-9.3.0+openmpi-4.0.4+openblas-0.3.15+scalapack-2.1.0+plumed2-2.6.1/cp2k/exe/Linux-x86-64-gfortran/memory_utilities_unittest.psmp] 
Error 1
make[2]: *** [all] Error 2
make[1]: *** [psmp] Error 2
make: *** [all] Error 2

I think it is not choosing properly the fftw3 library, it should not chose 
the threaded option.
Should I select a different architecture file?
Should I set any flag?

I attach the step-by-step description of the process, the complete error 
output, the modified architecture file, and the Makefile.

Thanks for your help.
Luis.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210702/b324da95/attachment.htm>


More information about the CP2K-user mailing list