triqs.utility.mpi_nompi.recv

triqs.utility.mpi_nompi.recv(source=0)[source]

Serial receive: return the value previously stored by send().

Parameters:
sourceint, optional

Ignored; accepted for API compatibility. Default 0.

Returns:
object

The value that was passed to the most recent send().

Raises:
Exception

If no send() has been issued since the last recv().