mpi

Bindings for basic::mpi namespace

pyrosetta.rosetta.basic.mpi.listener_tag_to_name(tag: pyrosetta.rosetta.basic.mpi.listener_tags) → str

C++: basic::mpi::listener_tag_to_name(enum basic::mpi::listener_tags) –> std::string

class pyrosetta.rosetta.basic.mpi.listener_tags

Bases: pybind11_builtins.pybind11_object

MessageListener id tags note: please add string conversion to util.cc/hh

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__(*args, **kwargs)

Overloaded function.

  1. __eq__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: pyrosetta.rosetta.basic.mpi.listener_tags) -> bool
  2. __eq__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: int) -> bool
__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__getstate__(self: pyrosetta.rosetta.basic.mpi.listener_tags) → tuple
__gt__

Return self>value.

__hash__(self: pyrosetta.rosetta.basic.mpi.listener_tags) → int
__init__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: int) → None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__int__(self: pyrosetta.rosetta.basic.mpi.listener_tags) → int
__le__

Return self<=value.

__lt__

Return self<value.

__ne__(*args, **kwargs)

Overloaded function.

  1. __ne__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: pyrosetta.rosetta.basic.mpi.listener_tags) -> bool
  2. __ne__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: int) -> bool
__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__(self: pyrosetta.rosetta.basic.mpi.listener_tags) → str
__setattr__

Implement setattr(self, name, value).

__setstate__(self: pyrosetta.rosetta.basic.mpi.listener_tags, arg0: tuple) → None
__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

pyrosetta.rosetta.basic.mpi.name_to_listener_tag(listener_tag_name: str) → pyrosetta.rosetta.basic.mpi.listener_tags

C++: basic::mpi::name_to_listener_tag(const class std::basic_string<char> &) –> enum basic::mpi::listener_tags

pyrosetta.rosetta.basic.mpi.request_data_from_head_node(listener_tag: pyrosetta.rosetta.basic.mpi.listener_tags, data: str) → str
send mpi message to head node in order to request data. The
data sent back will be a string formatted by the listener specified in the listener_tags enum of MessageListenerFactory

C++: basic::mpi::request_data_from_head_node(enum basic::mpi::listener_tags, const class std::basic_string<char> &) –> std::string

pyrosetta.rosetta.basic.mpi.send_data_to_head_node(data: str) → None

C++: basic::mpi::send_data_to_head_node(const class std::basic_string<char> &) –> void