From 57f720b7acbf8554fd45e986483d205b28302dd4 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 26 Jan 2024 11:26:18 +0100 Subject: [PATCH 1/3] Add ALCF Polaris to machines --- mache/discover.py | 3 ++- mache/machines/polaris.cfg | 47 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 mache/machines/polaris.cfg diff --git a/mache/discover.py b/mache/discover.py index 57472e62..183e5610 100644 --- a/mache/discover.py +++ b/mache/discover.py @@ -29,7 +29,8 @@ def discover_machine(quiet=False): r'^chr-\d{4}': 'chrysalis', r'^compy': 'compy', r'^n\d{4}': 'anvil', - r'^cooley': 'cooley' + r'^cooley': 'cooley', + r'^polaris': 'polaris' } for host_re, mach in machines_by_host_re.items(): p = re.compile(host_re) diff --git a/mache/machines/polaris.cfg b/mache/machines/polaris.cfg new file mode 100644 index 00000000..3de90e2a --- /dev/null +++ b/mache/machines/polaris.cfg @@ -0,0 +1,47 @@ +# Options related to deploying an e3sm-unified conda environment on supported +# machines +[e3sm_unified] + +# the unix group for permissions for the e3sm-unified conda environment +group = E3SM + +# the path to the directory where activation scripts, the base environment, and +# system libraries will be deployed +base_path = /eagle/E3SM/software/e3sm-unified + + +# config options related to data needed by diagnostics software such as +# e3sm_diags and MPAS-Analysis +[diagnostics] + +# The base path to the diagnostics directory +base_path = /eagle/E3SM/diagnostics + +# the unix group for permissions for diagnostics +group = E3SM + + +# The parallel section describes options related to running jobs in parallel +[parallel] + +# parallel system of execution +system = pbs + +# whether to use mpirun or srun to run a task +parallel_executable = mpirun + +# cores per node on the machine +cores_per_node = 32 + +# account for running diagnostics jobs +account = E3SMInput + +# available partition(s) (default is the first) +partitions = prod + + +# config options related to synchronizing files +[sync] + +# the full hostname of the machine +hostname = polaris.alcf.anl.gov From 86d56c3318e9e4dbd199b497b157af1ede542bb9 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 26 Jan 2024 12:50:30 -0700 Subject: [PATCH 2/3] Update paths and group --- mache/machines/polaris.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mache/machines/polaris.cfg b/mache/machines/polaris.cfg index 3de90e2a..9f435c3b 100644 --- a/mache/machines/polaris.cfg +++ b/mache/machines/polaris.cfg @@ -3,11 +3,11 @@ [e3sm_unified] # the unix group for permissions for the e3sm-unified conda environment -group = E3SM +group = E3SMInput # the path to the directory where activation scripts, the base environment, and # system libraries will be deployed -base_path = /eagle/E3SM/software/e3sm-unified +base_path = /lus/eagle/projects/E3SM_RRM/sof/e3sm-unified # config options related to data needed by diagnostics software such as @@ -15,7 +15,7 @@ base_path = /eagle/E3SM/software/e3sm-unified [diagnostics] # The base path to the diagnostics directory -base_path = /eagle/E3SM/diagnostics +base_path = /lus/eagle/projects/E3SM_RRM/diagnostics # the unix group for permissions for diagnostics group = E3SM From 34ff9aaf16f4afe7744a6f71185b80e694b28957 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 26 Jan 2024 13:37:15 -0700 Subject: [PATCH 3/3] Fix group and account names --- mache/machines/polaris.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mache/machines/polaris.cfg b/mache/machines/polaris.cfg index 9f435c3b..5b6d404c 100644 --- a/mache/machines/polaris.cfg +++ b/mache/machines/polaris.cfg @@ -3,7 +3,7 @@ [e3sm_unified] # the unix group for permissions for the e3sm-unified conda environment -group = E3SMInput +group = E3SMinput # the path to the directory where activation scripts, the base environment, and # system libraries will be deployed @@ -34,7 +34,7 @@ parallel_executable = mpirun cores_per_node = 32 # account for running diagnostics jobs -account = E3SMInput +account = E3SMinput # available partition(s) (default is the first) partitions = prod