def Send(self, buf, dest=0, tag=0): buf, fastmode = _mpi.make_buf(buf) if fastmode: _mpi.send(buf, dest, tag, self) return else: if dest != _mpi.PROC_NULL: buf = self.SERIALIZER.dump(buf) else: buf = None _mpi.send_string(buf, dest, tag, self) return
def Send(self, buf, dest = 0, tag = 0): buf, fastmode = _mpi.make_buf(buf) if fastmode: _mpi.send(buf, dest, tag, self) return else: if dest != _mpi.PROC_NULL: buf = self.SERIALIZER.dump(buf) else: buf = None _mpi.send_string(buf, dest, tag, self) return
def Rsend(self, buf, dest=0, tag=0): return _mpi.send(buf, dest, tag, self, 'R')
def Rsend(self, buf, dest = 0, tag = 0): return _mpi.send(buf, dest, tag, self, 'R')