How to build ACCESS-OM2 on NeSI HPC

How to build ACCESS-OM2 on NeSI HPC (v2)

[18/12/2025: Add instructions on how to use the oneapi compiler]

  1. Ensure that the initial setup requirements have been completed: Set up Spack for building ACCESS models on NeSI HPC

  2. Login to mahuika

  3. cd to the parent directory of the Spack instance.

  4. Enable Spack: . spack-config/spack-enable.bash

  5. Choose the compiler:
    a) To use gcc, 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
  1. Build ACCESS-OM2 (initialisation may take a long time without any output):
spack env activate -p ./ACCESS-OM2
spack concretize -f
spack install
3 Likes