mpi.Port

Module Contents

class mpi.Port.Port(peer, tag=tag, communicator=communicator, **kwds)

Bases: mpi.Object.Object

A simple point-to-point communication conduit for a pair of processes

peer
tag = 0
communicator
recv(self)

Receive a python object from my peer

send(self, item)

Pack and send {item} to my peer

recvString(self)

Receive a string from my peer

sendString(self, string)

Send a string to my peer