Skip to content

OpenMPI builds with CUDA and OpenCL dependency even with --with-cuda=no option #4219

@PavelStishenko

Description

@PavelStishenko

Background information

Tested on version 2.1.1 from source tarball.


Details of the problem

I tried to build OpenMPI from source with the following script:

shell$ ./configure --enable-mpi-thread-multiple CC=clang-3.9 CXX=clang++-3.9 --prefix=/home/user/openmpi2 --without-cuda  --with-cuda=no --disable-vt
shell$ make -j8 all
shell$ make -j8 install

Then I checked mpiexec dependecies with ldd command and found, that there are still dependencies on libOpenCL.so and libcudart.so. Of course on the server without these libraries this program do not work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions