Commit f351fea1 authored by wanghan's avatar wanghan
Browse files

Rename rccl to rccl-dtk-25.04 and update scripts to use relative paths

parent 3c3bcbf4
......@@ -99,7 +99,8 @@ done
# #重新编译运行
cd ../rccl-dtk-25.04
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}/../rccl-dtk-25.04"
pwd
echo "当前在 rccl 目录内" #重新编译
rm -rf build
......
......@@ -2,30 +2,15 @@
ulimit -n 200000
#source /mnt/fs/user/jpsun/sourcecode/hpcx/hpcx-v2.19-gcc-mlnx_ofed-ubuntu22.04-cuda12-x86_64/hpcx-init-ompi.sh
#hpcx_load
#source /public/home/yangchen/fbr/dtk-24.04/env.sh
# 获取脚本所在目录
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# 使用相对路径设置 RCCL 库路径
export LD_LIBRARY_PATH="${SCRIPT_DIR}/../rccl-dtk-25.04/build:${LD_LIBRARY_PATH}"
#添加更改的rccl动态库的路径
# export LD_LIBRARY_PATH=/public/home/mssungf/rccl_learn/rccl-dtk-24.04.1.1/build:$LD_LIBRARY_PATH
#export LD_LIBRARY_PATH=/public/home/yangchen/fbr/rccl-dtk-24.04.1.1.motify/build:$LD_LIBRARY_PATH
# 追加 RCCL 路径,保留原有的 LD_LIBRARY_PATH(包含 MPI 库)
# export LD_LIBRARY_PATH=/public/home/lishen/wh/rccl/rccl-dtk-25.04/build:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=/public/home/lishen/wh/rccl/rccl-initial/build:$LD_LIBRARY_PATH
# 使用相对路径
# export LD_LIBRARY_PATH="$(dirname "$0")/../rccl-dtk-25.04/build:$LD_LIBRARY_PATH"
# export LD_LIBRARY_PATH=/public/home/wanghan5/rccl/build:$LD_LIBRARY_PATH
# export LD_LIBRARY_PATH=/public/home/wanghan5/rccl/rccl-dtk-25.04/build:$LD_LIBRARY_PATH
#DIR=/mnt/fs/user/jpsun/nccl-benchmark/nccl-tests/build
#DIR=/mnt/fs/user/jpsun/nccl-benchmark/rccl-tests-master/build
#DIR=/public/home/mssungf/rccl_learn/rccl-tests-master/build
# DIR=/public/home/mssungf/rccl_learn/rccl-test/rccl-tests-master/build
# 使用相对路径
DIR="$(dirname "$0")/../rccl-test/build"
#DIR=/public/home/mssungf/rccl_learn/rccl-tests-develop/build
# 使用相对路径设置测试程序目录
DIR="${SCRIPT_DIR}/../rccl-test/build"
#APP="${DIR}/${1} -b 8 -e 2G -f 2 -g 1"
# echo $APP
......@@ -44,7 +29,7 @@ DIR="$(dirname "$0")/../rccl-test/build"
# APP="${DIR}/${1} -b 8 -e ${MAX_SIZE} -f 2 -g 1"
# APP="${DIR}/${1} -b 8 -e 1G -f 2 -g 1"
APP="${DIR}/${1} -b 512KB -e 2M -i 65536 -g 1"
APP="${DIR}/${1} -b 8 -e 1G -f 2 -g 1"
# APP="${DIR}/broadcast_perf -b 131072 -e 4194304 -i 131072 -g 1"
# APP="${DIR}/all_reduce_perf -b 256M -e 278M -i 1048576 -g 1"
# APP="${DIR}/all_gather_perf -b 8 -e 2M -f 2 -g 1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment