SST
10.1.0
StructuralSimulationToolkit
|
Single partitioner is a virtual partitioner used for serial jobs. More...
#include <singlepart.h>
Public Member Functions | |
SST_ELI_REGISTER_PARTITIONER (SSTSinglePartition,"sst","single", SST_ELI_ELEMENT_VERSION(1, 0, 0),"Allocates all components to rank 0. Automatically selected for serial jobs.") SSTSinglePartition(RankInfo total_ranks | |
Creates a new single partition scheme. | |
void | performPartition (PartitionGraph *graph) override |
Performs a partition of an SST simulation configuration. More... | |
void | performPartition (ConfigGraph *graph) override |
Function to be overridden by subclasses. More... | |
bool | requiresConfigGraph () override |
bool | spawnOnAllRanks () override |
Public Member Functions inherited from SST::Partition::SSTPartitioner | |
virtual void | performPartition (PartitionGraph *UNUSED(graph)) |
Function to be overridden by subclasses. More... | |
virtual void | performPartition (ConfigGraph *UNUSED(graph)) |
Function to be overridden by subclasses. More... | |
Data Fields | |
RankInfo | my_rank |
RankInfo int | verbosity |
Single partitioner is a virtual partitioner used for serial jobs.
It simply ensures that all components are assigned to rank 0.
|
inlineoverridevirtual |
Performs a partition of an SST simulation configuration.
graph | The simulation configuration to partition |
Reimplemented from SST::Partition::SSTPartitioner.
References SST::Partition::SSTPartitioner::performPartition().
|
overridevirtual |
Function to be overridden by subclasses.
Performs the partitioning of the Graph using the ConfigGraph object. The consequence of using ConfigGraphs is that no-cut links are not supported.
Result of this function is that every ConfigComponent in graph has a Rank applied to it.
Reimplemented from SST::Partition::SSTPartitioner.
References SST::ConfigGraph::getComponentMap().