Running ACCESS-OM2 on Leonardo supercomputer

Dear All,

First of all I’m very glad to find this forum. I’m new in the community
and just started to get into the ACCESS-OM2 configuration.

The task for the moment is to compile and run test experiment on
Leonardo supercomputer (in Italy), I currently work at OGS in Trieste, Italy.

So, the question is: is there any documentation how to run outside of Gadi?
I spent half of the day looking up through repositories :slight_smile: But couldn’t find anything.

Probably I just don’t know where to look… So I’d be very grateful for any advices.

Many thanks,
Natalia

1 Like

Hi Natalia,

It’s great to hear from researchers using a supercomputer other than Gadi. I have not created any documentation on compiling/running ACCESS-OM2 outside of Gadi. I will ask my colleagues if they know of any old documentation.

Recently we released a version of ACCESS-OM2 that was built using Spack (https://spack.io/). This should allow for ACCESS-OM2 to be more easily ported to another supercomputer. The instructions are: How to build ACCESS-OM2 on Gadi

Some modifications will need to be made to the Gadi specific files. e.g.

I’m happy to create instructions on how to compile on Leonardo, if you are able to test and provide feedback.

Can you please sent me the output from Leonardo of:

cat /etc/os-release

Regards,
Harshula

1 Like

Dear Harshula,

Thank you for the prompt feedback!
I’ll go through repos you provided.

Here is an output for Leonardo:

Thanks again,
Natalia

Hi Natalia,

Since Leonardo is using RHEL, please try the following instructions:

git clone -c feature.manyFiles=true https://github.com/spack/spack.git --branch releases/v0.20 --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/v0.20/ci/* spack/etc/spack/

. spack-config/spack-enable.bash

spack install intel-oneapi-compilers@2021.2.0 target=x86_64

spack load intel-oneapi-compilers@2021.2.0
spack compiler find

spack install access-om2 ^netcdf-c@4.7.4 ^netcdf-fortran@4.5.2 ^parallelio@2.5.2 ^openmpi@4.0.2 %intel@2021.2.0 target=x86_64

spack find

Also, it is better to attach textual output instead of screenshots.

Thanks,
Harshula

1 Like

Dear Harshula,

Thank you! I will try all these and will let you know here.

Also I’ll use text, thanks for the hint.

Natalia

1 Like

It looks like Leonardo already supports spack

https://www.hpc.cineca.it/systems/software/spack/

Hi Natalia,

Have you had an opportunity to test the ACCESS-OM2 instructions? If you need more detailed information, I’m happy to join a video chat during EU morning hours.

Regards,
Harshula