PPL Logo

util/topomanager/TopoManager.C File Reference

Author: Abhinav S Bhatele Date Created: March 19th, 2007. More...

Go to the source code of this file.

Data Structures

struct  CompareRankDist

Functions

void craynid_init ()
void craynid_reset ()
void craynid_free ()
void bgq_topo_init ()
void bgq_topo_reset ()
void bgq_topo_free ()
void TopoManager_init ()
 basic initialization

Variables

static bool _topoInitialized = false
CmiNodeLock _topoLock = 0
TopoManager_tmgr = NULL
int _tpm_numpes = 0
int _tpm_numthreads = 1


Detailed Description

Author: Abhinav S Bhatele Date Created: March 19th, 2007.

This would be the top level interface for all topology managers we will write for different machines (cray, bg/l ... for tori, meshes ...) Current plan is to have functionality for Blue Gene/L, Cray XT3, BigSim and non-topo machines.

Definition in file TopoManager.C.


Function Documentation

void craynid_init (  ) 

Definition at line 229 of file CrayNid.c.

References CmiCreateLock(), cray_lock, and cray_lock2.

Referenced by TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void craynid_reset (  ) 

Definition at line 218 of file CrayNid.c.

References CmiLock(), CmiUnlock(), cray_lock, craynid_free(), maxNID, maxX, maxY, and maxZ.

Referenced by TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void craynid_free (  ) 

Definition at line 206 of file CrayNid.c.

References CmiLock(), CmiUnlock(), cray_lock, free(), pid2nid, and rca_coords.

Referenced by craynid_reset(), and TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void bgq_topo_init (  ) 

Definition at line 13 of file BGQTorus.C.

References bgq_lock, and CmiCreateLock().

Referenced by TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void bgq_topo_reset (  ) 

Definition at line 28 of file BGQTorus.C.

References bgq_isLocalSet, bgq_lock, CmiLock(), and CmiUnlock().

Referenced by TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void bgq_topo_free (  ) 

Definition at line 21 of file BGQTorus.C.

References bgq_isLocalSet, bgq_localNodes, bgq_lock, CmiLock(), CmiUnlock(), and free().

Referenced by TopoManager_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void TopoManager_init (  ) 


Variable Documentation

bool _topoInitialized = false [static]

Definition at line 402 of file TopoManager.C.

Definition at line 403 of file TopoManager.C.

TopoManager* _tmgr = NULL

Definition at line 404 of file TopoManager.C.

Definition at line 406 of file TopoManager.C.

Definition at line 407 of file TopoManager.C.


Generated on Mon Sep 21 08:12:20 2020 for Charm++ by  doxygen 1.5.5