Hi Dave,
At this stage you are dealing with spack internal packages (https://packages.spack.io) from the spack builtin catalog, not ACCESS-NRI catalog yet.
I guess the error that you see could be (?) due to the deprecation of 2021.2.0 intel-oneapi, idk.
I just tried this and it worked out on Leonardo, maybe you can try to reproduce your installation with spack@1.0 and intelapi@2025.0.4?
git clone -c feature.manyFiles=true https://github.com/spack/spack.git --branch releases/v1.0 --single-branch --depth=1
git clone https://github.com/ACCESS-NRI/spack-packages.git --branch main
git clone https://github.com/ACCESS-NRI/spack-config.git --branch main
ln -s -r -v spack-config/v1.0/ci/* spack/etc/spack/
. spack-config/spack-enable.bash
spack env create accessom2_test
creation of env takes some time
After that check catalogs:
[ntilinin@login07 ACCESS-NRI_test]$ spack repo list
[+] access.nri v2.0 /leonardo/home/userexternal/ntilinin/ACCESS-NRI_test/package_repos/3t2klr5/spack_repo/access/nri
[+] builtin v2.2 /leonardo/home/userexternal/ntilinin/ACCESS-NRI_test/package_repos/fncqgg4/repos/spack_repo/builtin
builtin is the one where spack gets the intel-oneapi-compilers from. I tried to install the later version of intelapi:
spack install intel-oneapi-compilers@2025.0.4 target=x86_64
it worked, and them we move to the ACCESS-NRI catalog:
spack install access-om2 ^netcdf-c@4.7.4 ^netcdf-fortran@4.5.2 ^parallelio@2.5.2 ^openmpi@4.1.4 %intel-oneapi-compilers@2025.0.4 target=x86_64
Takes around 40 min.
It worked in my case. cmake 3.31.6 is the dependency of access-om2 that spack installs by itself:
==> No binary for cmake-3.31.6-kjnvzbux3wezwjl3teapgkytyly6k6fu found: installing from source
==> Installing cmake-3.31.6-kjnvzbux3wezwjl3teapgkytyly6k6fu [37/59]
==> Fetching https://mirror.spack.io/_source-cache/archive/65/653427f0f5014750aafff22727fb2aa60c6c732ca91808cfb78ce22ddd9e55f0.tar.gz
[100%] 11.71 MB @ 9.3 MB/s
==> Fetching https://mirror.spack.io/_source-cache/archive/fd/fdea723be9713f3ed4624055bf21ef5876647d63c151b91006608ec44a912ae1
[100%] 1.19 KB @ 3.4 MB/s
==> Applied patch https://github.com/kitware/cmake/commit/1b0c92a3a1b782ff3e1c4499b6ab8db614d45bcd.patch?full_index=1
==> cmake: Executing phase: 'bootstrap'
==> cmake: Executing phase: 'build'
==> cmake: Executing phase: 'install'
==> cmake: Successfully installed cmake-3.31.6-kjnvzbux3wezwjl3teapgkytyly6k6fu
Stage: 3.19s. Bootstrap: 1m 14.80s. Build: 2m 8.66s. Install: 12.62s. Post-install: 4.70s. Total: 3m 44.16s
[+] /leonardo/home/userexternal/ntilinin/ACCESS-NRI_test/release/linux-x86_64_v4/cmake-3.31.6-kjnvzbux3wezwjl3teapgkytyly6k6fu
In the end the whole installation is successful:
==> Installing access-om2-latest-4occllpmflt225nbc3qe26bg7ajt2aow [59/59]
==> No patches needed for access-om2
==> access-om2: Executing phase: 'install'
==> access-om2: Successfully installed access-om2-latest-4occllpmflt225nbc3qe26bg7ajt2aow
Stage: 0.00s. Install: 0.00s. Post-install: 0.07s. Total: 0.13s
Load the whole thing with spack and then executables seen by the system:
[ntilinin@login07 ACCESS-NRI_test]$ spack load access-om2@latest
[ntilinin@login07 ACCESS-NRI_test]$ cice_auscom_
cice_auscom_1440x1080_48x40_480p.exe cice_auscom_3600x2700_200x180_1682p.exe cice_auscom_3600x2700_90x90_722p.exe cice_auscom_360x300_24x1_24p.exe
Hope this helps!
Natalia