Skip to content

Commit

Permalink
bugfix in launcher logic
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Feb 10, 2024
1 parent 0975d0c commit 208252a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions psiflow/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ def parse_config(yaml_dict: dict):
provider_dict = _dict.pop(provider_keys[0])

# if provider requests multiple nodes, switch to (containerized) SrunLauncher
if (
provider_dict.pop("nodes_per_block", 1) > 1
and "container" in yaml_dict
):
if provider_dict.pop("nodes_per_block", 1) > 1:
assert (
provider_keys[0] == "SlurmProvider"
), "multi-node blocks only supported for SLURM"
Expand Down

0 comments on commit 208252a

Please sign in to comment.