Skip to content

Commit

Permalink
Merge pull request #190 from jedwards4b/add_mem_variables
Browse files Browse the repository at this point in the history
add memory usage variables for use on derecho
  • Loading branch information
jedwards4b authored Nov 21, 2024
2 parents 6e77e7e + 79e6002 commit 60a0540
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion machines/derecho/config_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</submit_args>
<directives gpu_enabled="false">
<directive default="/bin/bash" > -S {{ shell }} </directive>
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}</directive>
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem={{ mem_per_node }}GB</directive>
</directives>
<directives gpu_enabled="true">
<directive default="/bin/bash" > -S {{ shell }} </directive>
Expand Down
2 changes: 2 additions & 0 deletions machines/derecho/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<BATCH_SYSTEM>pbs</BATCH_SYSTEM>
<SUPPORTED_BY>cseg</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>128</MAX_TASKS_PER_NODE>
<MEM_PER_TASK>10</MEM_PER_TASK>
<MAX_MEM_PER_NODE>235</MAX_MEM_PER_NODE>
<MAX_GPUS_PER_NODE>4</MAX_GPUS_PER_NODE>
<MAX_MPITASKS_PER_NODE>128</MAX_MPITASKS_PER_NODE>
<MAX_CPUTASKS_PER_GPU_NODE>64</MAX_CPUTASKS_PER_GPU_NODE>
Expand Down

0 comments on commit 60a0540

Please sign in to comment.