SG++-Doxygen-Documentation
|
#include <MPIEnviroment.hpp>
Public Member Functions | |
~MPIEnviroment () | |
Static Public Member Functions | |
static void | connect_nodes (base::OperationConfiguration conf) |
static base::OperationConfiguration | createMPIConfiguration (int packagesize_master, int leutnant_nodes, int packagesize_leutnants, int slave_nodes_per_leutnant) |
static base::OperationConfiguration | createMPIConfiguration (int compute_nodes, int opencl_devices_per_compute_node) |
static base::OperationConfiguration | createMPIConfiguration (int compute_nodes, base::OCLOperationConfiguration node_opencl_configuration) |
Create MPI configuration file based on a number of compute nodes their OpenCL configuration file. More... | |
static MPI_Comm & | get_communicator (void) |
static base::OperationConfiguration & | get_configuration (void) |
static MPI_Comm & | get_input_communicator (void) |
static int | get_node_count (void) |
static int | get_node_rank (void) |
static int | get_sub_worker_count (void) |
static void | init (int argc, char *argv[], bool verbose=false) |
static void | release (void) |
sgpp::datadriven::clusteringmpi::MPIEnviroment::~MPIEnviroment | ( | void | ) |
Referenced by get_input_communicator().
|
static |
References get_node_count(), and python.statsfileInfo::i.
Referenced by main().
|
static |
References json::DictNode::addAttribute(), json::Node::addAttribute(), json::DictNode::addIDAttr(), json::Node::addIDAttr(), and python.statsfileInfo::i.
Referenced by get_input_communicator(), and main().
|
static |
|
static |
Create MPI configuration file based on a number of compute nodes their OpenCL configuration file.
Creates a MPI configuration with 3 Levels. One master node to control all other nodes, and one leutenant node on every compute node which controls all MPI nodes for this compute nodes. For each OpenCL device specified in the opencl configuration it will also create one worker. Duplicate devices will not be recognized hoewever.
compute_nodes | Number of compute nodes |
node_opencl_configuration | OpenCL configuration file |
References json::DictNode::addAttribute(), json::Node::addAttribute(), json::DictNode::addIDAttr(), json::Node::addIDAttr(), and python.statsfileInfo::i.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References createMPIConfiguration(), and ~MPIEnviroment().
Referenced by sgpp::datadriven::clusteringmpi::MPIWorkerGraphBase::~MPIWorkerGraphBase().
|
static |
Referenced by connect_nodes().
|
static |
Referenced by sgpp::datadriven::clusteringmpi::DensityWorker::DensityWorker(), sgpp::datadriven::clusteringmpi::GraphCreationWorker::divide_workpackages(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::divide_workpackages(), main(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::MPIWorkerBase(), sgpp::datadriven::clusteringmpi::MPIWorkerGraphBase::MPIWorkerGraphBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::MPIWorkerPackageBase(), sgpp::datadriven::clusteringmpi::DensityWorker::receive_and_send_initial_data(), sgpp::datadriven::clusteringmpi::GraphCreationWorker::start_worker_main(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::start_worker_main(), sgpp::datadriven::clusteringmpi::WorkerDummy::WorkerDummy(), and sgpp::datadriven::clusteringmpi::MPIWorkerGraphBase::~MPIWorkerGraphBase().
|
inlinestatic |
Referenced by sgpp::datadriven::clusteringmpi::OperationPrunedGraphCreationMPI::create_graph(), sgpp::datadriven::clusteringmpi::OperationGraphCreationMPI::create_graph(), sgpp::datadriven::clusteringmpi::DensityWorker::DensityWorker(), sgpp::datadriven::clusteringmpi::GraphCreationWorker::divide_workpackages(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::divide_workpackages(), sgpp::datadriven::clusteringmpi::OperationDensityRhsMPI::generate_b(), sgpp::datadriven::clusteringmpi::GraphCreationWorker::GraphCreationWorker(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::MPIWorkerBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::MPIWorkerPackageBase(), sgpp::datadriven::clusteringmpi::OperationDensityMultMPI::mult(), sgpp::datadriven::clusteringmpi::PrunedGraphCreationWorker::PrunedGraphCreationWorker(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::release_sub_workers(), sgpp::datadriven::clusteringmpi::DensityWorker::send_alpha(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::start_sub_workers(), sgpp::datadriven::clusteringmpi::GraphCreationWorker::start_worker_main(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< int >::start_worker_main(), and sgpp::datadriven::clusteringmpi::MPIWorkerGraphBase::~MPIWorkerGraphBase().
|
static |
Referenced by main().
|
static |
References python.statsfileInfo::i.
Referenced by main().