Skip to content

Commit aaa10fa

Browse files
committed
enable exclusive as reasonable default
1 parent 4500e23 commit aaa10fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

psiflow/execution.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ def from_config(
131131
provider_cls = SlurmProvider
132132
provider_kwargs = kwargs.pop("slurm") # do not allow empty dict
133133
provider_kwargs["init_blocks"] = 0
134+
if not 'exclusive' in provider_kwargs:
135+
provider_kwargs['exclusive'] = False
134136
else:
135137
provider_cls = LocalProvider # noqa: F405
136138
provider_kwargs = kwargs.pop("local", {})

0 commit comments

Comments
 (0)