<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Intel Caffe Compilation Error HDF5 in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Intel-Caffe-Compilation-Error-HDF5/m-p/1142194#M78323</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am building Intel Caffe on my system, but I am getting following&amp;nbsp;Could NOT find HDF5 error. I spent many hours figuring out work around this, but still no success. I didn't encounter such issue when I build Caffe for first time. Any suggestion will be helpful.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;cmake -DCPU_ONLY=on -DBLAS=mkl -DUSE_MKL2017_AS_DEFAULT_ENGINE=o ..

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   regex
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found GFlags: /usr/local/include
-- Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.a)
-- Found Glog: /usr/local/include
-- Found glog    (include: /usr/local/include, library: /usr/local/lib/libglog.so)
-- Found PROTOBUF: /usr/lib64/libprotobuf.so
-- Found PROTOBUF Compiler: /usr/bin/protoc
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindHDF5.cmake:347 (find_package_handle_standard_args)
  cmake/Dependencies.cmake:42 (find_package)
  CMakeLists.txt:50 (include)
&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2017 02:13:36 GMT</pubDate>
    <dc:creator>CPati2</dc:creator>
    <dc:date>2017-10-17T02:13:36Z</dc:date>
    <item>
      <title>Intel Caffe Compilation Error HDF5</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-Caffe-Compilation-Error-HDF5/m-p/1142194#M78323</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am building Intel Caffe on my system, but I am getting following&amp;nbsp;Could NOT find HDF5 error. I spent many hours figuring out work around this, but still no success. I didn't encounter such issue when I build Caffe for first time. Any suggestion will be helpful.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;cmake -DCPU_ONLY=on -DBLAS=mkl -DUSE_MKL2017_AS_DEFAULT_ENGINE=o ..

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   regex
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Found GFlags: /usr/local/include
-- Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.a)
-- Found Glog: /usr/local/include
-- Found glog    (include: /usr/local/include, library: /usr/local/lib/libglog.so)
-- Found PROTOBUF: /usr/lib64/libprotobuf.so
-- Found PROTOBUF Compiler: /usr/bin/protoc
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindHDF5.cmake:347 (find_package_handle_standard_args)
  cmake/Dependencies.cmake:42 (find_package)
  CMakeLists.txt:50 (include)
&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 02:13:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-Caffe-Compilation-Error-HDF5/m-p/1142194#M78323</guid>
      <dc:creator>CPati2</dc:creator>
      <dc:date>2017-10-17T02:13:36Z</dc:date>
    </item>
    <item>
      <title>Hi All,</title>
      <link>https://community.intel.com/t5/Software-Archive/Intel-Caffe-Compilation-Error-HDF5/m-p/1142195#M78324</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I solved this issue. Since, I had to re-install CentOS, a specific package repo was required:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;sudo yum install –y epel-release
sudo yum-config-manager --enable epel
sudo yum install hdf5-devel&lt;/PRE&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 16:51:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Intel-Caffe-Compilation-Error-HDF5/m-p/1142195#M78324</guid>
      <dc:creator>CPati2</dc:creator>
      <dc:date>2017-10-17T16:51:19Z</dc:date>
    </item>
  </channel>
</rss>

