PPL Logo

util/topomanager/TopoManager.h File Reference

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

Go to the source code of this file.

Data Structures

class  TopoManager

Functions

void TopoManager_init ()
 basic initialization
void TopoManager_init (int numpes)
void TopoManager_setNumThreads (int t)
void TopoManager_reset ()
 redo the initialization
void TopoManager_free ()
 free the current occupant
void TopoManager_printAllocation (FILE *fp)
 print allocation
void TopoManager_getDimCount (int *ndims)
 get the number physical dimensions
void TopoManager_getDims (int *dims)
 get the length of dimensions, last one is core/process/thread count
void TopoManager_getCoordinates (int rank, int *coords)
 get coordinates of a logical node
void TopoManager_getPeCoordinates (int rank, int *coords)
 get coordinate of a PE, includes an additional dim
void TopoManager_getRanks (int *rank_cnt, int *ranks, int *coords)
 get ranks of logical nodes at a coordinate
void TopoManager_getPeRank (int *rank, int *coords)
 get rank of PE at a coordinate
void TopoManager_getHopsBetweenPeRanks (int pe1, int pe2, int *hops)
 get hops betweens Pes
void TopoManager_createPartitions (int scheme, int numparts, int *nodeMap)
 topoaware partition using scheme s


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, IBM ... for tori, meshes ...) Current we have functionality for Blue Gene, Cray XT, BigSim and non-topo machines.

Definition in file TopoManager.h.


Function Documentation

void TopoManager_init (  ) 

void TopoManager_init ( int  numpes  ) 

void TopoManager_setNumThreads ( int  t  ) 

Referenced by TopoManager_init().

Here is the caller graph for this function:

void TopoManager_reset (  ) 

redo the initialization

Referenced by _initCharm(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_free (  ) 

free the current occupant

Referenced by create_topoaware_partitions(), main(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_printAllocation ( FILE *  fp  ) 

print allocation

Referenced by _initCharm(), main(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_getDimCount ( int ndims  ) 

get the number physical dimensions

Referenced by getHilbertList(), getPlanarList(), main(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_getDims ( int dims  ) 

get the length of dimensions, last one is core/process/thread count

Referenced by getHilbertList(), getPlanarList(), main(), TopoManager_init(), and topo::impl::TreeBoundingBoxOn3dTorus< Iterator >::translateCoordinates().

Here is the caller graph for this function:

void TopoManager_getCoordinates ( int  rank,
int coords 
)

get coordinates of a logical node

Referenced by TopoManager_init().

Here is the caller graph for this function:

void TopoManager_getPeCoordinates ( int  rank,
int coords 
)

get coordinate of a PE, includes an additional dim

Referenced by topo::topo::SpanningTreeStrategy_3dTorus_minBytesHops< Iterator, SpanningTreeVertex >::buildNextGen(), main(), TopoManager_init(), and topo::writeAllocTopoManager().

Here is the caller graph for this function:

void TopoManager_getRanks ( int rank_cnt,
int ranks,
int coords 
)

get ranks of logical nodes at a coordinate

Referenced by getHilbertList(), getPlanarList(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_getPeRank ( int rank,
int coords 
)

get rank of PE at a coordinate

Referenced by main(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_getHopsBetweenPeRanks ( int  pe1,
int  pe2,
int hops 
)

get hops betweens Pes

Referenced by LBCommTable::GetCommInfo(), and TopoManager_init().

Here is the caller graph for this function:

void TopoManager_createPartitions ( int  scheme,
int  numparts,
int nodeMap 
)

topoaware partition using scheme s

Referenced by create_topoaware_partitions(), and TopoManager_init().

Here is the caller graph for this function:


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