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)
76 #endif // SST_CORE_SSTPART_H
virtual void performPartition(PartitionGraph *UNUSED(graph))
Function to be overridden by subclasses.
Definition: sstpart.h:49