TS-2624: Divide by zero check

2014-05-16 Thread James Peach
Hi Phil, Can you give me some more details on how the call to hwloc_get_nbobjs_by_type() could return 0? I can see how a system could have 0 NUMA nodes, but that case falls through to sockets, and I would have thought that every platform would have at least 1 socket. Additionally, I think that

TS-2624: Divide by zero check

2014-05-15 Thread James Peach
Hi Phil, Can you give me some more details on how the call to hwloc_get_nbobjs_by_type() could return 0? I can see how a system could have 0 NUMA nodes, but that case falls through to sockets, and I would have thought that every platform would have at least 1 socket. Additionally, I think that

Re: TS-2624: Divide by zero check

2014-05-10 Thread Phil Sorber
On Thu, May 8, 2014 at 10:09 AM, James Peach wrote: > Hi Phil, > > Can you give me some more details on how the call to > hwloc_get_nbobjs_by_type() could return 0? I can see how a system could > have 0 NUMA nodes, but that case falls through to sockets, and I would have > thought that every plat