Skip to content

mpi_tests

Models for MPI test Tasks.

Classes:

Name Description
TestMultiNodeCommunicationParameters

Model for test Task which verifies that the SocketCommunicator can write back to the Executor on a different node.

TestMultiNodeCommunicationParameters

Bases: TaskParameters

Parameters for the test Task TestMultiNodeCommunication.

Test verifies communication across multiple machines.

Source code in lute/io/models/mpi_tests.py
21
22
23
24
25
26
27
28
29
30
31
32
class TestMultiNodeCommunicationParameters(TaskParameters):
    """Parameters for the test Task `TestMultiNodeCommunication`.

    Test verifies communication across multiple machines.
    """

    send_obj: Literal["plot", "array"] = Field(
        "array", description="Object to send to Executor. `plot` or `array`"
    )
    arr_size: Optional[int] = Field(
        None, description="Size of array to send back to Executor."
    )