3.1.4.1.1. c3po.mpi.mpiExchangeMethods.MPIExchangeMethod module
Contain the class MPIExchangeMethod.
- class c3po.mpi.mpiExchangeMethods.MPIExchangeMethod.MPIExchangeMethod
Bases:
ExchangeMethodMPIExchangeMethodis a class interface (to be implemented) which standardizes MPI exchange methods (they also deal with MPI exchanges).- setRanks(ranksToGet, ranksToSet, mpiComm)
Set the MPI communicator and the related ranks to use for the exchanges.
- Parameters:
ranksToGet – List of the ranks of the processes on the get side.
ranksToSet – List of the ranks of the processes on the set side.
mpiComm – MPI communicator related to the previous ranks.