How to build ACCESS-OM2 on NeSI HPC (v2)
[18/12/2025: Add instructions on how to use the oneapi compiler]
-
Ensure that the initial setup requirements have been completed: Set up Spack for building ACCESS models on NeSI HPC
-
Login to mahuika
-
cdto the parent directory of the Spack instance. -
Enable Spack:
. spack-config/spack-enable.bash -
Choose the compiler:
a) To usegcc, run:
git clone https://github.com/ACCESS-NRI/ACCESS-OM2 --branch api-v2-nesi-gcc
b) To use oneapi, run:
spack install intel-oneapi-compilers@2025.2.0
git clone https://github.com/ACCESS-NRI/ACCESS-OM2 --branch api-v2-nesi-oneapi
- Build ACCESS-OM2 (initialisation may take a long time without any output):
spack env activate -p ./ACCESS-OM2
spack concretize -f
spack install