OpenAtom
Version1.5a
|
A class that orchestrates the mapping and creation of one ortho array and accompanying chares like OrthoHelper, CLA_Matrix etc. More...
#include <orthoBuilder.h>
Public Member Functions | |
Builder (const orthoConfig &_cfg) | |
A builder will always create the same ortho as per the supplied configs. | |
CkArrayID | build (cp::paircalc::InstanceIDs &asymmHandle, const startup::PCMapConfig mapCfg) |
Construct an ortho world given the configs. More... | |
Private Attributes | |
orthoConfig | cfg |
The configurations for the ortho that should be instantiated. | |
A class that orchestrates the mapping and creation of one ortho array and accompanying chares like OrthoHelper, CLA_Matrix etc.
Definition at line 17 of file orthoBuilder.h.
CkArrayID cp::ortho::Builder::build | ( | cp::paircalc::InstanceIDs & | asymmHandle, |
const startup::PCMapConfig | mapCfg | ||
) |
Construct an ortho world given the configs.
Create the map objects and also all the chare arrays needed for an Ortho instance.
MulticastMgr that handles CLA_Matrix collectives
MulticastMgr that handles Ortho –> PC mcasts
MulticastMgr that handles PC –> Ortho redns
The step 2 helper chare array proxy
The step 2 helper chare AID to pass to ortho
The step 2 helper map logic object
Create multicast manager groups for Ortho to use
Definition at line 24 of file orthoBuilder.C.
References cfg, SCalcMap::getMapTable(), cp::ortho::orthoConfig::grainSize, cp::paircalc::InstanceIDs::mapperGID, cp::ortho::orthoConfig::numStates, and Timer.
Referenced by cp::startup::PCCreationManager::build().