From a99ce2289c5f50bc773ce1c6e7c186aa2854b1ac Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Wed, 18 Jun 2025 11:34:42 +1000 Subject: [PATCH 01/22] +mom_symmetric --- spack.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/spack.yaml b/spack.yaml index 7b32aeb7..a942dc6d 100644 --- a/spack.yaml +++ b/spack.yaml @@ -16,6 +16,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - +mom_symmetric access-cice: require: - '@CICE6.6.0-3' From 172ff226d797f5c51f683bd03964c2843b62f1a9 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Wed, 18 Jun 2025 14:42:26 +1000 Subject: [PATCH 02/22] remove +mom_symmetric, +asymmetric_mem --- spack.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/spack.yaml b/spack.yaml index a942dc6d..025e26b3 100644 --- a/spack.yaml +++ b/spack.yaml @@ -16,7 +16,6 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - +mom_symmetric access-cice: require: - '@CICE6.6.0-3' @@ -27,7 +26,6 @@ spack: access-mom6: require: - '@2025.02.001' - - '+asymmetric_mem' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From f517777c8e6a833895abcf1d4c216e6c7c514a52 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Mon, 30 Jun 2025 16:55:16 +1000 Subject: [PATCH 03/22] Change MOM6 commit reference in spack.yaml to add recent GFDL mom-ocean merge and small index bug --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 025e26b3..245cfda9 100644 --- a/spack.yaml +++ b/spack.yaml @@ -25,7 +25,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-mom6: require: - - '@2025.02.001' + - '@921b3402466fd0a24ab8c409bbef8fb721f483bd' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From e6c881b3615e713f12b157ff5caaa2b11753dfa5 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Mon, 30 Jun 2025 17:11:52 +1000 Subject: [PATCH 04/22] Attempt to fix notation according to https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 245cfda9..ffd07ca6 100644 --- a/spack.yaml +++ b/spack.yaml @@ -25,7 +25,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-mom6: require: - - '@921b3402466fd0a24ab8c409bbef8fb721f483bd' + - '@git.921b3402466fd0a24ab8c409bbef8fb721f483bd=2025.02.001' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From 8f3d756c92f54889cb8272e50c15bea163f3d7f8 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Tue, 1 Jul 2025 10:18:55 +1000 Subject: [PATCH 05/22] Update git version of MOM6 after Dougie rebased it --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index ffd07ca6..01544c2a 100644 --- a/spack.yaml +++ b/spack.yaml @@ -25,7 +25,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-mom6: require: - - '@git.921b3402466fd0a24ab8c409bbef8fb721f483bd=2025.02.001' + - '@git.f20b0e150b0273b128ebd0e63ee3238755aa0986=2025.02.001' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From a8a13905ebefee0c744ccac25249d97a6b499ba3 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 15:14:04 +1000 Subject: [PATCH 06/22] Update to %oneapi@2025.1.1 --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 01544c2a..b966d0f1 100644 --- a/spack.yaml +++ b/spack.yaml @@ -83,7 +83,7 @@ spack: all: require: - - '%oneapi@2025.0.4' + - '%oneapi@2025.1.1' - 'target=x86_64_v4' view: true concretizer: From d7c4e584818700ac9f475485e638043cfc6ff758 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:02:11 +1000 Subject: [PATCH 07/22] Use %oneapi@2025.0.4 for FMS only --- spack.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/spack.yaml b/spack.yaml index b966d0f1..5ef2cda7 100644 --- a/spack.yaml +++ b/spack.yaml @@ -71,6 +71,7 @@ spack: fms: require: - '@git.2025.02=2025.02' + - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' From 122f32a8b232dfeb2294fcfbacbff164bbd29c38 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:25:52 +1000 Subject: [PATCH 08/22] MOM6 with %oneapi@2025.1.1, everything else with %oneapi@2025.0.4 --- spack.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spack.yaml b/spack.yaml index 5ef2cda7..2d47417e 100644 --- a/spack.yaml +++ b/spack.yaml @@ -29,6 +29,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.1.1' access-ww3: require: - '@2025.03.0' @@ -71,7 +72,6 @@ spack: fms: require: - '@git.2025.02=2025.02' - - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' @@ -84,7 +84,7 @@ spack: all: require: - - '%oneapi@2025.1.1' + - '%oneapi@2025.0.4' - 'target=x86_64_v4' view: true concretizer: From dbac0eeab74dba2c076bdcee2f8a19be4033eefa Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:34:09 +1000 Subject: [PATCH 09/22] Explicitly set compiler for each package --- spack.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 2d47417e..1a13c0b8 100644 --- a/spack.yaml +++ b/spack.yaml @@ -16,6 +16,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-cice: require: - '@CICE6.6.0-3' @@ -23,6 +24,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-mom6: require: - '@git.f20b0e150b0273b128ebd0e63ee3238755aa0986=2025.02.001' @@ -33,24 +35,28 @@ spack: access-ww3: require: - '@2025.03.0' + - '%oneapi@2025.0.4' access3-share: require: - '@2025.03.1' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-generic-tracers: require: - '@git.dev-2025.05.001=development' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.1.1' access-mocsy: require: - '@git.2017.12.0=gtracers' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.1.1' # Other Dependencies esmf: @@ -59,32 +65,39 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' parallelio: require: - '@2.6.2' + - '%oneapi@2025.0.4' netcdf-c: require: - '@4.9.2' - build_system=cmake build_type=RelWithDebInfo + - '%oneapi@2025.0.4' netcdf-fortran: require: - '@4.6.1' + - '%oneapi@2025.0.4' fms: require: - '@git.2025.02=2025.02' + - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' + - '%oneapi@2025.0.4' fortranxml: require: - '@4.1.2' + - '%oneapi@2025.0.4' gcc-runtime: require: - '%gcc' + - '%oneapi@2025.0.4' all: require: - - '%oneapi@2025.0.4' - 'target=x86_64_v4' view: true concretizer: From 8a4755e5838519c847a46b05cee5db6a61846e73 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 16:40:43 +1000 Subject: [PATCH 10/22] Fix typo --- spack.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 1a13c0b8..85d139ce 100644 --- a/spack.yaml +++ b/spack.yaml @@ -94,7 +94,6 @@ spack: gcc-runtime: require: - '%gcc' - - '%oneapi@2025.0.4' all: require: From 35281225a7737e31abca62f029b183d1b0466801 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 1 Jul 2025 19:55:09 +1000 Subject: [PATCH 11/22] This should work too? --- spack.yaml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/spack.yaml b/spack.yaml index 85d139ce..02fed631 100644 --- a/spack.yaml +++ b/spack.yaml @@ -16,7 +16,6 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' access-cice: require: - '@CICE6.6.0-3' @@ -24,7 +23,6 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' access-mom6: require: - '@git.f20b0e150b0273b128ebd0e63ee3238755aa0986=2025.02.001' @@ -35,14 +33,12 @@ spack: access-ww3: require: - '@2025.03.0' - - '%oneapi@2025.0.4' access3-share: require: - '@2025.03.1' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' access-generic-tracers: require: - '@git.dev-2025.05.001=development' @@ -65,38 +61,32 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' parallelio: require: - '@2.6.2' - - '%oneapi@2025.0.4' netcdf-c: require: - '@4.9.2' - build_system=cmake build_type=RelWithDebInfo - - '%oneapi@2025.0.4' netcdf-fortran: require: - '@4.6.1' - - '%oneapi@2025.0.4' fms: require: - '@git.2025.02=2025.02' - - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' - - '%oneapi@2025.0.4' fortranxml: require: - '@4.1.2' - - '%oneapi@2025.0.4' gcc-runtime: require: - '%gcc' all: require: + - '%oneapi@2025.0.4' - 'target=x86_64_v4' view: true concretizer: From 7d6d4ad0203f94a823d6ddf3db0b715ad87d44c7 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Wed, 2 Jul 2025 15:20:38 +1000 Subject: [PATCH 12/22] Revert "This should work too?" This reverts commit 35281225a7737e31abca62f029b183d1b0466801. --- spack.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 02fed631..85d139ce 100644 --- a/spack.yaml +++ b/spack.yaml @@ -16,6 +16,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-cice: require: - '@CICE6.6.0-3' @@ -23,6 +24,7 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-mom6: require: - '@git.f20b0e150b0273b128ebd0e63ee3238755aa0986=2025.02.001' @@ -33,12 +35,14 @@ spack: access-ww3: require: - '@2025.03.0' + - '%oneapi@2025.0.4' access3-share: require: - '@2025.03.1' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' access-generic-tracers: require: - '@git.dev-2025.05.001=development' @@ -61,32 +65,38 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '%oneapi@2025.0.4' parallelio: require: - '@2.6.2' + - '%oneapi@2025.0.4' netcdf-c: require: - '@4.9.2' - build_system=cmake build_type=RelWithDebInfo + - '%oneapi@2025.0.4' netcdf-fortran: require: - '@4.6.1' + - '%oneapi@2025.0.4' fms: require: - '@git.2025.02=2025.02' + - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' + - '%oneapi@2025.0.4' fortranxml: require: - '@4.1.2' + - '%oneapi@2025.0.4' gcc-runtime: require: - '%gcc' all: require: - - '%oneapi@2025.0.4' - 'target=x86_64_v4' view: true concretizer: From cc74980b626f3d09e4daf160ee880bdaad229c3e Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Wed, 2 Jul 2025 15:21:39 +1000 Subject: [PATCH 13/22] Add MOM6 version with print statements in config_src/drivers/nuopc_cap/mom_cap.F90 --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 85d139ce..397bbac2 100644 --- a/spack.yaml +++ b/spack.yaml @@ -27,7 +27,7 @@ spack: - '%oneapi@2025.0.4' access-mom6: require: - - '@git.f20b0e150b0273b128ebd0e63ee3238755aa0986=2025.02.001' + - '@git.07b59848401c38e30eda920f8a7f4fb4aa229b82=2025.02.001' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From 1129329a3056a6bf9333622e3ff973b58335f705 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Thu, 3 Jul 2025 09:26:12 +1000 Subject: [PATCH 14/22] Update code trying to set dirs%input_filename in nuopc cap to get ice shelf to read it --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 397bbac2..05fad4d6 100644 --- a/spack.yaml +++ b/spack.yaml @@ -27,7 +27,7 @@ spack: - '%oneapi@2025.0.4' access-mom6: require: - - '@git.07b59848401c38e30eda920f8a7f4fb4aa229b82=2025.02.001' + - '@git.a0f364934d76fbf3972ce6a00c960d33ef3e1981=2025.02.001' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From 4d9c69ef932c1afec767cbb265d0966b8d61c20a Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Sun, 6 Jul 2025 13:28:07 +1000 Subject: [PATCH 15/22] Update git ref on MOM6 to no print statements --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 05fad4d6..0b92d4a5 100644 --- a/spack.yaml +++ b/spack.yaml @@ -27,7 +27,7 @@ spack: - '%oneapi@2025.0.4' access-mom6: require: - - '@git.a0f364934d76fbf3972ce6a00c960d33ef3e1981=2025.02.001' + - '@git.f6ab4fdaa8e2f94dfecbfd546355ec0fb98c2738=2025.02.001' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From e70c8833fe1afd120fe0ad1762dc2a56dc0dbead Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Sun, 6 Jul 2025 13:30:43 +1000 Subject: [PATCH 16/22] Make a guess on how to make a debug executable https://github.com/ACCESS-NRI/ACCESS-OM3/compare/cy-pananopt...om3-mom6-debug-example --- spack.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spack.yaml b/spack.yaml index 0b92d4a5..ed9fdfc5 100644 --- a/spack.yaml +++ b/spack.yaml @@ -17,6 +17,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' + - build_type=Debug access-cice: require: - '@CICE6.6.0-3' @@ -25,6 +26,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' + - build_type=Debug access-mom6: require: - '@git.f6ab4fdaa8e2f94dfecbfd546355ec0fb98c2738=2025.02.001' @@ -32,10 +34,12 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' + - build_type=Debug access-ww3: require: - '@2025.03.0' - '%oneapi@2025.0.4' + - build_type=Debug access3-share: require: - '@2025.03.1' @@ -43,6 +47,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' + - build_type=Debug access-generic-tracers: require: - '@git.dev-2025.05.001=development' @@ -50,6 +55,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' + - build_type=Debug access-mocsy: require: - '@git.2017.12.0=gtracers' @@ -57,6 +63,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' + - build_type=Debug # Other Dependencies esmf: @@ -69,6 +76,7 @@ spack: parallelio: require: - '@2.6.2' + - build_type=RelWithDebInfo - '%oneapi@2025.0.4' netcdf-c: require: From 2e32408ab6e503d00aa4a337add18fe52bacc906 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Sun, 6 Jul 2025 13:37:48 +1000 Subject: [PATCH 17/22] Try again removing debug mode for some components --- spack.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/spack.yaml b/spack.yaml index ed9fdfc5..d7359b1e 100644 --- a/spack.yaml +++ b/spack.yaml @@ -39,7 +39,6 @@ spack: require: - '@2025.03.0' - '%oneapi@2025.0.4' - - build_type=Debug access3-share: require: - '@2025.03.1' @@ -55,7 +54,6 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' - - build_type=Debug access-mocsy: require: - '@git.2017.12.0=gtracers' @@ -63,7 +61,6 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' - - build_type=Debug # Other Dependencies esmf: From 327f97c79decc8219f719fb144ec409c39964165 Mon Sep 17 00:00:00 2001 From: Claire Yung Date: Mon, 7 Jul 2025 11:15:41 +1000 Subject: [PATCH 18/22] Try changes in https://github.com/ACCESS-NRI/ACCESS-OM3/pull/97/files ffflags instead of build_type=debug --- spack.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/spack.yaml b/spack.yaml index d7359b1e..1cb072fb 100644 --- a/spack.yaml +++ b/spack.yaml @@ -17,7 +17,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' - - build_type=Debug + - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-cice: require: - '@CICE6.6.0-3' @@ -26,7 +26,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' - - build_type=Debug + - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-mom6: require: - '@git.f6ab4fdaa8e2f94dfecbfd546355ec0fb98c2738=2025.02.001' @@ -34,7 +34,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.1.1' - - build_type=Debug + - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-ww3: require: - '@2025.03.0' @@ -46,7 +46,7 @@ spack: - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - '%oneapi@2025.0.4' - - build_type=Debug + - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-generic-tracers: require: - '@git.dev-2025.05.001=development' @@ -73,7 +73,6 @@ spack: parallelio: require: - '@2.6.2' - - build_type=RelWithDebInfo - '%oneapi@2025.0.4' netcdf-c: require: From 949c84920c5554356c9c9788eef8170b09d15513 Mon Sep 17 00:00:00 2001 From: Dougie Squire <42455466+dougiesquire@users.noreply.github.com> Date: Tue, 8 Jul 2025 11:50:12 +1000 Subject: [PATCH 19/22] Use %oneapi@2025.2.0 Use spack-packages branch use-default-flag-handler Update access-generic-tracers and access-mocsy --- config/versions.json | 2 +- spack.yaml | 35 +++++++++-------------------------- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/config/versions.json b/config/versions.json index 3a6084c2..f863b02c 100644 --- a/config/versions.json +++ b/config/versions.json @@ -1,5 +1,5 @@ { "$schema": "http://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json", "spack": "0.22", - "spack-packages": "2025.06.000" + "spack-packages": "97c26382fab997698a344b9aac364b8a4e7411df" } diff --git a/spack.yaml b/spack.yaml index 1cb072fb..739e5da5 100644 --- a/spack.yaml +++ b/spack.yaml @@ -13,54 +13,43 @@ spack: require: - '@2025.03.1' - configurations=MOM6-CICE6,MOM6-CICE6-WW3 - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' - - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-cice: require: - '@CICE6.6.0-3' - io_type=PIO - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' - - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-mom6: require: - '@git.f6ab4fdaa8e2f94dfecbfd546355ec0fb98c2738=2025.02.001' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.1.1' - - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-ww3: require: - '@2025.03.0' - - '%oneapi@2025.0.4' access3-share: require: - '@2025.03.1' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' - - fflags="-O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created" access-generic-tracers: require: - - '@git.dev-2025.05.001=development' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@git.dev-2025.06.002=development' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.1.1' access-mocsy: require: - - '@git.2017.12.0=gtracers' - - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' + - '@git.2025.07.000=gtracers' + - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.1.1' # Other Dependencies esmf: @@ -69,38 +58,32 @@ spack: - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - - '%oneapi@2025.0.4' parallelio: require: - '@2.6.2' - - '%oneapi@2025.0.4' netcdf-c: require: - '@4.9.2' - build_system=cmake build_type=RelWithDebInfo - - '%oneapi@2025.0.4' netcdf-fortran: require: - '@4.6.1' - - '%oneapi@2025.0.4' fms: require: - '@git.2025.02=2025.02' - - '%oneapi@2025.0.4' openmpi: require: - '@4.1.7' - - '%oneapi@2025.0.4' fortranxml: require: - '@4.1.2' - - '%oneapi@2025.0.4' gcc-runtime: require: - '%gcc' all: require: + - '%oneapi@2025.2.0' - 'target=x86_64_v4' view: true concretizer: From 124405babf1177f12d253e36887dae87793c4255 Mon Sep 17 00:00:00 2001 From: Anton Steketee <79179784+anton-seaice@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:55:53 +1000 Subject: [PATCH 20/22] Update cice to fix error found in debug build --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index 739e5da5..ab52e3f9 100644 --- a/spack.yaml +++ b/spack.yaml @@ -18,7 +18,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-cice: require: - - '@CICE6.6.0-3' + - '@git.fe521f93dda96d2e7a7fed1d2a05cdab3c08170b' - io_type=PIO - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From c4ad9162d2671fc091863ec849974ec2caa010f3 Mon Sep 17 00:00:00 2001 From: Anton Steketee <79179784+anton-seaice@users.noreply.github.com> Date: Thu, 17 Jul 2025 09:20:00 +1000 Subject: [PATCH 21/22] Update spack.yaml --- spack.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spack.yaml b/spack.yaml index ab52e3f9..f0391d87 100644 --- a/spack.yaml +++ b/spack.yaml @@ -18,7 +18,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-cice: require: - - '@git.fe521f93dda96d2e7a7fed1d2a05cdab3c08170b' + - '@git.e2efd7b905a0c042ec0083c53469fd2c688251e4' - io_type=PIO - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' @@ -54,7 +54,7 @@ spack: # Other Dependencies esmf: require: - - '@git.v8.7.0=8.7.0' + - '@git.v8.7.0=8.7.0 /cj6ae3p' - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' From b751c08461cc95eb330b8b504aae0bd1f24a3c7e Mon Sep 17 00:00:00 2001 From: Anton Steketee <79179784+anton-seaice@users.noreply.github.com> Date: Thu, 17 Jul 2025 10:38:18 +1000 Subject: [PATCH 22/22] Update spack.yaml --- spack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack.yaml b/spack.yaml index f0391d87..36d54494 100644 --- a/spack.yaml +++ b/spack.yaml @@ -18,7 +18,7 @@ spack: - 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"' access-cice: require: - - '@git.e2efd7b905a0c042ec0083c53469fd2c688251e4' + - '@git.83d1f71749889a4394aecbf204ebd2b9bdbf1440' - io_type=PIO - 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created"' - 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'