13 #ifndef SST_CORE_PART_BASE
14 #define SST_CORE_PART_BASE
16 #include "sst/core/rankInfo.h"
17 #include "sst/core/warnmacros.h"
18 #include "sst/core/eli/elementinfo.h"
36 SST_ELI_DECLARE_BASE(SSTPartitioner)
37 SST_ELI_DECLARE_DEFAULT_INFO_EXTERN()
38 SST_ELI_DECLARE_CTOR_EXTERN(RankInfo,RankInfo,
int)
41 virtual ~SSTPartitioner() {}
63 virtual bool requiresConfigGraph() {
return false; }
65 virtual bool spawnOnAllRanks() {
return false; }
74 #ifndef SST_ELI_REGISTER_PARTITIONER
75 #define SST_ELI_REGISTER_PARTITIONER(cls,lib,name,version,desc) \
76 SST_ELI_REGISTER_DERIVED(SST::Partition::SSTPartitioner,cls,lib,name,ELI_FORWARD_AS_ONE(version),desc)
virtual void performPartition(PartitionGraph *UNUSED(graph))
Function to be overridden by subclasses.
Definition: sstpart.h:50