Skip to content

Commit

Permalink
Merge branch 'parsl+flux' of github.com:mercybassey/parsl into parsl+…
Browse files Browse the repository at this point in the history
…flux

merge
  • Loading branch information
mercybassey committed Mar 18, 2024
2 parents 155d8e1 + 3bb44d3 commit d03cd52
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions parsl/launchers/launchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@
class SimpleLauncher(Launcher):
""" Does no wrapping. Just returns the command as-is
"""
def __init_(self, debug: bool = True) -> None:
def __init__(self, debug: bool = True) -> None:
super().__init__(debug=debug)

def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int) -> str:
"""
Args:
- command (string): The command string to be launched
- task_block (string) : bash evaluated string.
def __call__(self, command: str, tasks_per_node: int, nodes_per_block: int, permit_multiple_nodes: bool = False) -> str:

"""
if nodes_per_block > 1 and not permit_multiple_nodes:
logger.warning("SimpleLauncher only supports 1 node per block. "
"Set permit_multiple_nodes=True to allow multiple nodes per block.")
return command


Expand Down

0 comments on commit d03cd52

Please sign in to comment.