Skip to content

Commit 8d74ffd

Browse files
committed
Fix build path
Fix build path.
1 parent 87f0c7f commit 8d74ffd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/nccl-tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,22 @@ jobs:
2020
with:
2121
repository: nvidia/nccl-tests
2222
path: ./nccl-tests
23-
- name: Build msccl
23+
- name: Build and install msccl
2424
run: |
2525
make src.build -j
26+
make install
2627
- name: Build nccl-tests
2728
run: |
28-
make MPI=1 MPI_HOME=/usr/local/mpi NCCL_HOME=./build -j -C ./nccl-tests
29+
make MPI=1 MPI_HOME=/usr/local/mpi NCCL_HOME=../../build -j -C ./nccl-tests
2930
- name: Test local all reduce
3031
run: |
3132
mpirun \
3233
-allow-run-as-root -H localhost:4 -np 4 -mca btl ^openib \
33-
-x NCCL_DEBUG=VERSION \
34+
-x LD_LIBRARY_PATH=/usr/local/lib -x NCCL_DEBUG=VERSION \
3435
./nccl-tests/build/all_reduce_perf -b 1K -e 256M -f 2 -g 1 -c 1 -w 20 -n 50
3536
- name: Test local alltoall
3637
run: |
3738
mpirun \
3839
-allow-run-as-root -H localhost:4 -np 4 -mca btl ^openib \
39-
-x NCCL_DEBUG=VERSION \
40+
-x LD_LIBRARY_PATH=/usr/local/lib -x NCCL_DEBUG=VERSION \
4041
./nccl-tests/build/alltoall_perf -b 1K -e 256M -f 2 -g 1 -c 1 -w 20 -n 50

0 commit comments

Comments
 (0)