# Building ACCESS-OM2 on Archer2 (UK HPC)

**URL:** https://forum.access-hive.org.au/t/building-access-om2-on-archer2-uk-hpc/5872
**Category:** spack
**Tags:** spack, access-om2
**Created:** [5 February 2026 12:44 UTC](https://forum.access-hive.org.au/t/building-access-om2-on-archer2-uk-hpc/5872 "2026-02-05T12:44:55Z")
**Posts on this page:** 1
**Showing post:** 36

<div class="post-metadata">

### Author: ![Aidan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aidan/32/42_2.png) [@Aidan](https://forum.access-hive.org.au/u/Aidan)
#### Post date: [18 February 2026 01:07 UTC](https://forum.access-hive.org.au/t/building-access-om2-on-archer2-uk-hpc/5872/36 "2026-02-18T01:07:16Z")

</div>

> [@davemunday](#):
>
> This has allowed the remaining components to compile. I’ve uploaded the error and install logs, as they both have a lot of entries.

Hooray! Now at least it is possible to iterate from this point.

> [@davemunday](#):
>
> I have managed to compile `oasis_mct` after recalling that Archer2 uses different wrappers to `mpif90`, etc. I had to point to the correct ones in `oasis_mct/package.py` and then this package compiles without further issue

We have discussed compiler wrappers on Pawsey, which is also a Cray machine:

> [@Spack and Cray HPC Architecture](https://forum.access-hive.org.au/t/spack-and-cray-hpc-architecture/4337):
>
> @Scott mentioned some issues with the using spack on a Cray HPC system (setonix) because spack and the Cray uses it’s own compiler wrappers. The docs suggest this is a solved problem: Is there something else going on? information_source See also this [paper from 2017 on using spack on Cray HPCs](https://cug.org/proceedings/cug2017_proceedings/includes/files/pap153s2-file1.pdf)

It shouldn’t be necessary to modify the spack package of an individual component for something like this. That is much better specified in the configuration for the HPC, or in the spack environment where the package is built.

---

_[View the full topic](https://forum.access-hive.org.au/t/building-access-om2-on-archer2-uk-hpc/5872)._
