Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Feb 10, 2024
1 parent 208252a commit faba588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psiflow/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +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:
if provider_dict.get("nodes_per_block", 1) > 1:
assert (
provider_keys[0] == "SlurmProvider"
), "multi-node blocks only supported for SLURM"
Expand Down

0 comments on commit faba588

Please sign in to comment.