Le 31/03/2013 22:09, Samuel Thibault a écrit :
> I'm realizing that this was actually not settled on. I've just fixed my
> previous text with the current syntax
Everything you say below has been implemented for almost 3 months (r5233
v1.7 NEWS bullet was updated to:
+ The HWLOC_COMPONENTS variable now excludes the components whose
names are prefixed with '-'.
Author: bgoglin <bgoglin_at_4b44e086-7f34-40ce-a3bd-00e031736276>
Date: Mon Jan 7 21:49:12 2013 +0000
Replace HWLOC_COMPONENTS=^foo,bar with -foo,-bar
This way we can exclude some and force others at the same time
> 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
>> 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:
>> 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.
> hwloc-devel mailing list