我下载了hdf5-1.8.15-patch1.tar.bz2,并尝试使用此命令在我的Ubuntu上安装它:
CC=mpicc ./configure --enable-parallel --enable-shared
make
make check
在make check期间,我收到了这个错误:
***** 1 FAILURE! *****
Command exited with non-zero status 1
0.78user 0.08system 0:00.86elapsed 100%CPU (0avgtext+0avgdata 10216maxresident)k
0inputs+1224outputs (0major+51752minor)pagefaults 0swaps
make[4]: *** [dt_arith.chkexe_] Error 1
make[4]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[3]: *** [build-check-s] Error 2
make[3]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/ubuntu/tools/hdf5-1.8.15-patch1/test'
make: *** [check-recursive] Error 1
这是我的' uname -a'和' gcc -v':
uname -a
Linux ip-172-31-23-30 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
gcc -v
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
答案 0 :(得分:0)
在以前的问题之后,似乎值得尝试使用较低的优化标志(-O1或-O0): https://support.hdfgroup.org/HDF5/release/known_problems/previssues.html