Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
#
# It describes a set of packages to be installed, along with
# configuration settings.
# Instructions for editing this file are found in
# Instructions for editing this file are found in
# https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml
spack:
specs:
- [email protected]
# used to have: - [email protected]
# Jbisits MOM6 code https://github.com/jbisits/MOM6/commit/6e705048aa6b400ee7630ef8e2be94d415fff86f
# =2025.07.000 means spack will use that set of dependencies to concretise
# see https://github.com/ACCESS-NRI/spack-packages/blob/fd44ae03141eab221ce0e5b587dbb9c81d411fcb/packages/access-mom6/package.py#L27
# link regarding the Debug flag https://spack-tutorial.readthedocs.io/en/latest/tutorial_buildsystems.html#cmake
- [email protected]=2025.07.000 fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" ~access3
# - [email protected]=2025.07.000 fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll" ~access3 build_type=Debug
packages:
# Main Dependencies
access3:
Expand All @@ -29,6 +35,8 @@ spack:
- 'fflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
- 'cxxflags="-march=sapphirerapids -mtune=sapphirerapids -unroll"'
package_attributes:
git: https://github.com/jbisits/MOM6.git
access-ww3:
require:
- '@2025.08.000'
Expand Down