网站首页优化方案,可以注册免费网站,招商项目,网站做优化好还是做推广好1#xff0c;编译安装 ucx 下载源码#xff1a;
$ git clone https://github.com/openucx/ucx.git
$ git checkout v1.17.0
运行auto工具#xff1a;
$ ./autogen.sh
$ ./autogen.sh
指所以运行两次是因为有时候第一次会失败#xff0c;原因未查。
配置 ucx
$ m…1编译安装 ucx 下载源码
$ git clone https://github.com/openucx/ucx.git
$ git checkout v1.17.0
运行auto工具
$ ./autogen.sh
$ ./autogen.sh
指所以运行两次是因为有时候第一次会失败原因未查。
配置 ucx
$ mkdir build
$ cd build
$ ../contrib/configure-devel --prefix${PWD}/../ --enable-debug --enable-gtest --with-cuda/usr/local/cuda --without-rocm --without-knem --without-java
编译安装
$ make -j
$ make install
验证 ucx 安装目录
cd .. pwd /home/hanmeimei/ex_openmpi/tmp5_runtest/tmp1/ucx
备 openmpi 配置使用。 2编译安装 openmpi
下载源码及其子模块
git clone https://github.com/open-mpi/ompi.git
cd ompi
git checkout v5.0.3
git submodule update --recursive --init
git submodule init
git submodule update
运行auto-tool
./autogen.pl
配置项目
mkdir build
cd build
../configure --prefix${PWD}/../../local_ompi --enable-debug --with-tests-examples --with-tests-examples --with-ucx/home/hongleili/ex_openmpi/tmp5_runtest/tmp1/ucx --without-verbs
编译安装
make -j
make install
验证 3编译运行 mpi-test-suite
安装依赖包
sudo apt-get install gengetopt
下载源代码
$ git clone https://github.com/open-mpi/mpi-test-suite.git
$ cd mpi-test-suite/
运行auto-tool
$ autogen.sh
配置环境变量
cd ../local_ompi/bin/
$ export PATH$PWD:$PATH
cd ../../local_ompi/lib/
export LD_LIBRARY_PATH$PWD
配置项目
$ mkdir build
$ cd build/
$ ../configure CCmpicc
编译
$ make -j
查看帮助信息
$ mpirun -np 1 ./mpi_test_suite -h 查看测试case信息
$ mpirun -np 1 ./mpi_test_suite -l 运行测试case
$ mpirun -np 32 ./mpi_test_suite -t P2P -c COMM_SELF,INTER_COMM -d MPI_CHAR