topoGetMethodsDesc
Return the description string for the currently selected topology methods
Synopsis
int topoGetMethodsDesc(const char **nodestr, const char **netstr)
Output Parameters
- nodestr
- Describes the method used to determine the node topology
- netstr
- Describes the method used to determine the interconnect topology
*/
int topoGetMethodsDesc(const char **nodestr, const char **netstr)
{
*nodestr = topoNodeFns[nodeFnsIdx].descString;
*netstr = topoNetFns[netFnsIdx].descString;
return 0;
}
/*@
topoDebug - Select a virtual topology to return
Input Parameter
- kind
- Kind of topology to return.
Return value
0 on success, non-zero on failure.
Notes
Normally, the topo routines return information about the real topology
of the underlying hardware. However, this can make debugging programs
that want to make use of these routines difficult, since the tests would
have to be run on the target hardware system. This routine allows the
use of dummy, virtual topologies. Valid values for kind include:
kind = 1: Use a multiple of 8 processes, provide a Cray XE6-like
topology