snakemake-executor-plugin-slurm 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of snakemake-executor-plugin-slurm might be problematic. Click here for more details.
- snakemake_executor_plugin_slurm/__init__.py +4 -2
- {snakemake_executor_plugin_slurm-0.4.0.dist-info → snakemake_executor_plugin_slurm-0.4.1.dist-info}/METADATA +1 -1
- snakemake_executor_plugin_slurm-0.4.1.dist-info/RECORD +5 -0
- snakemake_executor_plugin_slurm-0.4.0.dist-info/RECORD +0 -5
- {snakemake_executor_plugin_slurm-0.4.0.dist-info → snakemake_executor_plugin_slurm-0.4.1.dist-info}/LICENSE +0 -0
- {snakemake_executor_plugin_slurm-0.4.0.dist-info → snakemake_executor_plugin_slurm-0.4.1.dist-info}/WHEEL +0 -0
|
@@ -114,8 +114,10 @@ class Executor(RemoteExecutor):
|
|
|
114
114
|
if job.resources.get("mpi", False):
|
|
115
115
|
if job.resources.get("nodes", False):
|
|
116
116
|
call += f" --nodes={job.resources.get('nodes', 1)}"
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
|
|
118
|
+
# fixes #40 - set ntasks regarlless of mpi, because
|
|
119
|
+
# SLURM v22.05 will require it for all jobs
|
|
120
|
+
call += f" --ntasks={job.resources.get('tasks', 1)}"
|
|
119
121
|
|
|
120
122
|
cpus_per_task = job.threads
|
|
121
123
|
if job.resources.get("cpus_per_task"):
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
snakemake_executor_plugin_slurm/__init__.py,sha256=sgumTnrMWWUTslJywjw_WoX_k5cx-UsMbvnFC9Vn9Ek,19994
|
|
2
|
+
snakemake_executor_plugin_slurm-0.4.1.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
|
|
3
|
+
snakemake_executor_plugin_slurm-0.4.1.dist-info/METADATA,sha256=gT36_OAj2fYfC32uaySUuF7kSaDPeQ6O1pfrZMSH3UY,1233
|
|
4
|
+
snakemake_executor_plugin_slurm-0.4.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
5
|
+
snakemake_executor_plugin_slurm-0.4.1.dist-info/RECORD,,
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
snakemake_executor_plugin_slurm/__init__.py,sha256=KNJtszoEJIcRiO_2QPFhWSjfMj7CiUoPZeiHF8-Qus8,19939
|
|
2
|
-
snakemake_executor_plugin_slurm-0.4.0.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
|
|
3
|
-
snakemake_executor_plugin_slurm-0.4.0.dist-info/METADATA,sha256=B3GYo_kbEAZJuPri9F4PYKu94HUREHs2uS4KoFUP6F0,1233
|
|
4
|
-
snakemake_executor_plugin_slurm-0.4.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
5
|
-
snakemake_executor_plugin_slurm-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|