把cesm移植到了自己的centos虚拟机里,比赛结束会抽空写一个尽可能详细的cesm1_2_2的移植攻略。
源码安装 curl(7.64) m4(1.4.18) zlib(1.2.8) hdf5(1.8.13)
一、安装hdf5过程中的问题
ERROR : h5import:no such file or directory
参考:https://forum.hdfgroup.org/t/h5import-test-fail/2906
The reasons of the failures you saw is because h5dump is arranged to be
built AFTER h5import. When you did “make check” directly, the h5dump
that was needed by the H5IMPORT test was not built yet, resulting in the
no such file failure.
看起来是个1.8版本中的bug,需要先make产生h5import目录,再make check
二. 安装netcdf-c(4.6.2)过程中的问题
1. FAIL: test_filter.sh
解决:
configure时添加:
--disable-filter-testing
2. 设置的LD_LIBRARY_PATH
无效
参考: