communicator(4rheolef)

communicator4rheolef

Mpi communicator for c++ (rheolef-7.2)

Overview

In a distributed environment, this class wraps the MPI usual communicator for C++, as provided by the boost::mpi library. In a sequential environment, a dummy class is provided for compatibility purpose.

Examples

communicator comm;
cout << 'my_proc = ' << comm.rank() << endl
     << 'nb_proc = ' << comm.size() << endl;

Implementation

This documentation has been generated from file linalg/lib/communicator.h

struct communicator {
  typedef std::vector<int>::size_type size_type;
  int size() const;
  int rank() const;
};

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Pierre Saramito <[email protected]>

From librheolef-dev 7.2-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.