I see this in the solaris binding core:

  if (hwloc_cpuset_weight(hwloc_set) != 1) {
    errno = EXDEV;
    return -1;
  }

OMPI doesn't get this error ?

Brice




Le 23/06/2010 21:56, Terry Dontje a écrit :
Does hwloc think it supports binding processes to sockets or multiple cpus?  I am asking because I believe there are no current Solaris accessors that support this (processor_bind only binds a pid or a set of pids to a *single* processor). 

I bring this up because in testing OMPI with hwloc support it looks like -bind-to-socket is acting like -bind-to-core on Solaris.  I believe the issue is hwloc should be returning an error to tell OMPI it cannot bind-to-socket or multiple cpus at that.

--
Oracle
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.650.633.7054
Oracle - Performance Technologies
95 Network Drive, Burlington, MA 01803
Email terry.dontje@oracle.com
--
Oracle
Terry D. Dontje | Principal Software Engineer
Developer Tools Engineering | +1.650.633.7054
Oracle - Performance Technologies
95 Network Drive, Burlington, MA 01803
Email terry.dontje@oracle.com

_______________________________________________ hwloc-users mailing list hwloc-users@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users