Le 31/03/2013 22:09, Samuel Thibault a écrit : > Hello, > > 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 on 2013/01/07). Brice v1.7 NEWS bullet was updated to: + The HWLOC_COMPONENTS variable now excludes the components whose names are prefixed with '-'. Author: bgoglin <bgoglin@4b44e086-7f34-40ce-a3bd-00e031736276> List-Post: hwloc-devel@lists.open-mpi.org 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 git-svn-id: https://svn.open-mpi.org/svn/hwloc/trunk@5233 4b44e086-7f34-40ce-a3bd-00e031736276 > > 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 > _______________________________________________ > hwloc-devel mailing list > hwloc-de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel