Skip to content

Commit f5c3d4c

Browse files
fix: ensure proper handling of group jobs in combination with the slurm-jobstep executor
1 parent 18acfb6 commit f5c3d4c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ keywords = ["snakemake", "plugin", "executor", "cluster", "slurm"]
1616
[tool.poetry.dependencies]
1717
python = "^3.11"
1818
snakemake-interface-common = "^1.13.0"
19-
snakemake-interface-executor-plugins = "^8.0.2"
20-
snakemake-executor-plugin-slurm-jobstep = "^0.1.5"
19+
snakemake-interface-executor-plugins = "^8.2.0"
20+
snakemake-executor-plugin-slurm-jobstep = "^0.1.10"
2121
throttler = "^1.2.2"
2222

2323
[tool.poetry.group.dev.dependencies]

snakemake_executor_plugin_slurm/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
auto_deploy_default_storage_provider=False,
4040
# wait a bit until slurmdbd has job info available
4141
init_seconds_before_status_checks=40,
42+
pass_group_args=True,
4243
)
4344

4445

@@ -51,7 +52,7 @@ def __post_init__(self):
5152
self._fallback_partition = None
5253

5354
def additional_general_args(self):
54-
return "--executor slurm-jobstep"
55+
return "--executor slurm-jobstep --jobs 1"
5556

5657
def run_job(self, job: JobExecutorInterface):
5758
# Implement here how to run a job.

0 commit comments

Comments
 (0)