Skip to content

Trouble Building Gossamer with Boost #24

@moravveji

Description

@moravveji

Dear,

I am trying to build Gossamer for one of our users on one of our clusters (CentOS 7.4, SkyLake nodes). I have put a simple script together following the build instructions (attached). However, the build terminates with the following error (full log is attached, but the paths are heavily trimmed):

+ cmake /myData/easybuild/work/Gossamer/gossamer
-- This is a Unix-like platform
-- The compiler is GNU
-- Found Boost 1.70.0 at /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/Boost-1.70.0
--   Requested configuration: QUIET REQUIRED COMPONENTS system;iostreams;program_options;filesystem
-- Found boost_headers 1.70.0 at /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/boost_headers-1.70.0
-- Found boost_system 1.70.0 at /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/boost_system-1.70.0
-- No suitable boost_system variant has been identified!
--   libboost_system.so.1.70.0 (shared, BUILD_SHARED_LIBS not ON, set Boost_USE_STATIC_LIBS=OFF to override)
--   libboost_system.a (static, Boost_USE_STATIC_LIBS=OFF)
CMake Error at /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/Boost-1.70.0/BoostConfig.cmake:95 (find_package):
  Found package configuration file:

    /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/boost_system-1.70.0/boost_system-config.cmake

  but it set boost_system_FOUND to FALSE so package "boost_system" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

Call Stack (most recent call first):
  /myApps/software/Boost/1.70.0-foss-2018a/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency)
  /myApps/software/CMake/3.13.2-GCCcore-6.4.0/share/cmake-3.13/Modules/FindBoost.cmake:264 (find_package)
  cmake/GossDetectDependencies.cmake:6 (find_package)
  CMakeLists.txt:23 (include)

To me, it seems like not all features of Boost are found by CMake. Do you have any advice to circumvent this issue?

Kind regards,
Ehsan

gossamer.zip
log-gossamer.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions