triqs.utility.mpi_nompi
Serial stub implementation of the TRIQS MPI interface.
Mirrors the public surface of triqs.utility.mpi_mpi4py for the
case where TRIQS is invoked outside of an MPI launcher. Every function
either returns its input unchanged, performs a no-op, or runs the
computation locally; the underlying mpi4py is never imported.
triqs.utility.mpi re-exports this module when
triqs.utility.mpi.check_for_mpi() returns False.
Attributes
- worldNone
Placeholder for the communicator. Always
Nonein serial.- rankint
Always
0.- sizeint
Always
1.- All_Nodes_reportbool
Provided for API compatibility with the parallel backend; has no effect here. Default
False.
Functions
|
Serial reduction: return |
|
No-op barrier provided for API compatibility. |
|
Serial broadcast: return |
Return |
|
Print the local hostname. |
|
|
Write |
|
Write |
|
Serial receive: return the value previously stored by |
|
Print one line per argument to |
|
Serial send: store |
|
Serial slice: return |