Skip to content

Manifests for builds with UM#38

Draft
anton-seaice wants to merge 4 commits into
mainfrom
6
Draft

Manifests for builds with UM#38
anton-seaice wants to merge 4 commits into
mainfrom
6

Conversation

@anton-seaice
Copy link
Copy Markdown
Collaborator

@anton-seaice anton-seaice commented Apr 16, 2026

closes #6

This change adds manifests for these build configurations:

MOM6-UM13,MOM6-CICE6-UM13

although all other permutations of the four components may be possible (some would require code changes in those components to do something useful).

This change depends on ACCESS-NRI/access-spack-packages#410

Comment thread .github/build-ci/data/standard.json Outdated
@anton-seaice
Copy link
Copy Markdown
Collaborator Author

@CodeGat

Does this mean anything to you ?

==> [2026-04-17-04:02:47.824108] '/usr/bin/git' '-c' 'advice.detachedHead=false' 'clone' '--branch' 'UKMO_vn13.8' '--single-branch' '--depth' '1' 'https://github.com/ACCESS-NRI/um.git'
Cloning into 'um'...
remote: Repository not found.
fatal: repository 'https://github.com/ACCESS-NRI/um.git/' not found
==> [2026-04-17-04:02:48.347155] Error: FetchError: All fetchers failed for spack-stage-um-13.8-ylhiwt5ys3t2vlvfajz5zknoy3xbqsp4
        file:///opt/runner_set_buildcache/um/um-13.8.tar.gz: URLError: <urlopen error [Errno 2] No such file or directory: '/opt/runner_set_buildcache/um/um-13.8.tar.gz'>
    https://mirror.spack.io/um/um-13.8.tar.gz: DetailedHTTPError: GET https://mirror.spack.io/um/um-13.8.tar.gz returned 404: Not Found
    [git] https://github.com/ACCESS-NRI/um.git at tag UKMO_vn13.8: ProcessError: Command exited with status 128:
    '/usr/bin/git' '-c' 'advice.detachedHead=false' 'clone' '--branch' 'UKMO_vn13.8' '--single-branch' '--depth' '1' 'https://github.com/ACCESS-NRI/um.git'
Traceback (most recent call last):
  File "/opt/spack/lib/spack/spack/build_environment.py", line 1195, in _setup_pkg_and_run
    return_value = function(pkg, kwargs)
  File "/opt/spack/lib/spack/spack/installer.py", line 2785, in build_process
    return installer.run()
  File "/opt/spack/lib/spack/spack/installer.py", line 2641, in run
    self.pkg.do_patch()
  File "/opt/spack/lib/spack/spack/package_base.py", line 1683, in do_patch
    self.do_stage()
  File "/opt/spack/lib/spack/spack/package_base.py", line 1671, in do_stage
    self.do_fetch(mirror_only)
  File "/opt/spack/lib/spack/spack/package_base.py", line 1655, in do_fetch
    self.stage.fetch(mirror_only, err_msg=err_msg)
  File "/opt/spack/lib/spack/spack/util/pattern.py", line 15, in __call__
    return [getattr(item, self.name)(*args, **kwargs) for item in self.container]
  File "/opt/spack/lib/spack/spack/util/pattern.py", line 15, in <listcomp>
    return [getattr(item, self.name)(*args, **kwargs) for item in self.container]
  File "/opt/spack/lib/spack/spack/stage.py", line 558, in fetch
    f"All fetchers failed for {self.name}", "\n".join(f"    {e}" for e in errors)

The CI on access-spack-packages doesn't have an issue with that

@CodeGat
Copy link
Copy Markdown
Member

CodeGat commented Apr 17, 2026

It does! Since you're trying to clone a private repository, you'll need to use a personal access token that has access to that repo. You'll need to add the following to the workflow, at the end of the with:

    uses: access-nri/build-ci/.github/workflows/ci.yml@v3
    with:
      spack-manifest-path: ${{ matrix.file }}
      # ...
    secrets:
      spack-install-command-pat: ${{ secrets.SPACK_COMMAND_INSTALL_PAT }}

I've created the secret in this repo, so you just have to add that to the workflow :)

@anton-seaice
Copy link
Copy Markdown
Collaborator Author

Thanks Tommy - it worked :)

@anton-seaice
Copy link
Copy Markdown
Collaborator Author

I've split this into two, see cmake part in #40

@anton-seaice anton-seaice changed the title first pass at adding UM Manifests for builds with UM Apr 21, 2026
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.

Add UM13 to CMake

2 participants