From cd02e91829821e0bc786372ad91cef017325ca6f Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 22 Oct 2024 20:23:35 -0600 Subject: [PATCH 1/2] Update frontier modules --- mache/spack/frontier_crayclang_mpich.csh | 1 + mache/spack/frontier_crayclang_mpich.sh | 1 + mache/spack/frontier_crayclang_mpich.yaml | 6 +++--- mache/spack/frontier_crayclanggpu_mpich.csh | 1 + mache/spack/frontier_crayclanggpu_mpich.sh | 1 + mache/spack/frontier_crayclanggpu_mpich.yaml | 6 +++--- mache/spack/frontier_gnu_mpich.csh | 1 + mache/spack/frontier_gnu_mpich.sh | 1 + mache/spack/frontier_gnu_mpich.yaml | 6 +++--- mache/spack/frontier_gnugpu_mpich.csh | 1 + mache/spack/frontier_gnugpu_mpich.sh | 1 + mache/spack/frontier_gnugpu_mpich.yaml | 6 +++--- 12 files changed, 20 insertions(+), 12 deletions(-) diff --git a/mache/spack/frontier_crayclang_mpich.csh b/mache/spack/frontier_crayclang_mpich.csh index 71b44826..a65a8bda 100644 --- a/mache/spack/frontier_crayclang_mpich.csh +++ b/mache/spack/frontier_crayclang_mpich.csh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-cray/8.3.3 >& /dev/null module switch cce cce/15.0.1 >& /dev/null module switch craype craype/2.7.20 >& /dev/null diff --git a/mache/spack/frontier_crayclang_mpich.sh b/mache/spack/frontier_crayclang_mpich.sh index 949eef64..cb5fbe76 100644 --- a/mache/spack/frontier_crayclang_mpich.sh +++ b/mache/spack/frontier_crayclang_mpich.sh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-cray/8.3.3 >& /dev/null module switch cce cce/15.0.1 >& /dev/null module switch craype craype/2.7.20 >& /dev/null diff --git a/mache/spack/frontier_crayclang_mpich.yaml b/mache/spack/frontier_crayclang_mpich.yaml index 39da5cf7..df0174b0 100644 --- a/mache/spack/frontier_crayclang_mpich.yaml +++ b/mache/spack/frontier_crayclang_mpich.yaml @@ -83,10 +83,9 @@ spack: buildable: false python: externals: - - spec: python@3.9.13 - prefix: /opt/cray/pe/python/3.9.13.1 + - spec: python@3.11.5 modules: - - cray-python/3.9.13.1 + - cray-python/3.11.5 buildable: false tar: externals: @@ -158,6 +157,7 @@ spack: operating_system: sles15 target: any modules: + - Core/24.07 - PrgEnv-cray/8.3.3 - cce/15.0.1 - craype/2.7.20 diff --git a/mache/spack/frontier_crayclanggpu_mpich.csh b/mache/spack/frontier_crayclanggpu_mpich.csh index 85e79d86..73a199a4 100644 --- a/mache/spack/frontier_crayclanggpu_mpich.csh +++ b/mache/spack/frontier_crayclanggpu_mpich.csh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-cray/8.3.3 >& /dev/null module switch cce cce/15.0.1 >& /dev/null module switch craype craype/2.7.20 >& /dev/null diff --git a/mache/spack/frontier_crayclanggpu_mpich.sh b/mache/spack/frontier_crayclanggpu_mpich.sh index 59e664ee..5242702f 100644 --- a/mache/spack/frontier_crayclanggpu_mpich.sh +++ b/mache/spack/frontier_crayclanggpu_mpich.sh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-cray/8.3.3 >& /dev/null module switch cce cce/15.0.1 >& /dev/null module switch craype craype/2.7.20 >& /dev/null diff --git a/mache/spack/frontier_crayclanggpu_mpich.yaml b/mache/spack/frontier_crayclanggpu_mpich.yaml index e0dfe05a..229cf857 100644 --- a/mache/spack/frontier_crayclanggpu_mpich.yaml +++ b/mache/spack/frontier_crayclanggpu_mpich.yaml @@ -83,10 +83,9 @@ spack: buildable: false python: externals: - - spec: python@3.9.13 - prefix: /opt/cray/pe/python/3.9.13.1 + - spec: python@3.11.5 modules: - - cray-python/3.9.13.1 + - cray-python/3.11.5 buildable: false tar: externals: @@ -158,6 +157,7 @@ spack: operating_system: sles15 target: any modules: + - Core/24.07 - PrgEnv-cray/8.3.3 - cce/15.0.1 - craype/2.7.20 diff --git a/mache/spack/frontier_gnu_mpich.csh b/mache/spack/frontier_gnu_mpich.csh index 72447426..50113051 100644 --- a/mache/spack/frontier_gnu_mpich.csh +++ b/mache/spack/frontier_gnu_mpich.csh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-gnu/8.3.3 >& /dev/null module switch gcc gcc/12.2.0 >& /dev/null diff --git a/mache/spack/frontier_gnu_mpich.sh b/mache/spack/frontier_gnu_mpich.sh index 598a4ee7..a06a0b7b 100644 --- a/mache/spack/frontier_gnu_mpich.sh +++ b/mache/spack/frontier_gnu_mpich.sh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-gnu/8.3.3 >& /dev/null module switch gcc gcc/12.2.0 >& /dev/null diff --git a/mache/spack/frontier_gnu_mpich.yaml b/mache/spack/frontier_gnu_mpich.yaml index 10f7cd34..c909792b 100644 --- a/mache/spack/frontier_gnu_mpich.yaml +++ b/mache/spack/frontier_gnu_mpich.yaml @@ -84,10 +84,9 @@ spack: buildable: false python: externals: - - spec: python@3.9.13 - prefix: /opt/cray/pe/python/3.9.13.1 + - spec: python@3.11.5 modules: - - cray-python/3.9.13.1 + - cray-python/3.11.5 buildable: false tar: externals: @@ -168,6 +167,7 @@ spack: operating_system: sles15 target: x86_64 modules: + - Core/24.07 - PrgEnv-gnu/8.3.3 - gcc/12.2.0 - craype/2.7.19 diff --git a/mache/spack/frontier_gnugpu_mpich.csh b/mache/spack/frontier_gnugpu_mpich.csh index 99554390..75d47895 100644 --- a/mache/spack/frontier_gnugpu_mpich.csh +++ b/mache/spack/frontier_gnugpu_mpich.csh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-gnu/8.3.3 >& /dev/null module switch gcc gcc/11.2.0 >& /dev/null module load craype-accel-amd-gfx90a diff --git a/mache/spack/frontier_gnugpu_mpich.sh b/mache/spack/frontier_gnugpu_mpich.sh index 3510567f..63db8a32 100644 --- a/mache/spack/frontier_gnugpu_mpich.sh +++ b/mache/spack/frontier_gnugpu_mpich.sh @@ -1,4 +1,5 @@ module reset >& /dev/null +module switch Core/24.07 >& /dev/null module switch PrgEnv-cray PrgEnv-gnu/8.3.3 >& /dev/null module switch gcc gcc/11.2.0 >& /dev/null module load craype-accel-amd-gfx90a diff --git a/mache/spack/frontier_gnugpu_mpich.yaml b/mache/spack/frontier_gnugpu_mpich.yaml index 7b0ebdf7..d864d8f5 100644 --- a/mache/spack/frontier_gnugpu_mpich.yaml +++ b/mache/spack/frontier_gnugpu_mpich.yaml @@ -84,10 +84,9 @@ spack: buildable: false python: externals: - - spec: python@3.9.13 - prefix: /opt/cray/pe/python/3.9.13.1 + - spec: python@3.11.5 modules: - - cray-python/3.9.13.1 + - cray-python/3.11.5 buildable: false tar: externals: @@ -169,6 +168,7 @@ spack: operating_system: sles15 target: x86_64 modules: + - Core/24.07 - PrgEnv-gnu/8.3.3 - gcc/11.2.0 - craype/2.7.19 From f7e0b71ed40537644fd99fd066774c4533255bc6 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sat, 26 Oct 2024 15:01:52 -0600 Subject: [PATCH 2/2] Update cmake on frontier --- mache/spack/frontier_crayclang_mpich.yaml | 5 +++-- mache/spack/frontier_crayclanggpu_mpich.yaml | 5 +++-- mache/spack/frontier_gnu_mpich.yaml | 5 +++-- mache/spack/frontier_gnugpu_mpich.yaml | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/mache/spack/frontier_crayclang_mpich.yaml b/mache/spack/frontier_crayclang_mpich.yaml index df0174b0..3d4ca4e7 100644 --- a/mache/spack/frontier_crayclang_mpich.yaml +++ b/mache/spack/frontier_crayclang_mpich.yaml @@ -38,8 +38,9 @@ spack: buildable: false cmake: externals: - - spec: cmake@3.23.2 - prefix: /sw/frontier/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/cmake-3.23.2-4r4mpiba7cwdw2hlakh5i7tchi64s3qd + - spec: cmake@3.27.9 + modules: + - cmake/3.27.9 buildable: false curl: externals: diff --git a/mache/spack/frontier_crayclanggpu_mpich.yaml b/mache/spack/frontier_crayclanggpu_mpich.yaml index 229cf857..2c891729 100644 --- a/mache/spack/frontier_crayclanggpu_mpich.yaml +++ b/mache/spack/frontier_crayclanggpu_mpich.yaml @@ -38,8 +38,9 @@ spack: buildable: false cmake: externals: - - spec: cmake@3.23.2 - prefix: /sw/frontier/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/cmake-3.23.2-4r4mpiba7cwdw2hlakh5i7tchi64s3qd + - spec: cmake@3.27.9 + modules: + - cmake/3.27.9 buildable: false curl: externals: diff --git a/mache/spack/frontier_gnu_mpich.yaml b/mache/spack/frontier_gnu_mpich.yaml index c909792b..bd171aef 100644 --- a/mache/spack/frontier_gnu_mpich.yaml +++ b/mache/spack/frontier_gnu_mpich.yaml @@ -39,8 +39,9 @@ spack: buildable: false cmake: externals: - - spec: cmake@3.23.2 - prefix: /sw/frontier/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/cmake-3.23.2-4r4mpiba7cwdw2hlakh5i7tchi64s3qd + - spec: cmake@3.27.9 + modules: + - cmake/3.27.9 buildable: false curl: externals: diff --git a/mache/spack/frontier_gnugpu_mpich.yaml b/mache/spack/frontier_gnugpu_mpich.yaml index d864d8f5..568596ca 100644 --- a/mache/spack/frontier_gnugpu_mpich.yaml +++ b/mache/spack/frontier_gnugpu_mpich.yaml @@ -39,8 +39,9 @@ spack: buildable: false cmake: externals: - - spec: cmake@3.23.2 - prefix: /sw/frontier/spack-envs/base/opt/linux-sles15-x86_64/gcc-7.5.0/cmake-3.23.2-4r4mpiba7cwdw2hlakh5i7tchi64s3qd + - spec: cmake@3.27.9 + modules: + - cmake/3.27.9 buildable: false curl: externals: