harshula
(Harshula)
23 October 2024 00:29
22
Hi @Jhan , Sounds good. Let’s meet at 1pm. I’ll send the Zoom link via a private message.
atteggiani
(Davide Marchegiani, ACCESS-NRI Atmospheric team)
23 October 2024 02:16
23
Yes, you are right.
Will update the instructions.
Thank you for finding out!
harshula
(Harshula)
23 October 2024 10:18
24
harshula
(Harshula)
23 October 2024 22:51
25
So for future updates to the above prerelease, you would update the UM source code, and then to trigger another prerelease with those changes, you would add another commit to the ACCESS-ESM1.6 PR, since the workflow runs on updates to the pull request. The commit can be:
Just adding a comment to the spack.yaml noting the particular hash of the HEAD of the UM branch
Or even an empty commit where the message is why it’s being rebuilt: git commit --allow-empty -m "Rebuilt to test these new UM changes"
This all assumes that you’ll be using a branch reference rather than a tag - if you’re using a tag then the workflow would be to just update the spack.yaml with the new tag each time!
Jhan
(Jhan)
24 October 2024 00:59
27
Great Thanks Tommy. I’ll try it out. IF there is a bug in the UM code modification that stops the compile, where will I find this?
Aidan
(Aidan Heerdegen, ACCESS-NRI Release Team Lead)
25 October 2024 05:45
29
The workflow will have an error condition, e.g. see this ESM1.5 build:
ACCESS-NRI:main ← ACCESS-NRI:13-UM-runtime-orbital
:rocket: Deploying access-esm1.5 `2024.05.2` as prerelease `pr14-1`
<details>
<… summary>Details and usage instructions</summary>
This `access-esm1.5` model will be deployed as:
* `2024.05.2` as a Release (when merged).
* `pr14-1` as a Prerelease (during this PR).
This Prerelease is accessible on Gadi using:
```bash
module use /g/data/vk83/prerelease/modules
module load access-esm1p5/pr14-1
```
where the binaries shall be on your `$PATH`.
This Prerelease is also accessible on Gadi via `/g/data/vk83/prerelease/apps/spack/0.22/spack` in the `access-esm1p5-` environment.
</details>
:hammer_and_wrench: Using: spack `0.22`, spack-packages `2024.07.10`, spack-config `2024.10.03`
<details>
<summary>Details</summary>
It will be deployed using:
* `access-nri/spack` on branch [`0.22`](https://github.com/ACCESS-NRI/spack/tree/releases/v0.22)
* `access-nri/spack-packages` version [`2024.07.10`](https://github.com/ACCESS-NRI/spack-packages/releases/tag/2024.07.10)
* `access-nri/spack-config` version [`2024.10.03`](https://github.com/ACCESS-NRI/spack-config/releases/tag/2024.10.03)
If this is not what was expected, commit changes to `config/versions.json`.
</details>
Click on the Red Cross to see the status
and then click on the “Details” link to see the detail of the output from the commands that failed.