From 8d74ffd0245cc3be6112dd8185ae14f2da745d52 Mon Sep 17 00:00:00 2001 From: Yifan Xiong Date: Fri, 10 Sep 2021 23:14:51 +0800 Subject: [PATCH] Fix build path Fix build path. --- .github/workflows/nccl-tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nccl-tests.yml b/.github/workflows/nccl-tests.yml index eae245b3..469c7b8d 100644 --- a/.github/workflows/nccl-tests.yml +++ b/.github/workflows/nccl-tests.yml @@ -20,21 +20,22 @@ jobs: with: repository: nvidia/nccl-tests path: ./nccl-tests - - name: Build msccl + - name: Build and install msccl run: | make src.build -j + make install - name: Build nccl-tests run: | - make MPI=1 MPI_HOME=/usr/local/mpi NCCL_HOME=./build -j -C ./nccl-tests + make MPI=1 MPI_HOME=/usr/local/mpi NCCL_HOME=../../build -j -C ./nccl-tests - name: Test local all reduce run: | mpirun \ -allow-run-as-root -H localhost:4 -np 4 -mca btl ^openib \ - -x NCCL_DEBUG=VERSION \ + -x LD_LIBRARY_PATH=/usr/local/lib -x NCCL_DEBUG=VERSION \ ./nccl-tests/build/all_reduce_perf -b 1K -e 256M -f 2 -g 1 -c 1 -w 20 -n 50 - name: Test local alltoall run: | mpirun \ -allow-run-as-root -H localhost:4 -np 4 -mca btl ^openib \ - -x NCCL_DEBUG=VERSION \ + -x LD_LIBRARY_PATH=/usr/local/lib -x NCCL_DEBUG=VERSION \ ./nccl-tests/build/alltoall_perf -b 1K -e 256M -f 2 -g 1 -c 1 -w 20 -n 50