00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 #ifndef SST_CORE_PART_SINGLE
00014 #define SST_CORE_PART_SINGLE
00015 
00016 #include <sst/core/part/sstpart.h>
00017 
00018 using namespace SST;
00019 using namespace SST::Partition;
00020 
00021 namespace SST {
00022 namespace Partition {
00023 
00024 
00025     
00026 
00027 
00028 
00029 
00030 class SSTSinglePartition : public SST::Partition::SSTPartitioner {
00031 
00032         public:
00033 
00034 
00035 
00036                 SSTSinglePartition();
00037 
00038 
00039 
00040 
00041 
00042                 void performPartition(PartitionGraph* graph);
00043 
00044         bool requiresConfigGraph() { return false; }
00045         bool spawnOnAllRanks() { return false; }
00046 
00047         static SSTPartitioner* allocate(int total_ranks, int my_rank, int verbosity) {
00048             return new SSTSinglePartition();
00049     }
00050         
00051         private:
00052         static bool initialized;
00053 };
00054 
00055 }
00056 }
00057 
00058 #endif