13 #ifndef SST_CORE_IMPL_PARTITONERS_ZOLTPART_H
14 #define SST_CORE_IMPL_PARTITONERS_ZOLTPART_H
19 #include <sst/core/sstpart.h>
20 #include <sst/core/output.h>
21 #include <sst/core/eli/elementinfo.h>
26 #ifdef SST_CONFIG_HAVE_MPI
27 #undef SST_CONFIG_HAVE_MPI
30 #define SST_CONFIG_HAVE_MPI
47 SST_ELI_REGISTER_PARTITIONER(
51 SST_ELI_ELEMENT_VERSION(1,0,0),
52 "zoltan parallel partitioner")
57 struct Zoltan_Struct * zolt_config;
65 SSTZoltanPartition(RankInfo world_size, RankInfo my_rank,
int verbosity);
66 ~SSTZoltanPartition();
74 void performPartition(PartitionGraph* graph) override;
76 void performPartition(ConfigGraph* graph)
override {
80 bool requiresConfigGraph()
override {
return false; }
82 bool spawnOnAllRanks()
override {
return true; }
89 #endif // End of HAVE_ZOLTAN
virtual void performPartition(PartitionGraph *UNUSED(graph))
Function to be overridden by subclasses.
Definition: sstpart.h:50
Base class for Partitioning graphs.
Definition: sstpart.h:32