Skip to content

Commit

Permalink
Merge pull request #174 from xylar/add-gpus-resource
Browse files Browse the repository at this point in the history
Add `gpus_per_node` for machines with GPUs
  • Loading branch information
xylar authored Jul 12, 2024
2 parents bae6e7e + b3bce82 commit ea9098f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion mache/machines/frontier.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ system = slurm
# whether to use mpirun or srun to run a task
parallel_executable = srun

# cores per node on the machine
# allocatable cores per node on the machine
cores_per_node = 56

# gpus per node on the machine
gpus_per_node = 4

# account for running diagnostics jobs
account = cli115

Expand Down
7 changes: 5 additions & 2 deletions mache/machines/pm-gpu.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ system = slurm
# whether to use mpirun or srun to run a task
parallel_executable = srun

# cores per node on the machine
cores_per_node = 256
# cores per node on the machine (with hyperthreading)
cores_per_node = 128

# gpus per node on the machine
gpus_per_node = 4

# account for running diagnostics jobs
account = e3sm
Expand Down

0 comments on commit ea9098f

Please sign in to comment.