Skip to content

Update README with Spack compilation options#187

Open
chrisb13 wants to merge 2 commits intomainfrom
cbull-README
Open

Update README with Spack compilation options#187
chrisb13 wants to merge 2 commits intomainfrom
cbull-README

Conversation

@chrisb13
Copy link
Collaborator

Clarify options for compiling ACCESS-OM3 with Spack and provide additional instructions.

From discussion with @aekiss (#186 (comment))

i.e.

In general, I think we want to minimise maintenance burden (by keeping this terse) and just point to things like the config docs? E.g.
https://access-om3-configs.access-hive.org.au/infrastructure/Building/

On this bit:
https://github.com/ACCESS-NRI/ACCESS-OM3/blob/93e2ffb96123d5c9225baadbbbedc778fcfc61a6/README.md#build

I think it would be good to mention the pre-release github workflow that any community person is able to use should they wish to. They just need to get in touch (raise an issue on this repo?).

Clarify options for compiling ACCESS-OM3 with Spack and provide additional instructions.

From discussion with @aekiss (#186 (comment))
@chrisb13 chrisb13 requested a review from aekiss February 12, 2026 22:58
@chrisb13 chrisb13 requested a review from a team as a code owner February 12, 2026 22:58
README.md Outdated
Spack automatically builds all the components and their dependencies, producing model component executables. Spack already contains support for compiling thousands of common software packages. Spack packages for the components are defined in the [spack packages repository](https://github.com/ACCESS-NRI/spack_packages/).

ACCESS-OM3 is built and deployed automatically to `gadi` on NCI (see below). However it is possible to use spack to compile the model using the `spack.yaml` environment file in this repository. To do so follow the [instructions on for configuring spack on `gadi`](https://access-hive.org.au/getting_started/spack/).
ACCESS-OM3 is built and deployed automatically to `gadi` on NCI (see below). However it is possible to use spack to compile the model using the `spack.yaml` environment file in this repository. There are two main ways to do this: i) use the pre-release github workflow ([instructions](https://docs.access-hive.org.au/models/build_a_model/create_a_prerelease/)) or ii) follow the [instructions on for configuring spack on `gadi`](https://access-hive.org.au/getting_started/spack/). Both options are possible, however the first option requires "collaborator" access to this repository (raise [an issue](https://github.com/ACCESS-NRI/ACCESS-OM3/issues/new) on this repository to gain access).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ACCESS-OM3 is built and deployed automatically to `gadi` on NCI (see below). However it is possible to use spack to compile the model using the `spack.yaml` environment file in this repository. There are two main ways to do this: i) use the pre-release github workflow ([instructions](https://docs.access-hive.org.au/models/build_a_model/create_a_prerelease/)) or ii) follow the [instructions on for configuring spack on `gadi`](https://access-hive.org.au/getting_started/spack/). Both options are possible, however the first option requires "collaborator" access to this repository (raise [an issue](https://github.com/ACCESS-NRI/ACCESS-OM3/issues/new) on this repository to gain access).
ACCESS-OM3 is built and deployed automatically to `gadi` on NCI (see below). To change model component versions or modify the model's source code, users use spack to compile the model using the `spack.yaml` environment file in this repository. There are two main ways to do this: i) use the pre-release github workflow ([instructions](https://docs.access-hive.org.au/models/build_a_model/create_a_prerelease/)) or ii) follow the [instructions on for configuring spack on `gadi`](https://access-hive.org.au/getting_started/spack/). The first option is simpler to understand, however requires "collaborator" access to this repository - (raise [an issue](https://github.com/ACCESS-NRI/ACCESS-OM3/issues/new) on this repository to gain access).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or alternatively, just :

ACCESS-OM3 is built and deployed automatically to gadi on NCI (see below). To customise a build, follow the instructions at the config documentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was stumbling on the wording here, how about:

There are two main ways to do this

becomes

There are two recommended ways to do this

I was trying to not exclude random options that are more painful (e.g. installing spack on your laptop etc).

The changes read well. :)

Copy link
Collaborator Author

@chrisb13 chrisb13 Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got caught up chatting to Helen, so didn't post it!

Or alternatively, just :

ACCESS-OM3 is built and deployed automatically to gadi on NCI (see below). To customise a build, follow the instructions at the config documentation.

Yeah, I do like low maintenance options -- can we do that for the other sections? Your call...

Does the config doc talk about the PR release workflow? I think we really want to push that as a simple starting point.

Co-authored-by: Anton Steketee <79179784+anton-seaice@users.noreply.github.com>
Comment on lines 35 to +48
@@ -44,6 +44,8 @@ spack install

to create a spack environment called `access-om3` and build all the components, the locations of which can be found using `spack find --paths`.

Further details of how to build and modify ACCESS-OM3 are found on the ACCESS-OM3 [configuration documentation](https://access-om3-configs.access-hive.org.au/infrastructure/Building/).

Copy link
Collaborator

@anton-seaice anton-seaice Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ACCESS-OM3 is built and deployed automatically to gadi on NCI (see below). To customise a build, follow the instructions in the [config documentation](https://access-om3-configs.access-hive.org.au/infrastructure/Building/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants