Skip to content

Commit d32b0fa

Browse files
authored
Merge pull request #4250 from jsquyres/pr/v2.x/disable-hwloc-cuda-when-relevant
v2.x: disable hwloc CUDA support when relevant
2 parents 944cc1a + afe9abc commit d32b0fa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

opal/mca/hwloc/hwloc1112/configure.m4

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,17 @@ AC_DEFUN([MCA_opal_hwloc_hwloc1112_CONFIG],[
111111
enable_libxml2=no
112112
enable_xml=yes
113113

114+
# GL and OpenCL OS devices aren't used in OMPI
115+
enable_gl=no
116+
enable_opencl=no
117+
118+
# Per https://github.com/open-mpi/ompi/pull/4257, ALWAYS
119+
# disable cuda support
120+
enable_cuda=no
121+
122+
# Open MPI currently does not use hwloc's NVML support
123+
enable_nvml=no
124+
114125
# hwloc checks for compiler visibility, and its needs to do
115126
# this without "picky" flags.
116127
opal_hwloc_hwloc1112_save_cflags=$CFLAGS

0 commit comments

Comments
 (0)