3.1.4.4. c3po.mpi.MPICollectiveDataManager module

Inheritance diagram of c3po.mpi.MPICollectiveDataManager

Contain the class MPICollectiveDataManager.

class c3po.mpi.MPICollectiveDataManager.MPICollectiveDataManager(mpiComm)

Bases: LocalDataManager, MPICollectiveProcess

MPICollectiveDataManager is the MPI collaborative version of the c3po.DataManager.DataManager in which all processes have locally all data.

Can replace, without impact, a c3po.LocalDataManager.LocalDataManager for a calculation on a single process, if the MPI environment is available.

__init__(mpiComm)

Build a MPICollectiveDataManager object.

Parameters:

mpiComm – MPI communicator. It must be shared by all processes involved in the MPICollectiveDataManager (and all processes of this MPI communicator must be involed in the MPICollectiveDataManager).

cloneEmpty()

Return a clone of self without copying the data.

Returns:

An empty clone of self.

Return type:

MPICollectiveDataManager