29 SST_ELI_REGISTER_PARTITIONER(
33 SST_ELI_ELEMENT_VERSION(1,0,0),
34 "Simple partitioning scheme which attempts to partition on high latency links "
35 "while balancing number of components per rank.")
41 RankInfo convertPartNum(uint32_t partNum)
43 return RankInfo(partNum / world_size.thread, partNum % world_size.thread);
46 void simple_partition_step(PartitionComponentMap_t& component_map, ComponentId_t* setA,
const int lengthA,
47 int rankA, ComponentId_t* setB,
const int lengthB,
int rankB,
48 std::map<ComponentId_t, std::map<ComponentId_t, SimTime_t>*> timeTable,
int step);
53 ~SimplePartitioner() {}
57 bool requiresConfigGraph()
override {
return false; }
58 bool spawnOnAllRanks()
override {
return false; }