Skip to content

Commit

Permalink
Fix sample job config for old Galaxy 19.01
Browse files Browse the repository at this point in the history
The version of the drmaa library used by Galaxy 19.01 does not yet
support the --cpus-per-task option.

Compare: natefoo/slurm-drmaa#2
  • Loading branch information
wm75 committed Sep 23, 2020
1 parent 4490c22 commit 3837591
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions job_conf.xml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,17 @@
<destination id="slurm-4c" runner="slurm">
<env file="/galaxy_venv/bin/activate"/>
<param id="enabled" from_environ="GALAXY_RUNNERS_ENABLE_SLURM">true</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--ntasks=1 --cpus-per-task=4</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--nodes=1=1--ntasks=4 --ntasks-per-node=4</param>
</destination>
<destination id="slurm-6c" runner="slurm">
<env file="/galaxy_venv/bin/activate"/>
<param id="enabled" from_environ="GALAXY_RUNNERS_ENABLE_SLURM">true</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--ntasks=1 --cpus-per-task=6</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--nodes=1=1 --ntasks=6 --ntasks-per-node=6</param>
</destination>
<destination id="slurm-8c" runner="slurm">
<env file="/galaxy_venv/bin/activate"/>
<param id="enabled" from_environ="GALAXY_RUNNERS_ENABLE_SLURM">true</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--ntasks=1 --cpus-per-task=8</param>
<param id="nativeSpecification" from_environ="NATIVE_SPEC">--nodes=1=1 --ntasks=8 --ntasks-per-node=8</param>
</destination>
</destinations>
<tools>
Expand All @@ -177,3 +177,4 @@
<limits>
</limits>
</job_conf>

0 comments on commit 3837591

Please sign in to comment.