STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
Classes | Functions
Distributed Memory Communication

Support functions and classes for communicating on distributed memory for the Runtime System. More...

+ Collaboration diagram for Distributed Memory Communication:

Classes

class  stapl::runtime::communicator
 This class assists with sending messages between processes. More...
 
class  stapl::runtime::mpi_communicator
 Implements a communicator based on MPI-2. More...
 
class  stapl::runtime::message_handle
 This class is used to keep track of the handles associated with a message. More...
 

Functions

unsigned int stapl::runtime::get_processes_per_node (MPI_Comm comm)
 Returns the number of processes per node, based on how many processes are co-scheduled with process 0. More...
 

Detailed Description

Support functions and classes for communicating on distributed memory for the Runtime System.

Function Documentation

◆ get_processes_per_node()

unsigned int stapl::runtime::get_processes_per_node ( MPI_Comm  comm)

Returns the number of processes per node, based on how many processes are co-scheduled with process 0.

This function acts also as an implicit barrier.

Warning
This function will estimate incorrectly if the machine is not used in the same way on all nodes.