Skip to content

Commit

Permalink
Fix build path
Browse files Browse the repository at this point in the history
Fix build path.
  • Loading branch information
abuccts committed Sep 10, 2021
1 parent 87f0c7f commit 8d74ffd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/nccl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d74ffd

Please sign in to comment.