12 #ifndef SST_CORE_IMPL_PARTITONERS_SINGLEPART_H
13 #define SST_CORE_IMPL_PARTITONERS_SINGLEPART_H
15 #include "sst/core/eli/elementinfo.h"
16 #include "sst/core/sstpart.h"
34 SST_ELI_ELEMENT_VERSION(1,0,0),
35 "Allocates all components to rank 0. Automatically selected for serial jobs.")
48 bool requiresConfigGraph()
override {
return true; }
49 bool spawnOnAllRanks()
override {
return false; }
void performPartition(ConfigGraph *graph) override
Performs a partition of an SST simulation configuration.
Definition: singlepart.cc:26
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:375
Definition: rankInfo.h:21
Base class for Partitioning graphs.
Definition: sstpart.h:31
Single partitioner is a virtual partitioner used for serial jobs.
Definition: singlepart.h:26
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.