Zoltan2
|
A Default MachineRepresentation Class. More...
#include <Zoltan2_MachineTorusLDMS.hpp>
Public Member Functions | |
MachineRepresentation (const Comm< int > &comm) | |
Constructor MachineRepresentation Class. More... | |
MachineRepresentation (const RCP< Comm< int > > &comm_) | |
Constructor MachineRepresentation Class. More... | |
void | getMyCoordinate () |
getMyCoordinate function stores the coordinate of the current processor in procCoords[*][rank] More... | |
void | gatherMachineCoordinates () |
gatherMachineCoordinates function reduces and stores all machine coordinates. More... | |
virtual | ~MachineRepresentation () |
destructor of the class free memory in procCoords. More... | |
int | getProcDim () const |
getProcDim function returns the dimension of the physical processor layout. More... | |
nCoord_t ** | getProcCoords () const |
getProcDim function returns the coordinates of processors in two dimensional array. More... | |
int | getNumProcs () const |
getNumProcs function returns the number of processors. More... | |
Public Member Functions inherited from Zoltan2::MachineRepresentation< nNo_t, nCoord_t > | |
MachineRepresentation (const Teuchos::Comm< int > &comm) | |
Constructor MachineRepresentation Class. More... | |
MachineRepresentation (const Teuchos::Comm< int > &comm, const Teuchos::ParameterList &pl) | |
~MachineRepresentation () | |
bool | hasMachineCoordinates () const |
indicates whether or not the machine has coordinates More... | |
int | getMachineDim () const |
returns the dimension (number of coords per node) in the machine More... | |
bool | getMachineExtent (int *nxyz) const |
sets the number of unique coordinates in each machine dimension More... | |
bool | getMachineExtentWrapArounds (bool *wrap_around) const |
if the machine has a wrap-around tourus link in each dimension. More... | |
bool | getMyMachineCoordinate (nNo_t *xyz) const |
getMyCoordinate function set the machine coordinate xyz of the current process return true if current process' coordinates are available More... | |
bool | getMachineCoordinate (const int rank, nNo_t *xyz) const |
getCoordinate function set the machine coordinate xyz of any rank process return true if coordinates are available by rank More... | |
bool | getMachineCoordinate (const char *nodename, nNo_t *xyz) const |
getCoordinate function set the machine coordinate xyz of any node by nodename return true if coordinates are available by nodename More... | |
bool | getAllMachineCoordinatesView (nNo_t **&allCoords) const |
getProcDim function set the coordinates of all ranks allCoords[i][j], i=0,...,getMachineDim(), j=0,...,getNumRanks(), is the i-th dimensional coordinate for rank j. return true if coordinates are available for all ranks More... | |
int | getNumRanks () const |
return the number of ranks. More... | |
bool | getHopCount (int rank1, int rank2, nNo_t &hops) const |
return the hop count between rank1 and rank2 More... | |
nCoord_t | getNumUniqueGroups () const |
getNumUniqueGroups function return the number of unique Dragonfly network groups in provided allocation. More... | |
bool | getGroupCount (nCoord_t *grp_count) const |
return the number of ranks in each group (RCA X-dim, e.g. first dim) More... | |
Additional Inherited Members | |
Public Types inherited from Zoltan2::MachineRepresentation< nNo_t, nCoord_t > | |
typedef nNo_t | machine_pcoord_t |
typedef nCoord_t | machine_part_t |
typedef MachineForTesting < nNo_t, nCoord_t > | machine_t |
Static Public Member Functions inherited from Zoltan2::MachineRepresentation< nNo_t, nCoord_t > | |
static void | getValidParameters (Teuchos::ParameterList &pl) |
Set up validators specific to this Problem. More... | |
A Default MachineRepresentation Class.
Work In Progress, use another Machine Type.
Definition at line 24 of file Zoltan2_MachineTorusLDMS.hpp.
|
inlinevirtual |
destructor of the class free memory in procCoords.
Definition at line 183 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
Constructor MachineRepresentation Class.
comm_ | Communication object. |
Definition at line 38 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
Constructor MachineRepresentation Class.
comm_ | RCP Communication object. |
Definition at line 84 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
getMyCoordinate function stores the coordinate of the current processor in procCoords[*][rank]
Definition at line 129 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
gatherMachineCoordinates function reduces and stores all machine coordinates.
Definition at line 163 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
getProcDim function returns the dimension of the physical processor layout.
Definition at line 195 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
getProcDim function returns the coordinates of processors in two dimensional array.
Definition at line 202 of file Zoltan2_MachineTorusLDMS.hpp.
|
inline |
getNumProcs function returns the number of processors.
Definition at line 210 of file Zoltan2_MachineTorusLDMS.hpp.