Skip to content
Snippets Groups Projects
Commit c9af178f authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Adding an option for reserving the entire node. Adds --exclusive --mem=0 parameters to sbatch

parent 108cc258
No related branches found
No related tags found
No related merge requests found
Pipeline #8587 failed with stages
...@@ -52,6 +52,10 @@ attributes: ...@@ -52,6 +52,10 @@ attributes:
options: options:
- [ "4.0.0-foss-2017b-mpi", "RELION/4.0.0-foss-2017b-mpi" ] - [ "4.0.0-foss-2017b-mpi", "RELION/4.0.0-foss-2017b-mpi" ]
- [ "3.1.3-foss-2017b", "RELION/3.1.3-foss-2017b" ] - [ "3.1.3-foss-2017b", "RELION/3.1.3-foss-2017b" ]
reserve_node:
widget: check_box
label: "Reserve the entire node"
form: form:
- version - version
...@@ -60,4 +64,5 @@ form: ...@@ -60,4 +64,5 @@ form:
- bc_num_gpus - bc_num_gpus
- bc_num_slots - bc_num_slots
- bc_num_mems - bc_num_mems
- reserve_node
- bc_email_on_started - bc_email_on_started
...@@ -24,3 +24,7 @@ script: ...@@ -24,3 +24,7 @@ script:
- "--mail-type=BEGIN" - "--mail-type=BEGIN"
- "--mail-user=<%= email %>" - "--mail-user=<%= email %>"
<%- end -%> <%- end -%>
<%- if reserve_node == "1" -%>
- "--exclusive"
- "--mem=0"
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment