Commit 7a54702e authored by wanghan's avatar wanghan
Browse files

Update scripts to use simple relative paths and add DTK compiler module

parent af903c20
...@@ -99,10 +99,14 @@ done ...@@ -99,10 +99,14 @@ done
# #重新编译运行 # #重新编译运行
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd ../rccl-dtk-25.04
cd "${SCRIPT_DIR}/../rccl-dtk-25.04"
pwd pwd
echo "当前在 rccl 目录内" #重新编译 echo "当前在 rccl 目录内" #重新编译
# 加载编译环境
module purge
module load mpi/hpcx/2.12.0/gcc-8.3.1
module load compiler/dtk/25.04
rm -rf build rm -rf build
mkdir build mkdir build
cd build cd build
...@@ -112,4 +116,5 @@ make -j ...@@ -112,4 +116,5 @@ make -j
echo "完成优化" echo "完成优化"
\ No newline at end of file
...@@ -2,15 +2,11 @@ ...@@ -2,15 +2,11 @@
ulimit -n 200000 ulimit -n 200000
# 获取脚本所在目录 # 使用相对路径设置 RCCL 库路径(相对于 scripts 目录)
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" export LD_LIBRARY_PATH="../rccl-dtk-25.04/build:${LD_LIBRARY_PATH}"
# 使用相对路径设置 RCCL 库路径
export LD_LIBRARY_PATH="${SCRIPT_DIR}/../rccl-dtk-25.04/build:${LD_LIBRARY_PATH}"
# 使用相对路径设置测试程序目录 # 使用相对路径设置测试程序目录
DIR="${SCRIPT_DIR}/../rccl-test/build" DIR="../rccl-test/build"
#APP="${DIR}/${1} -b 8 -e 2G -f 2 -g 1" #APP="${DIR}/${1} -b 8 -e 2G -f 2 -g 1"
# echo $APP # echo $APP
......
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