IBM / data-broker

The Data Broker (DBR) is a distributed, in-memory container of key-value stores enabling applications in a workflow to exchange data through one or more shared namespaces. Thanks to a small set of primitives, applications in a workflow deployed in a (possibly) shared nothing distributed cluster, can easily share and exchange data and messages with a minimum effort. In- spired by the Linda coordination and communication model, the Data Broker provides a unified shared namespace to applications, which is independent from applications’ programming and communication model.
Apache License 2.0
19 stars 23 forks source link

cmake fails on RHEL 7.6 ppc64le #123

Closed drvadim closed 4 years ago

drvadim commented 4 years ago

cmake now fails on RHEL 7.6 ppc64le

`cmake ../ -DWITH_DATA_ADAPTERS=1 -DCMAKE_INSTALL_PREFIX=/opt/databroker Checking: /root/vadim/data-broker/backend/common Checking: /root/vadim/data-broker/backend/fship FOUND BE: fship Checking: /root/vadim/data-broker/backend/network Checking: /root/vadim/data-broker/backend/redis FOUND BE: redis Checking: /root/vadim/data-broker/backend/transports LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so CMake Error at backend/network/CMakeLists.txt:24 (install): install TARGETS given no ARCHIVE DESTINATION for static library target "dbbe_network".

LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so CMake Warning (dev) at utilities/perftests/CMakeLists.txt:37 (find_package): Policy CMP0074 is not set: find_package uses _ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Environment variable MPI_ROOT is set to:

/gpfs/apps/openmpi/4.0.1/gcc

For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) -- Configuring incomplete, errors occurred! Currently Loaded Modules: 1) Default 2) cmake/3.13.4 3) openmpi/4.0.1 `

drvadim commented 4 years ago

I have tried with openmpi 3.0, which fixed MPI errors, but cmake still fails to produce a Makefile:

`$ module list

Currently Loaded Modules: 1) Default 2) openmpi/3.0.0 3) cmake/3.13.4`

`$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/databroker -DWITH_DATA_ADAPTERS=1 Checking: /home/vadim/data-broker/backend/common Checking: /home/vadim/data-broker/backend/fship FOUND BE: fship Checking: /home/vadim/data-broker/backend/network Checking: /home/vadim/data-broker/backend/redis FOUND BE: redis Checking: /home/vadim/data-broker/backend/transports LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so CMake Error at backend/network/CMakeLists.txt:24 (install): install TARGETS given no ARCHIVE DESTINATION for static library target "dbbe_network".

LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so LIBEVENT_PTHREADS_LIBRARIES=/usr/lib64/libevent_pthreads.so Found libevent in: /usr/lib64/libevent_pthreads.so CMake Warning (dev) at utilities/perftests/CMakeLists.txt:37 (find_package): Policy CMP0074 is not set: find_package uses _ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Environment variable MPI_ROOT is set to:

/gpfs/apps/openmpi/3.0.0/gcc

For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it.

Found MPI lib at: /gpfs/apps/openmpi/3.0.0/gcc/include -- Configuring incomplete, errors occurred! See also "/home/vadim/data-broker/build/CMakeFiles/CMakeOutput.log". `

lasch commented 4 years ago

This error indicates a problem with the cmake version and interface libraries. So far I can't reproduce the problem on RHEL 7.6 ppc64le. I'll continue investigating.

lasch commented 4 years ago

fixed with commit e30aac5