-
Notifications
You must be signed in to change notification settings - Fork 3
Cm3 modules #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
blimlim
wants to merge
27
commits into
main
Choose a base branch
from
CM3-modules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Cm3 modules #79
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a51c303
Update spack.yaml to demonstrate new spack components
anton-seaice 99a3c68
Update versions.json
anton-seaice 8d650f7
Update spack.yaml
anton-seaice e24e701
Update spack.yaml
anton-seaice 03144e0
Update spack.yaml
anton-seaice e750ce8
Update spack.yaml
anton-seaice a9748ed
Update spack.yaml
anton-seaice 5e06739
Update spack.yaml
anton-seaice e7cb77a
Update spack.yaml
anton-seaice 07c8aa5
Update spack.yaml
anton-seaice b7a9299
use git hash for share
anton-seaice e882039
Update spack.yaml
anton-seaice 495adc0
Force spack to use the right cice commit
anton-seaice 23cfecd
Use commit hashes
anton-seaice 9b9cea2
Update spack.yaml
anton-seaice 775024b
Use some release tags
anton-seaice 4268294
Some '
anton-seaice 5d3d92c
Name change access3-exe to access3
anton-seaice 13ab9fe
Update spack.yaml
anton-seaice 2b0f24c
Use CM3 component versions
blimlim 9e346ec
Test module path prepend
blimlim 9633775
Add gcom and access3-share to modules
blimlim 449d78b
Merge branch 'main' into CM3-modules
blimlim e7b8475
Add variant + use custom packages to build gcom
blimlim 823c8d8
Merge remote-tracking branch 'origin/CM3-modules' into CM3-modules
blimlim 6f59089
Modified access3-share to not build cdeps
blimlim 80e44e7
Always find fox
blimlim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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.03.005" | ||
| "spack-packages": "cm3-om3-libs" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,20 +4,41 @@ | |||||
| # configuration settings. | ||||||
| # Instructions for editing this file are found in | ||||||
| # https://github.com/ACCESS-NRI/model-deployment-template/blob/main/spack.yaml | ||||||
| # This is a Spack Environment file. | ||||||
| # | ||||||
| # It describes a set of packages to be installed, along with | ||||||
| # configuration settings. | ||||||
| spack: | ||||||
| # add package specs to the `specs` list | ||||||
| specs: | ||||||
| - [email protected] | ||||||
| - [email protected] | ||||||
| - '[email protected] /lv5t7j4' | ||||||
| packages: | ||||||
| # Main Dependencies | ||||||
| access-om3-nuopc: | ||||||
| access3: | ||||||
| require: | ||||||
| - '@git.0.4.1' | ||||||
| - configurations=MOM6,MOM6-CICE6,MOM6-CICE6-WW3 | ||||||
|
|
||||||
| # Other Dependencies | ||||||
| esmf: | ||||||
| - '@git.4286068fd22c5d8d6844bca496a0f732a10273ae' | ||||||
| - configurations=MOM6-CICE6 | ||||||
| - '+cm3' | ||||||
| access-cice: | ||||||
| require: | ||||||
| - '@git.d4e7ca14826cc2ca652f13e135cc5f41e9fd3d03' | ||||||
| - io_type=PIO | ||||||
| access-mom6: | ||||||
| require: | ||||||
| - '@git.cmake_build' | ||||||
| - '+asymmetric_mem' | ||||||
| access3-share: | ||||||
| require: | ||||||
| - '@git.4286068fd22c5d8d6844bca496a0f732a10273ae' | ||||||
| # esmf: | ||||||
| # require: | ||||||
| # - '@git.v8.7.0' | ||||||
| gcom: | ||||||
| require: | ||||||
| - '@8.0' | ||||||
| fms: | ||||||
| require: | ||||||
| - '@git.v8.7.0' | ||||||
| - '@git.2024.03' | ||||||
| parallelio: | ||||||
| require: | ||||||
| - '@2.6.2' | ||||||
|
|
@@ -28,16 +49,15 @@ spack: | |||||
| netcdf-fortran: | ||||||
| require: | ||||||
| - '@4.6.1' | ||||||
| fms: | ||||||
| require: | ||||||
| - '@git.2024.03' | ||||||
| openmpi: | ||||||
| require: | ||||||
| - '@4.1.7' | ||||||
| gcc-runtime: | ||||||
| require: | ||||||
| - '%gcc' | ||||||
| fortranxml: | ||||||
| require: | ||||||
| - '@4.1.2' | ||||||
|
|
||||||
| all: | ||||||
| require: | ||||||
| - '%[email protected]' | ||||||
|
|
@@ -46,11 +66,45 @@ spack: | |||||
| concretizer: | ||||||
| unify: true | ||||||
| modules: | ||||||
| prefix_inspections: | ||||||
| bin: | ||||||
| - PATH | ||||||
| lib: | ||||||
| - LIBRARY_PATH | ||||||
| - LD_LIBRARY_PATH | ||||||
| lib64: | ||||||
| - LIBRARY_PATH | ||||||
| - LD_LIBRARY_PATH | ||||||
| include: | ||||||
| - FPATH | ||||||
|
|
||||||
| default: | ||||||
| tcl: | ||||||
| include: | ||||||
| - access-om3 | ||||||
| - access-om3-nuopc | ||||||
| - access-mom6 | ||||||
| - access-cice | ||||||
| - access3-share | ||||||
| - access3 | ||||||
| - esmf | ||||||
| - fms | ||||||
| - parallelio | ||||||
| - fortranxml | ||||||
| - gcom | ||||||
| - openmpi | ||||||
| - netcdf-c | ||||||
| - netcdf-fortran | ||||||
|
|
||||||
| projections: | ||||||
| access-om3: '{name}/2025.01.2' | ||||||
| access-om3-nuopc: '{name}/0.4.1-{hash:7}' | ||||||
| access-om3: '{name}/2025.x.0' | ||||||
| access-cice: '{name}/d4e7ca14826cc2ca652f13e135cc5f41e9fd3d03-{hash:7}' | ||||||
| access-mom6: '{name}/cmake_build-{hash:7}' | ||||||
| access3-share: '{name}/4286068fd22c5d8d6844bca496a0f732a10273ae-{hash:7}' | ||||||
| parallelio: '{name}/2.6.2-{hash:7}' | ||||||
| fortranxml: '{name}/4.1.2-{hash:7}' | ||||||
| fms: '{name}/2024.03-{hash:7}' | ||||||
| esmf: '{name}/v8.7.0-{hash:7}' | ||||||
| netcdf-c: '{name}/4.9.2-{hash:7}' | ||||||
| netcdf-fortran: '{name}/4.6.1-{hash:7}' | ||||||
| gcom: '{name}/8.0-{hash:7}' | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
You can rename this to something more convenient (e.g. which doesn't change with the hash) in draft PRs |
||||||
|
|
||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the system openmpi module instead is better