You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no matter what I set for CMAKE_PREFIX_PATH or CMAKE_MODULE_PATH, SIRIUS is unable to locate FindFFTW.cmake required by SpFFT:
[...]
-- Found LibXC: /data/tiziano/cp2k/tools/toolchain/install/libxc-5.1.4/lib/libxc.a (Required is at least version "4.0.0")
-- Found LibSPG: /data/tiziano/cp2k/tools/toolchain/install/spglib-1.16.0/lib/libsymspg.a
-- Found HDF5: /data/tiziano/cp2k/tools/toolchain/install/hdf5-1.12.0/lib/libhdf5.a;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.12.0") found components: C
CMake Error at /data/tiziano/cp2k/tools/toolchain/install/cmake-3.18.5/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "FindFFTW.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FFTW", but
CMake did not find one.
Could not find a package configuration file provided by "FFTW" with any of
the following names:
FFTWConfig.cmake
fftw-config.cmake
Add the installation prefix of "FFTW" to CMAKE_PREFIX_PATH or set
"FFTW_DIR" to a directory containing one of the above files. If "FFTW"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/data/tiziano/cp2k/tools/toolchain/install/SpFFT-1.0.3/lib/cmake/SpFFT/SpFFTStaticConfig.cmake:24 (find_dependency)
/data/tiziano/cp2k/tools/toolchain/install/SpFFT-1.0.3/lib/cmake/SpFFT/SpFFTConfig.cmake:5 (include)
CMakeLists.txt:138 (find_package)
-- Configuring incomplete, errors occurred!
See also "/data/tiziano/cp2k/tools/toolchain/build/SIRIUS-7.2.5/build/CMakeFiles/CMakeOutput.log".
ERROR: (./scripts/stage8/install_sirius.sh, line 139) Non-zero exit code detected.
Moving the modules/ directory from spfft/ to SpFFT/ where SpFFTTargets.cmake and friends are fixes the build error.
The text was updated successfully, but these errors were encountered:
You are right, the installation path for modules was incorrect. Wasn't a problem I noticed with a case-insensitive filesystem (macOS) 😅 .
Fixed by 22b16cc.
I'll create a new release with several CMake fixes today.
no matter what I set for
CMAKE_PREFIX_PATH
orCMAKE_MODULE_PATH
, SIRIUS is unable to locateFindFFTW.cmake
required by SpFFT:Moving the
modules/
directory fromspfft/
toSpFFT/
whereSpFFTTargets.cmake
and friends are fixes the build error.The text was updated successfully, but these errors were encountered: