[mpich2-commits] r5595 - mpich2/trunk/src/pm/hydra/tools/bind/hwloc
mercierg at mcs.anl.gov
mercierg at mcs.anl.gov
Wed Oct 28 11:12:18 CDT 2009
Author: mercierg
Date: 2009-10-28 11:12:18 -0500 (Wed, 28 Oct 2009)
New Revision: 5595
Modified:
mpich2/trunk/src/pm/hydra/tools/bind/hwloc/bind_hwloc.c
Log:
Fixed a misleading commentary
Modified: mpich2/trunk/src/pm/hydra/tools/bind/hwloc/bind_hwloc.c
===================================================================
--- mpich2/trunk/src/pm/hydra/tools/bind/hwloc/bind_hwloc.c 2009-10-28 16:10:55 UTC (rev 5594)
+++ mpich2/trunk/src/pm/hydra/tools/bind/hwloc/bind_hwloc.c 2009-10-28 16:12:18 UTC (rev 5595)
@@ -67,7 +67,7 @@
obj_sys = hwloc_get_system_obj(topology);
cpuset_sys = obj_sys->cpuset;
- /* Compute the total number of sockets */
+ /* Compute the number of sockets per NUMA Node */
/* FIX ME : We assume that the number of sockets is the same for each node (e.g node 0)!*/
obj_node = hwloc_get_obj_inside_cpuset_by_type(topology,cpuset_sys,HWLOC_OBJ_NODE,0);
HYDT_bind_info.num_sockets = hwloc_get_nbobjs_inside_cpuset_by_type(topology,obj_node->cpuset,HWLOC_OBJ_SOCKET);
More information about the mpich2-commits
mailing list