Problem appears to go away when I try the code downloaded as the "stable"
version. I was trying the "master" version previously. Is the "master"
version the development version?
Thanks.
Josh
On Tuesday, October 29, 2019 at 12:24:21 PM UTC-4, Joshua Moore wrote:
> 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
>
>
> On Saturday, July 14, 2018 at 8:40:46 AM UTC-4, Christoph Junghans wrote:
>
>> On Fri, Jul 13, 2018 at 9:31 AM, Wujie Wang <[email protected]> wrote:
>> > Many thanks for your prompt reply.
>> >
>> > We are using Ubuntu 16.04 and it seems that the base version for EIGEN3
>> is
>> > 3.3~beta1-2, according to
>> http://neuro.debian.net/pkgs/libeigen3-dev.html
>> >
>> > I found a similar issue here:
>> > https://github.com/OpenNMT/CTranslate/issues/22
>> >
>> > I am wondering if there is any hint on upgrading to 3.3 here other than
>> > apt-get install?
>> Eigen3 is header-based library, so you can just get the tarball,
>> unpack it and point CMake to it with
>> -DEIGEN3_INCLUDE_DIR=/path/to/your/eigen.
>>
>> Christoph
>> >
>> > Thanks
>> >
>> >
>> > On Thu, Jul 12, 2018 at 11:11 PM, Christoph Junghans <[email protected]>
>>
>> > wrote:
>> >>
>> >>
>> >>
>> >> On Thu, Jul 12, 2018 at 21:06 <[email protected]> wrote:
>> >>>
>> >>> Hey VOTCA community
>> >>>
>> >>> I am new to VOTCA and CMAKE.
>> >>> I was trying to install votca. During the build process, it outputs
>> a
>> >>> cmake error:
>> >>>
>> >>> CMake Error at
>> >>> /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
>> >>> (message):
>> >>> Could NOT find EIGEN3: Found unsuitable version "3.2.92", but
>> required
>> >>> is
>> >>> at least "3.3.0" (found /usr/include/eigen3)
>> >>>
>> >>>
>> >>> While my eigen3 version is 3.3~beta1-2, so it gets confused over the
>> >>> EIGEN3 version?
>> >>
>> >> A beta is a pre-release version and hence counts as before 3.3.0!
>> >>
>> >> Try to update your version!
>> >>
>> >> Christoph
>> >>>
>> >>>
>> >>> Would appreciate any help and hint
>> >>>
>> >>> Thanks
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> Groups
>> >>> "votca" group.
>> >>> To unsubscribe from this group and stop receiving emails from it,
>> send an
>> >>> email to [email protected].
>> >>> To post to this group, send email to [email protected].
>> >>> Visit this group at https://groups.google.com/group/votca.
>> >>> For more options, visit https://groups.google.com/d/optout.
>> >>
>> >> --
>> >> Christoph Junghans
>> >> Web: http://www.compphys.de
>> >>
>> >> --
>> >> You received this message because you are subscribed to a topic in the
>> >> Google Groups "votca" group.
>> >> To unsubscribe from this topic, visit
>> >> https://groups.google.com/d/topic/votca/kTwKhho7Is8/unsubscribe.
>> >> To unsubscribe from this group and all its topics, send an email to
>> >> [email protected].
>> >> To post to this group, send email to [email protected].
>> >> Visit this group at https://groups.google.com/group/votca.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "votca" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at https://groups.google.com/group/votca.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Christoph Junghans
>> Web: http://www.compphys.de
>>
>
--
You received this message because you are subscribed to the Google Groups
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/votca/b979d6fd-1d61-4989-986e-1782337d3177%40googlegroups.com.