dividiti / ck-caffe

Collective Knowledge workflow for Caffe to automate installation across diverse platforms and to collaboratively evaluate and optimize Caffe-based workloads across diverse hardware, software and data sets (compilers, libraries, tools, models, inputs):
http://cKnowledge.org
BSD 3-Clause "New" or "Revised" License
193 stars 41 forks source link

"ck install package:lib-caffe-bvlc-opencl-cpu-universal" fails with HDF5 1.10.1 #131

Closed psyhtest closed 6 years ago

psyhtest commented 6 years ago

ck install package:lib-caffe-bvlc-opencl-cpu-universal fails with HDF 1.10.1:

$ ck show env:e5a48d4bd6faf74d
Env UID:         Target OS: Bits: Name:        Version: Tags:

e5a48d4bd6faf74d   linux-64    64 HDF5 library 1.10.1   64bits,channel-stable,hdf5,host-os-linux-64,lib,target-os-linux-64,v1,v1.10,v1.10.1

as follows:

-- Found PROTOBUF Compiler: /home/anton/CK_TOOLS/lib-protobuf-host-3.1.0-linux-64/install/bin/protoc
CMake Warning (dev) at /usr/share/cmake-3.5/Modules/FindHDF5.cmake:234 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "hdf5_hl".
Call Stack (most recent call first):
  cmake/Dependencies.cmake:61 (find_package)
  CMakeLists.txt:127 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find HDF5 (missing: HDF5_LIBRARIES) (found version "1.10.1")

It works with HDF 1.8.16:

$ ck show env:e4abbbfaa38b299b
Env UID:         Target OS: Bits: Name:        Version: Tags:

e4abbbfaa38b299b   linux-64    64 HDF5 library 1.8.16   64bits,hdf5,host-os-linux-64,lib,target-os-linux-64,v1,v1.8,v1.8.16
psyhtest commented 6 years ago

Found on velociti. Reproduced on diviniti.