SST  13.1.0
Structural Simulation Toolkit
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 (ConfigGraph *graph) override
 Performs a partition of an SST simulation configuration. More...
 
bool requiresConfigGraph () override
 
bool spawnOnAllRanks () override
 
- Public Member Functions inherited from SST::Partition::SSTPartitioner
virtual void performPartition (PartitionGraph *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

◆ performPartition()

void SSTSinglePartition::performPartition ( ConfigGraph graph)
overridevirtual

Performs a partition of an SST simulation configuration.

Parameters
graphThe simulation configuration to partition

Reimplemented from SST::Partition::SSTPartitioner.

References SST::ConfigGraph::getComponentMap().


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