"csrc/config/quant_config.hpp" did not exist on "ee59b3f590b6d49ecfb29d094d897805e9632b6f"
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
# #重新编译运行
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}/../rccl-dtk-25.04"
cd ../rccl-dtk-25.04
pwd
echo "当前在 rccl 目录内" #重新编译
# 加载编译环境
module purge
module load mpi/hpcx/2.12.0/gcc-8.3.1
module load compiler/dtk/25.04
rm -rf build
mkdir build
cd build
......@@ -112,4 +116,5 @@ make -j
echo "完成优化"
\ No newline at end of file
......@@ -2,15 +2,11 @@
ulimit -n 200000
# 获取脚本所在目录
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# 使用相对路径设置 RCCL 库路径
export LD_LIBRARY_PATH="${SCRIPT_DIR}/../rccl-dtk-25.04/build:${LD_LIBRARY_PATH}"
# 使用相对路径设置 RCCL 库路径(相对于 scripts 目录)
export LD_LIBRARY_PATH="../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"
# 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