faffinit@davidefe02 davide-bld-gpu]$ cmake -DCMAKE_C_COMPILER="mpicc" -DCMAKE_CXX_COMPILER="mpiCC" -DQMC_CUDA=1 -DLAPACK_LIBRARIES="/cineca/prod/opt/libraries/lapack/3.8.0/gnu--6.4.0" -DBLAS_LIBRARIES=$BLAS_HOME -DLIBXML2_LIBRARY="/davide/home/userinternal/faffinit/libxml2-2.9.8/lib/lib" -DLIBXML2_INCLUDE_DIR="/davide/home/userinternal/faffinit/libxml2-2.9.8/lib/include/" ..
it fails with this "Could NOT find Threads (missing: Threads_FOUND)" error (see the error stack at the end of the message).
-- QMC_SYMLINK_TEST_FILES = TRUE. Using symbolic links for large test files may cause test failures if the build is installed on a separate filesystem from the source. For example, Titan at OLCF.
-- CMAKE_BUILD_TYPE is RELEASE
-- defining the float point precision
Base precision = double
Full precision = double
CUDA base precision = float
CUDA full precision = double
-- LMY engine is not compatiable with CUDA build! Disabling LMY engine
-- Trying to figure out .....
-- Compiler: GNU
-- Could NOT find Threads (missing: Threads_FOUND)
-- Could NOT find Threads (missing: Threads_FOUND)
-- A library with LAPACK API found.
-- LAPACK libraries: /cineca/prod/opt/libraries/lapack/3.8.0/gnu--6.4.0
-- LAPACK linker flags:
-- No usable vector math library detected.
-- MPI runner is mpirun
-- CXX compiler flags: -std=c++11 -fopenmp -fomit-frame-pointer -finline-limit=1000 -fstrict-aliasing -funroll-all-loops -D__forceinline=inline -Wno-deprecated -march=native
-- CC compiler flags: -std=c99 -fopenmp -fomit-frame-pointer -finline-limit=1000 -fstrict-aliasing -funroll-all-loops -Wno-deprecated -march=native
-- FFTW_INCLUDE_DIR=/cineca/prod/opt/libraries/fftw/3.3.8/openmpi--3.1.0--gnu--6.4.0/include
-- FFTW_LIBRARIES=/cineca/prod/opt/libraries/fftw/3.3.8/openmpi--3.1.0--gnu--6.4.0/lib/libfftw3.a
-- Found FFTW
-- Trying libxml2 via LIBXML2_HOME
-- Locating Libxml2 via FIND_PACKAGE
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Using HDF5 non-scalable serial I/O due to the lack of library support for parallel
-- Boost version: 1.67.0
-- Setting Boost_INCLUDE_DIRS=/davide/home/userinternal/faffinit/boost_1_67_0
CMake Error at /davide/prod/opt/tools/cmake/3.11/none/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/davide/prod/opt/tools/cmake/3.11/none/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/davide/prod/opt/tools/cmake/3.11/none/share/cmake-3.11/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/davide/prod/opt/tools/cmake/3.11/none/share/cmake-3.11/Modules/FindCUDA.cmake:873 (find_package)
CMakeLists.txt:653 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/davide/home/userinternal/faffinit/qmcpack-3.4.0/davide-bld-gpu/CMakeFiles/CMakeOutput.log".
See also "/davide/home/userinternal/faffinit/qmcpack-3.4.0/davide-bld-gpu/CMakeFiles/CMakeError.log".