Skip to content

Commit

Permalink
Fix SLURM scripts on SDSC Expanse. (#810)
Browse files Browse the repository at this point in the history
* Fix expanse variable names.

* Update test reference data.

* Update change log.
  • Loading branch information
joaander authored Feb 5, 2024
1 parent ba2a3ae commit da6fc8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Version 0.27
[next] -- not yet released
--------------------------

Fixed
+++++

- Generate correct SLURM scripts on SDSC Expanse (#810).

Changed
+++++++

Expand Down
4 changes: 2 additions & 2 deletions flow/templates/expanse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{% if "shared" not in partition %}
#SBATCH -N {{ resources.num_nodes }}
{% endif %}
#SBATCH --ntasks={{ resources.ncpus_tasks }}
#SBATCH --ntasks={{ resources.ncpu_tasks }}
{% if 'gpu' in partition %}
#SBATCH --gpus={{ resources.gpu_tasks }}
#SBATCH --gpus={{ resources.ngpu_tasks }}
{% endif %}
{% endblock tasks %}
{% block header %}
Expand Down
Binary file modified tests/template_reference_data.tar.gz
Binary file not shown.

0 comments on commit da6fc8f

Please sign in to comment.