Hello, I'm realizing that this was actually not settled on. I've just fixed my previous text with the current syntax
Samuel Thibault, le Mon 07 Jan 2013 15:05:55 +0100, a écrit : > Brice Goglin, le Mon 31 Dec 2012 10:05:41 +0100, a écrit : > > + The HWLOC_COMPONENTS may now start with '-' to only define a list of > > components to exclude. > > I'm finding it not intuitive and not generic enough [...] > > It means that > > HWLOC_COMPONENTS=-cuda,opencl > > disables cuda *and* opencl, while intuition would have told me that it > disables cuda but enables opencl. > > Also, one would for instance want to be able to do this: > > HWLOC_COMPONENTS=x86,-cuda,-opencl,nvml > > To be able to enable x86 before the default linux, but disable cuda and > opencl, but enable nvml, as well as all the other usual plugins (without > having to know the list, which is important for future extensions). I thought we agreed that it would be useful to be able to do it, and using '-' instead of '^' was meant to avoid confusion with Open-MPI which has the previous behavior. Samuel