Gekkofs的安装和部署

下载最新的稳定版:

1
wget https://storage.bsc.es/gitlab/hpc/gekkofs/-/archive/v0.8.0/gekkofs-v0.8.0.tar.gz

解压:

1
tar -zxf gekkofs-v0.8.0.tar.gz

下载依赖:

1
.scripts/dl_dep.sh depend/

编译依赖:

1
.scripts/compile_dep.sh depend/ install/
  • 安装bmi时,可能会报:
1
aclocal: not found

解决办法:

1
2
# yum install -y automake
apt install -y automake
  • 安装libfabric时,可能会报:
1
2
3
1.Libtool library used but 'LIBTOOL' is undefined

2.numactl-devel or libnuma-devel not found

解决办法:

1
2
# yum install -y libtool libnuma-devel
apt install -y libtool libnuma-dev
  • 安装libfabric%experimental时,可能会报:
1
2
configure: verbs provider: disabled
configure: WARNING: verbs provider was requested, but cannot be compiled

解决办法:

1
apt install -y librdmacm-dev
  • 安装mercury时,可能会报:
1
2
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find UUID (missing: UUID_INCLUDE_DIR UUID_LIBRARY)

解决办法:

1
apt install -y libconfig-dev uuid-dev

不影响编译的报错:

  • 安装syscall_intercept时,可能会会出现如下提示:
1
pandoc not found

解决办法:

1
apt install -y pandoc
  • 安装agios
1
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

解决办法:

1
apt install -y doxygen

编译GekkoFS

  • 配置
1
mkdir build && cd build
1
cmake -DCMAKE_PREFIX_PATH=/home/scfs/install -DCMAKE_BUILD_TYPE=Release ..

在cmake执行的过程中,可能会报如下错误:

1
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

解决办法:

1
apt install -y zlib1g-dev
  • 编译
1
2
/root/scfs/include/common/rpc/distributor.hpp:38:10: fatal error: boost/icl/interval_map.hpp: No such file or directory
38 | #include <boost/icl/interval_map.hpp>

解决办法:

1
apt install -y libboost-dev
  • 安装
1
make install

----------本文结束感谢您的阅读----------
坚持原创技术分享,您的支持将鼓励我继续创作!