12#ifndef SST_CORE_SSTPART_H
13#define SST_CORE_SSTPART_H
15#include "sst/core/eli/elementinfo.h"
16#include "sst/core/rankInfo.h"
17#include "sst/core/warnmacros.h"
35 SST_ELI_DECLARE_BASE(SSTPartitioner)
36 SST_ELI_DECLARE_DEFAULT_INFO_EXTERN()
37 SST_ELI_DECLARE_CTOR_EXTERN(RankInfo,RankInfo,
int)
40 virtual ~SSTPartitioner() {}
62 virtual bool requiresConfigGraph() {
return false; }
64 virtual bool spawnOnAllRanks() {
return false; }
71#ifndef SST_ELI_REGISTER_PARTITIONER
72#define SST_ELI_REGISTER_PARTITIONER(cls, lib, name, version, desc) \
73 SST_ELI_REGISTER_DERIVED(SST::Partition::SSTPartitioner,cls,lib,name,ELI_FORWARD_AS_ONE(version),desc)
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:390
Definition: configGraph.h:619
virtual void performPartition(PartitionGraph *graph)
Function to be overridden by subclasses.
virtual void performPartition(ConfigGraph *graph)
Function to be overridden by subclasses.