Caffe HDF 5 header versionとHDF 5 libraryが一致しません

2661 ワード

caffeをインストールするプロセスがsudo make runtestに進むと、HDF 5 header versionがHDF 5 libraryと一致しないことを示します.原因は主にシステムに複数のバージョンのhdfが存在し、locate hdf 5を通じて、どのような位置と主にどのようなソフトウェアによって引き起こされたのかを見ることができるからです.私の問題は主にanacondaとシステムが持っているものが衝突したことです.
この問題はconda install hdf 5=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