tkwant.mpi.communicator_init¶
-
tkwant.mpi.
communicator_init
(comm=None)[source]¶ Initialize a global MPI communicator for tkwant.
- Parameters
comm (
mpi4py.MPI.Intracomm
, optional) – MPI communicator that tkwant will use. By default, this routine initializes the communicator to MPI.COMM_WORLD. Note that this routine will always initialize the global communicator with a dublicate.