# Audit the compiler flags used to build access-om2 on gadi with the Intel compiler

**URL:** https://forum.access-hive.org.au/t/audit-the-compiler-flags-used-to-build-access-om2-on-gadi-with-the-intel-compiler/437
**Category:** COSIMA
**Created:** [20 February 2023 01:11 UTC](https://forum.access-hive.org.au/t/audit-the-compiler-flags-used-to-build-access-om2-on-gadi-with-the-intel-compiler/437 "2023-02-20T01:11:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![harshula](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/harshula/32/256_2.png) [@harshula](https://forum.access-hive.org.au/u/harshula)
#### Post date: [20 February 2023 01:11 UTC](https://forum.access-hive.org.au/t/audit-the-compiler-flags-used-to-build-access-om2-on-gadi-with-the-intel-compiler/437/1 "2023-02-20T01:11:59Z")

</div>

Hi All,

Can I please get feedback from those with historical knowledge about the compiler flags used by access-om2. In particular, what compiler flags can we remove?

I’ve collated the compiler flags we currently use here:

> <https://github.com/ACCESS-NRI/ACCESS-OM/issues/12>
>
> Document compiler flags of the following components:
> \* oasis3-mct
> \* libaccesso…m2
> \* cice5
> \* mom5

Thanks,  
Harshula

---

<div class="post-metadata">

### Author: ![aekiss](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aekiss/32/46_2.png) [@aekiss](https://forum.access-hive.org.au/u/aekiss)
#### Post date: [20 February 2023 01:44 UTC](https://forum.access-hive.org.au/t/audit-the-compiler-flags-used-to-build-access-om2-on-gadi-with-the-intel-compiler/437/2 "2023-02-20T01:44:55Z")

</div>

Good question. Many of these were chosen after careful investigation, e.g. work by Paul Leopardi (NCI) on reproducibility between Gadi and the previous system (Raijin), and scaling on Gadi - see

- [ACCESS-OM2 reproducibility and porting to Gadi - Google Docs](https://docs.google.com/document/d/1iFIH_kHkoDJjw4WHOfTqC0ylBRtR4g9O-jX3WSUYn9A/edit)
- [Scalability of ACCESS-OM2 on Gadi - Paul Leopardi 18 March 2020 - Google Docs](https://docs.google.com/document/d/19V4RfVvZaoxWK4Wr906gAQdQKk99Qlx9A5gfeXodqPw/edit)

MOM

- [Use reproducibility flags by penguian · Pull Request #312 · mom-ocean/MOM5 · GitHub](https://github.com/mom-ocean/MOM5/pull/312)
- [Gadi transition by nichannah · Pull Request #313 · mom-ocean/MOM5 · GitHub](https://github.com/mom-ocean/MOM5/pull/313)

CICE

- [Use reproducibility flags by penguian · Pull Request #43 · COSIMA/cice5 · GitHub](https://github.com/COSIMA/cice5/pull/43)
- [Gadi transition by nichannah · Pull Request #44 · COSIMA/cice5 · GitHub](https://github.com/COSIMA/cice5/pull/44)

libaccessom2

- [Use reproducibility flags by penguian · Pull Request #35 · COSIMA/libaccessom2 · GitHub](https://github.com/COSIMA/libaccessom2/pull/35)
- [Gadi transition by nichannah · Pull Request #39 · COSIMA/libaccessom2 · GitHub](https://github.com/COSIMA/libaccessom2/pull/39)

oasis

- [Use reproducibility flags by penguian · Pull Request #14 · COSIMA/oasis3-mct · GitHub](https://github.com/COSIMA/oasis3-mct/pull/14)
- [Gadi transition by aekiss · Pull Request #15 · COSIMA/oasis3-mct · GitHub](https://github.com/COSIMA/oasis3-mct/pull/15)
