Skip to content

Commit

Permalink
Merge pull request #52 from indigo-dc/fix_elastic_cluster
Browse files Browse the repository at this point in the history
Fix cluster
  • Loading branch information
mtangaro authored Oct 24, 2019
2 parents f5090c8 + b8f5636 commit 4cf7427
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions templates/job_conf.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@
</handlers>
{% if galaxy_lrms == "slurm" %}
<destinations default="slurm">
{% if is_elastic.rc == 0 %}
<destination id="slurm" runner="slurm" tags="mycluster" />
{% else %}
<destination id="slurm" runner="slurm" tags="mycluster" >
<param id="nativeSpecification">--nodes=1 --ntasks={{ galaxy_workers }}</param>
<param id="nativeSpecification">--nodes=1 --ntasks=2</param>
</destination>
{% endif %}
{% else %}
<destinations>
{% endif %}
Expand Down

0 comments on commit 4cf7427

Please sign in to comment.