We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0837ea commit 525ec4cCopy full SHA for 525ec4c
flow/templates/slurm.sh
@@ -4,9 +4,11 @@
4
#!/bin/bash
5
#SBATCH --job-name="{{ id }}"
6
{% set memory_requested = operations | calc_memory(parallel) %}
7
+{% block memory scoped %}
8
{% if memory_requested %}
9
#SBATCH --mem={{ memory_requested|format_memory }}
10
{% endif %}
11
+{% endblock memory %}
12
{% if partition %}
13
#SBATCH --partition={{ partition }}
14
0 commit comments