Skip to content

Commit

Permalink
EAMxx: change ghci-snl-cuda specs
Browse files Browse the repository at this point in the history
Grab number of gpus without hard-coding it
  • Loading branch information
bartgol committed Nov 15, 2024
1 parent 224e637 commit 2354936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/eamxx/scripts/machines_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ class GHCISNLCuda(Machine):
concrete = True
@classmethod
def setup(cls):
super().setup_base(name="ghci-snl-cuda",num_bld_res=16,num_run_res=1)
super().setup_base(name="ghci-snl-cuda")
cls.baselines_dir = "/projects/e3sm/baselines/scream/ghci-snl-cuda"
cls.gpu_arch = "cuda"
cls.num_run_res = int(run_cmd_no_fail("nvidia-smi --query-gpu=name --format=csv,noheader | wc -l"))

###############################################################################
class Lassen(Machine):
Expand Down

0 comments on commit 2354936

Please sign in to comment.