Giter VIP home page Giter VIP logo

Comments (6)

kwen2501 avatar kwen2501 commented on August 20, 2024 1

You would probably need to clean the previous build first via make clean before building again with MPI.

from nccl-tests.

sjeaugey avatar sjeaugey commented on August 20, 2024

Did you try compiling them with MPI=1 ?

make MPI=1 MPI_HOME=/path/to/mpi CUDA_HOME=/path/to/cuda NCCL_HOME=/path/to/nccl
mpirun -H host1,host2 -np 2 ./build/all_reduce_perf -b 8 -e 128M -f 2 -g 4

from nccl-tests.

leeQT avatar leeQT commented on August 20, 2024

Did you try compiling them with MPI=1 ?

make MPI=1 MPI_HOME=/path/to/mpi CUDA_HOME=/path/to/cuda NCCL_HOME=/path/to/nccl
mpirun -H host1,host2 -np 2 ./build/all_reduce_perf -b 8 -e 128M -f 2 -g 4

Got it, thanks~

from nccl-tests.

leeQT avatar leeQT commented on August 20, 2024

Did you try compiling them with MPI=1 ?

make MPI=1 MPI_HOME=/path/to/mpi CUDA_HOME=/path/to/cuda NCCL_HOME=/path/to/nccl
mpirun -H host1,host2 -np 2 ./build/all_reduce_perf -b 8 -e 128M -f 2 -g 4

I tried this but it seems that this command just ran all_reduce_perf on two host seperatly and there wasn't communication between nodes?

Here's my command:
mpirun -H 10.251.154.148,10.251.154.143 -np 2 ./all_reduce_perf -b 8 -e 128M -f 128 -g 2
(They are two nodes and each of them has 2 GPUs)
and part of the output:
Out of bounds values : 0 OK
Avg bus bandwidth : 3.94145
Out of bounds values : 0 OK
Avg bus bandwidth : 3.94156

And if I run it on single node, the average bus bandwidth is the same.
command:
mpirun -H 10.251.154.148 ./all_reduce_perf -b 8 -e 128M -f 128 -g 2
result:
Out of bounds values : 0 OK
Avg bus bandwidth : 3.95192

from nccl-tests.

leeQT avatar leeQT commented on August 20, 2024

You would probably need to clean the previous build first via make clean before building again with MPI.

Thanks this solved my problem.

from nccl-tests.

wanzaiqidao avatar wanzaiqidao commented on August 20, 2024

You would probably need to clean the previous build first via make clean before building again with MPI.

it helps me a lot. thank you

from nccl-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.