Comments (6)
The $MPI_HOME
variable in the Makefile
assumes includes are in $MPI_HOME/include
and libraries are in $MPI_HOME/lib
. In most cases, /usr/include/mpi
is just a link, and the real MPI installation is in /usr/lib/openmpi
(both includes and library). Setting MPI_HOME=/usr/lib/openmpi
would solve the problem.
Another simple solution is to add /usr/include/mpi
to the path of g++
includes :
export CPLUS_INCLUDE_PATH=/usr/include/mpi:$CPLUS_INCLUDE_PATH
And if the libraries are not found (cannot find -lmpi
), we can also tell g++
where to find libraries :
export LIBRARY_PATH=/usr/lib/openmpi/lib:$LIBRARY_PATH
(but usually there is a link in /usr/lib/libmpi.so
so it shouldn't be needed)
from nccl-tests.
Hello,
I am using a Jetson Nano cluster and /usr/lib/openmpi does not exist. It seems the mpi is installed because I get the following output when I run mpirun --version
:
mpirun (Open MPI) 2.2.1
Report bugs to http://www.open-mpi.org/community/help/
from nccl-tests.
On ARM platforms, the path to Open MPI might be something like /usr/lib/aarch64-linux-gnu/openmpi
.
mpicc -show
would show where MPI includes and library are located, then you can use MPI_HOME
or CPLUS_INCLUDE_PATH
/LIBRARY_PATH
to make sure g++
finds them well.
Please note however that NCCL is not targeted at Jetson Nano so I would not expect it to work.
from nccl-tests.
I was able to find it under /usr/lib/aarch64-linux-gnu/openmpi
However when running the command mpirun -np 16 ./build/all_reduce_perf -b 32M -e 128M -f 2 -t 1 -g 1 -c 0
the following error ouputs:
./build/all_reduce_perf: error while loading shared libraries: libnccl.so.2: cannot open shared object file: No such file or directory
But from my understanding this should be found under the NCCL_HOME variable?
from nccl-tests.
If you did not install NCCL on the system (just compiled it in your home directory), you need to set LD_LIBRARY_PATH
:
export LD_LIBRARY_PATH=$NCCL_HOME/build/lib:$LD_LIBRARY_PATH
from nccl-tests.
Closing old issues. Please open another one if you are still seeing issues.
from nccl-tests.
Related Issues (20)
- Test NCCL failure common.cu:954 'unhandled cuda error" when test on >2 GPUs HOT 4
- Nsight Profiling: one ncclAllReduce takes too long
- misc/ibvwrap.cc:187 NCCL WARN Call to ibv_modify_qp failed with error Network is unreachable HOT 3
- how can i run nccl-test use max bandwidth
- NCCL alltoall_perf hangs via PXN HOT 1
- misc/socket.cc:441 NCCL WARN socketFinalizeAccept: wrong type 4 != 3 HOT 6
- hypercube out-of-bound errors with single-proc + `gpus-per-thread=4`, not with multi-proc + `gpus-per-thread=1` HOT 1
- nccl-tests result is only a half of ib_write_bw
- NCCL Test Does not work with GID 3 or GID 1, but it works fine for GID 0
- NCCL Test hang when the number of nodes goes beyond 18, and CPU usage is very high HOT 2
- all_reduce_perf between NVLINK connected H100 PCIe GPUs lower than A100 SXM4 GPUs
- undefined reference to ncclRedOpDestroy HOT 2
- busbw exceeds network bandwidth (2 nodes, 16 gpus, 100Gbps intel NIC, no NVSwitch) - what algorithm is used? HOT 5
- How to explain Bus Bandwidth in Allreduce Operation?
- How is the maximum number of bytes for all_reduce operation calculated? HOT 3
- Interaction between NCCL_IB_SL and NCCL_IB_ADAPTIVE_ROUTING
- Multi node test hang phenomenon HOT 2
- Performance lack of NCCL Test HOT 5
- Why getBw don't have access to agg_iters ? HOT 1
- Test NCCL failure common.cu:961 'internal error - please report this issue to the NCCL developers / ' HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nccl-tests.