Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job and MPMD Job Implementation #603

Merged
merged 18 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions smartsim/launchable/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from .basejob import BaseJob
from .job import Job
from .launchable import Launchable
from .mpmdjob import MPMDJob
from .mpmdpair import MPMDPair

Check warning on line 31 in smartsim/launchable/__init__.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/__init__.py#L27-L31

Added lines #L27 - L31 were not covered by tests
41 changes: 41 additions & 0 deletions smartsim/launchable/basejob.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


from abc import ABC, abstractmethod

Check warning on line 28 in smartsim/launchable/basejob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/basejob.py#L28

Added line #L28 was not covered by tests

from smartsim.launchable.launchable import Launchable

Check warning on line 30 in smartsim/launchable/basejob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/basejob.py#L30

Added line #L30 was not covered by tests


class BaseJob(ABC, Launchable):

Check warning on line 33 in smartsim/launchable/basejob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/basejob.py#L33

Added line #L33 was not covered by tests
"""The highest level abstract base class for a single job that can be launched"""

@abstractmethod
def get_launch_steps(self) -> None: # TODO: -> LaunchSteps:
"""Return the launch steps corresponding to the
internal data.
"""
...
80 changes: 80 additions & 0 deletions smartsim/launchable/job.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from abc import abstractmethod
from copy import deepcopy

Check warning on line 28 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L27-L28

Added lines #L27 - L28 were not covered by tests

from smartsim.entity.entity import SmartSimEntity
from smartsim.launchable.basejob import BaseJob
from smartsim.settings import RunSettings

Check warning on line 32 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L30-L32

Added lines #L30 - L32 were not covered by tests


class Job(BaseJob):

Check warning on line 35 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L35

Added line #L35 was not covered by tests
"""A Job holds a reference to a SmartSimEntity and associated
LaunchSettings prior to launch. It is responsible for turning
the stored entity and launch settings into commands that can be
executed by a launcher.

Jobs will hold a deep copy of launch settings.
"""

def __init__(

Check warning on line 44 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L44

Added line #L44 was not covered by tests
self,
entity: SmartSimEntity,
launch_settings: RunSettings, # TODO: rename to LaunchSettings
) -> None:
super().__init__()
self._entity = deepcopy(entity)
self._launch_settings = deepcopy(launch_settings)

Check warning on line 51 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L49-L51

Added lines #L49 - L51 were not covered by tests
# TODO: self.warehouse_runner = JobWarehouseRunner

@property
def entity(self) -> SmartSimEntity:
return deepcopy(self._entity)

Check warning on line 56 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L54-L56

Added lines #L54 - L56 were not covered by tests

@entity.setter
def entity(self, value):
self._entity = deepcopy(value)

Check warning on line 60 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L58-L60

Added lines #L58 - L60 were not covered by tests

@property
def launch_settings(self) -> RunSettings:
return deepcopy(self._launch_settings)

Check warning on line 64 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L62-L64

Added lines #L62 - L64 were not covered by tests

@launch_settings.setter
def launch_settings(self, value):
self._launch_settings = deepcopy(value)

Check warning on line 68 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L66-L68

Added lines #L66 - L68 were not covered by tests

def get_launch_steps(self) -> None: # -> LaunchCommands:

Check warning on line 70 in smartsim/launchable/job.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/job.py#L70

Added line #L70 was not covered by tests
"""Return the launch steps corresponding to the
internal data.
"""
pass
# TODO: return JobWarehouseRunner.run(self)

def __str__(self) -> str: # pragma: no cover
string = f"SmartSim Entity: {self.entity}\n"
string += f"Launch Settings: {self.launch_settings}"
return string
38 changes: 38 additions & 0 deletions smartsim/launchable/launchable.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


class SmartSimObject:

Check warning on line 28 in smartsim/launchable/launchable.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/launchable.py#L28

Added line #L28 was not covered by tests
"""Base Class for SmartSim Objects"""

...

Check warning on line 31 in smartsim/launchable/launchable.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/launchable.py#L31

Added line #L31 was not covered by tests


class Launchable(SmartSimObject):

Check warning on line 34 in smartsim/launchable/launchable.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/launchable.py#L34

Added line #L34 was not covered by tests
"""Base Class for anything than can be passed
into Experiment.start()"""

...

Check warning on line 38 in smartsim/launchable/launchable.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/launchable.py#L38

Added line #L38 was not covered by tests
110 changes: 110 additions & 0 deletions smartsim/launchable/mpmdjob.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import typing as t
from copy import deepcopy

Check warning on line 28 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L27-L28

Added lines #L27 - L28 were not covered by tests

from smartsim.entity.entity import SmartSimEntity
from smartsim.error.errors import SSUnsupportedError
from smartsim.launchable.basejob import BaseJob
from smartsim.launchable.mpmdpair import MPMDPair
from smartsim.settings.base import RunSettings

Check warning on line 34 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L30-L34

Added lines #L30 - L34 were not covered by tests


def _check_launcher(mpmd_pairs: t.List[MPMDPair]) -> None:

Check warning on line 37 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L37

Added line #L37 was not covered by tests
"""Enforce all pairs have the same launcher"""
flag = 0
ret = None
for mpmd_pair in mpmd_pairs:
if flag == 1:
if ret == mpmd_pair.launch_settings.run_command:
flag = 0

Check warning on line 44 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L39-L44

Added lines #L39 - L44 were not covered by tests
else:
raise SSUnsupportedError("MPMD pairs must all share the same launcher.")
ret = mpmd_pair.launch_settings.run_command
flag = 1

Check warning on line 48 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L46-L48

Added lines #L46 - L48 were not covered by tests


def _check_entity(mpmd_pairs: t.List[MPMDPair]) -> None:

Check warning on line 51 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L51

Added line #L51 was not covered by tests
"""Enforce all pairs have the same entity types"""
flag = 0
ret = None
for mpmd_pair in mpmd_pairs:
if flag == 1:
if type(ret) == type(mpmd_pair.entity):
flag = 0

Check warning on line 58 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L53-L58

Added lines #L53 - L58 were not covered by tests
else:
raise SSUnsupportedError(

Check warning on line 60 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L60

Added line #L60 was not covered by tests
"MPMD pairs must all share the same entity type."
)
ret = mpmd_pair.entity
flag = 1

Check warning on line 64 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L63-L64

Added lines #L63 - L64 were not covered by tests


class MPMDJob(BaseJob):

Check warning on line 67 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L67

Added line #L67 was not covered by tests
"""An MPMDJob holds references to SmartSimEntity and
LaunchSettings pairs. It is responsible for turning
The stored pairs into an MPMD command(s)
"""

def __init__(self, mpmd_pairs: t.List[MPMDPair] = None) -> None:
super().__init__()
self._mpmd_pairs = deepcopy(mpmd_pairs) if mpmd_pairs else []
_check_launcher(self._mpmd_pairs)
_check_entity(self._mpmd_pairs)

Check warning on line 77 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L73-L77

Added lines #L73 - L77 were not covered by tests
# TODO: self.warehouse_runner = MPMDJobWarehouseRunner

@property
def mpmd_pairs(self) -> t.List[MPMDPair]:
return deepcopy(self._mpmd_pairs)

Check warning on line 82 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L80-L82

Added lines #L80 - L82 were not covered by tests

@mpmd_pairs.setter
def mpmd_pair(self, value):
self._mpmd_pair = deepcopy(value)

Check warning on line 86 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L84-L86

Added lines #L84 - L86 were not covered by tests

def add_mpmd_pair(

Check warning on line 88 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L88

Added line #L88 was not covered by tests
self, entity: SmartSimEntity, launch_settings: RunSettings
) -> None:
"""
Add a mpmd pair to the mpmd job
"""
self._mpmd_pairs.append(MPMDPair(entity, launch_settings))
_check_launcher(self.mpmd_pairs)
_check_entity(self.mpmd_pairs)

Check warning on line 96 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L94-L96

Added lines #L94 - L96 were not covered by tests

def get_launch_steps(self) -> None: # TODO: -> LaunchSteps:

Check warning on line 98 in smartsim/launchable/mpmdjob.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdjob.py#L98

Added line #L98 was not covered by tests
"""Return the launch steps corresponding to the
internal data.
"""
pass
# TODO: return MPMDJobWarehouseRunner.run(self)

def __str__(self) -> str: # pragma: no cover
"""returns A user-readable string of a MPMD Job"""
for mpmd_pair in self.mpmd_pairs:
string = "\n== MPMD Pair == \n{}\n{}\n"
return string.format(mpmd_pair.entity, mpmd_pair.launch_settings)
return string
38 changes: 38 additions & 0 deletions smartsim/launchable/mpmdpair.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# BSD 2-Clause License
#
# Copyright (c) 2021-2024, Hewlett Packard Enterprise
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from smartsim.entity.entity import SmartSimEntity
from smartsim.settings.base import RunSettings

Check warning on line 28 in smartsim/launchable/mpmdpair.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdpair.py#L27-L28

Added lines #L27 - L28 were not covered by tests


class MPMDPair:

Check warning on line 31 in smartsim/launchable/mpmdpair.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdpair.py#L31

Added line #L31 was not covered by tests
"""Class to store MPMD Pairs"""

def __init__(

Check warning on line 34 in smartsim/launchable/mpmdpair.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdpair.py#L34

Added line #L34 was not covered by tests
self, entity: SmartSimEntity, launch_settings: RunSettings
): # TODO: rename to LaunchSettings
self.entity = entity
self.launch_settings = launch_settings

Check warning on line 38 in smartsim/launchable/mpmdpair.py

View check run for this annotation

Codecov / codecov/patch

smartsim/launchable/mpmdpair.py#L37-L38

Added lines #L37 - L38 were not covered by tests
Loading
Loading