SST  10.0.0
StructuralSimulationToolkit
SST::IMPL::Partition::SSTSinglePartition Class Reference

Single partitioner is a virtual partitioner used for serial jobs. More...

#include <singlepart.h>

Inheritance diagram for SST::IMPL::Partition::SSTSinglePartition:
SST::Partition::SSTPartitioner

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
 

Detailed Description

Single partitioner is a virtual partitioner used for serial jobs.

It simply ensures that all components are assigned to rank 0.

Member Function Documentation

void SSTSinglePartition::performPartition ( PartitionGraph graph)
overridevirtual

Performs a partition of an SST simulation configuration.

Parameters
graphThe simulation configuration to partition

Reimplemented from SST::Partition::SSTPartitioner.

void SST::IMPL::Partition::SSTSinglePartition::performPartition ( ConfigGraph graph)
inlineoverridevirtual

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::Partition::SSTPartitioner::performPartition().


The documentation for this class was generated from the following files: