11 #ifndef SST_CORE_PART_SIMPLEPART_H 12 #define SST_CORE_PART_SIMPLEPART_H 15 #include <sst/core/sst_types.h> 16 #include <sst/core/part/sstpart.h> 17 #include <sst/core/elementinfo.h> 18 #include <sst/core/configGraph.h> 27 SST_ELI_REGISTER_PARTITIONER(
31 SST_ELI_ELEMENT_VERSION(1,0,0),
32 "Simple partitioning scheme which attempts to partition on high latency links while balancing number of components per rank.")
38 RankInfo convertPartNum(uint32_t partNum) {
39 return RankInfo(partNum / world_size.thread, partNum % world_size.thread);
43 ComponentId_t* setA,
const int lengthA,
int rankA,
44 ComponentId_t* setB,
const int lengthB,
int rankB,
45 std::map<ComponentId_t, std::map<ComponentId_t, SimTime_t>*> timeTable,
55 bool requiresConfigGraph()
override {
return false; }
56 bool spawnOnAllRanks()
override {
return false; }
62 #endif //SST_CORE_PART_SIMPLERPART_H Definition: simplepart.h:23
Definition: configGraph.h:530
Definition: rankInfo.h:21
Base class for Partitioning graphs.
Definition: sstpart.h:31