您的位置:首页 > Web前端

Caffe HDF5 header version与HDF5 library不匹配

2017-12-03 20:25 316 查看
在安装caffe的过程进行到sudo make runtest时,提示HDF5 header version与HDF5 library不匹配。 原因主要是系统存在多个版本的hdf,通过locate hdf5,可以看到大概在什么位置和主要由什么软件引起的。我的问题主要是anaconda和系统自带的发生了冲突。

通过conda install hdf5=1.8.16即可解决该问题

Warning! ***HDF5 library version mismatched error***
The HDF5 header files used to compile this application do not match
the version used by the HDF5 library to which this application is linked.
Data corruption or segmentation faults may occur if the application continues.
This can happen when an application was compiled by one version of HDF5 but
linked with a different version of static or shared HDF5 library.
You should recompile the application or check your shared library related
settings such as 'LD_LIBRARY_PATH'.
You can, at your own risk, disable this warning by setting the environment
variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'.
Setting it to 2 or higher will suppress the warning messages totally.
Headers are 1.10.1, library is 1.8.16
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  library caffe安装