Hi Christoph,
I am getting these kind of Eigen 3 errors when building on Centos 7. I have eigen3 installed. I am attempting to install from the master version files downloaded today via the README. What am I missing with eigen3? It seems to detect it.
See below for output
Thanks.
Josh
This is VOTCA's next generation build system.
Usage:
prefix=WHERE/TO/INSTALL/VOTCA
version=master # or 'stable' or 'v1.4.1'
git clone -b ${version} --recursive
https://github.com/votca/votca.git cd votca
mkdir build
cd build
cmake -DBUILD_CSGAPPS=ON -DBUILD_XTP=ON -DCMAKE_INSTALL_PREFIX=${prefix} ..
make -j<number of cores>
make install
[/usr/include/eigen3]$ ls -lrt
total 8
-rw-r--r--. 1 root root 216 Jun 15 2017 signature_of_eigen3_matrix_library
drwxr-xr-x. 3 root root 18 May 26 2018 unsupported
drwxr-xr-x. 3 root root 4096 Oct 29 12:01 Eigen
cmake3 -DBUILD_CSGAPPS=ON -DBUILD_XTP=ON -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3 -DCMAKE_INSTALL_PREFIX=${prefix} ..
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- system
-- 'Intel OpenMP' used for MKL parallelisation
-- Found Eigen3: /usr/share/eigen3
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- system
-- Found Eigen3: /usr/share/eigen3
-- Found VOTCA_TOOLS:
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.8.12") found components: C
-- Found VOTCA_CSG:
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib64/libhdf5_cpp.so;/usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found suitable version "1.8.12", minimum required is "1.8") found components: CXX
-- Boost version: 1.68.0
-- Found the following Boost libraries:
-- program_options
-- serialization
-- filesystem
-- system
-- timer
-- chrono
-- Found Eigen3: /usr/share/eigen3
-- Found VOTCA_TOOLS:
-- Found VOTCA_CSG:
-- Could NOT find CLANG_FORMAT: Found unsuitable version "0.0", but required is at least "7.0.1" (found /bin/clang-format)
-- The following OPTIONAL packages have been found:
* Git
* MKL
* TXT2TAGS
* UnixCommands
* OpenMP
* PkgConfig
* Doxygen
-- The following REQUIRED packages have been found:
* FFTW3
* EXPAT
* Threads
* GROMACS (required version >= 20160000)
* LIBXC
* HDF5 (required version >= 1.8)
* Boost (required version >= 1.57.0)
* Eigen3 (required version >= 3.3.0)
-- The following OPTIONAL packages have not been found:
* CLANG_FORMAT (required version >= 7.0.1)
-- Configuring done
CMake Error at tools/src/libtools/CMakeLists.txt:8 (add_library):
Target "votca_tools" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at tools/src/tools/CMakeLists.txt:3 (add_executable):
Target "votca_property" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/libcsg/CMakeLists.txt:12 (add_library):
Target "votca_csg" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/libcsg/CMakeLists.txt:12 (add_library):
Target "votca_csg" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_resample" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_map" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_density" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_reupdate" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_dlptopol" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_property" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_stat" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_fmatch" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_gmxtopol" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_dump" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_imc_solve" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/csg_boltzmann/CMakeLists.txt:9 (add_executable):
Target "csg_boltzmann" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/csg_boltzmann/CMakeLists.txt:6 (add_library):
Target "votca_csg_boltzmann" links to target "Eigen3::Eigen" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/share/template/CMakeLists.txt:3 (add_executable):
Target "template_threaded" links to target "Eigen3::Eigen" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/share/template/CMakeLists.txt:3 (add_executable):
Target "template_serial" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "fluctuations" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "orientcorr" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "sphericalorder" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "part_dist" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "partial_rdf" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "traj_force" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csgapps/CMakeLists.txt:50 (add_executable):
Target "radii" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/libxtp/CMakeLists.txt:10 (add_library):
Target "votca_xtp" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/libxtp/CMakeLists.txt:10 (add_library):
Target "votca_xtp" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_map" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_map" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_tools" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_tools" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_run" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_run" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_dump" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_dump" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_parallel" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at xtp/src/tools/CMakeLists.txt:4 (add_executable):
Target "xtp_parallel" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at tools/src/libtools/CMakeLists.txt:8 (add_library):
Target "votca_tools" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/libcsg/CMakeLists.txt:12 (add_library):
Target "votca_csg" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/libcsg/CMakeLists.txt:12 (add_library):
Target "votca_csg" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_reupdate" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_map" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_dump" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_property" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_resample" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_stat" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_fmatch" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_gmxtopol" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_dlptopol" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_density" links to target "Eigen3::Eigen" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at csg/src/tools/CMakeLists.txt:3 (add_executable):
Target "csg_imc_solve" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/csg_boltzmann/CMakeLists.txt:9 (add_executable):
Target "csg_boltzmann" links to target "Eigen3::Eigen" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at csg/src/csg_boltzmann/CMakeLists.txt:6 (add_library):
Target "votca_csg_boltzmann" links to target "Eigen3::Eigen" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /apps/votca/votca/build