Skip to content

Commit

Permalink
Always write number of nodes on expanse (#827)
Browse files Browse the repository at this point in the history
* Always write number of nodes to avoid error

* Update reference script
  • Loading branch information
cbkerr authored Feb 29, 2024
1 parent 9b4a48f commit 42e8884
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flow/templates/expanse.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{# Templated in accordance with: https://www.sdsc.edu/support/user_guides/expanse.html #}
{% extends "slurm.sh" %}
{% block tasks %}
{% if "shared" not in partition %}
#SBATCH -N {{ resources.num_nodes }}
{% endif %}
#SBATCH --ntasks={{ resources.ncpu_tasks }}
{% if 'gpu' in partition %}
#SBATCH --gpus={{ resources.ngpu_tasks }}
Expand Down
Binary file modified tests/template_reference_data.tar.gz
Binary file not shown.

0 comments on commit 42e8884

Please sign in to comment.