Re: [OMPI devel] hwloc2 and cuda and non-default cudatoolkit install location

2017-12-20 Thread r...@open-mpi.org
FWIW: what we do in PMIx (where we also have some overlapping options) is to add in OMPI a new --enable-pmix-foo option and then have the configury in the corresponding OMPI component convert it to use inside of the embedded PMIx itself. It isn’t a big deal - just have to do a little code to sav

Re: [OMPI devel] hwloc2 and cuda and non-default cudatoolkit install location

2017-12-20 Thread Brice Goglin
Le 20/12/2017 à 22:01, Howard Pritchard a écrit : > > I can think of several ways to fix it.  Easiest would be to modify the > > opal/mca/hwloc/hwloc2a/configure.m4 > > to not set --enable-cuda if --with-cuda is evaluated to something > other than yes. > > > Optionally, I could fix the hwloc config

[OMPI devel] hwloc2 and cuda and non-default cudatoolkit install location

2017-12-20 Thread Howard Pritchard
Hi Folks, I've a question about where to fix a problem I'm having building Open MPI master and its embedded hwloc2a on a cluster we have that sports Nvidia GPUs. Here's the problem, I want for Open MPI to be smart about cuda, so I try to configure with: ./configure --prefix=/usr/projects/hpctool