3.1.4.4. c3po.mpi.MPICollectiveDataManager module
Contain the class MPICollectiveDataManager.
- class c3po.mpi.MPICollectiveDataManager.MPICollectiveDataManager(mpiComm)
Bases:
LocalDataManager,MPICollectiveProcessMPICollectiveDataManageris the MPI collaborative version of thec3po.DataManager.DataManagerin which all processes have locally all data.Can replace, without impact, a
c3po.LocalDataManager.LocalDataManagerfor a calculation on a single process, if the MPI environment is available.- __init__(mpiComm)
Build a
MPICollectiveDataManagerobject.- 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 theMPICollectiveDataManager).
- cloneEmpty()
Return a clone of
selfwithout copying the data.- Returns:
An empty clone of
self.- Return type: