# Building GCOM modules

**URL:** <https://forum.access-hive.org.au/t/building-gcom-modules/89>\
**Category:** modules\
**Created:** [28 October 2022 03:44 UTC](https://forum.access-hive.org.au/t/building-gcom-modules/89 "2022-10-28T03:44:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinDix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/martindix/32/32_2.png) [@MartinDix](https://forum.access-hive.org.au/u/MartinDix)\
**Post date:** [28 October 2022 03:44 UTC](https://forum.access-hive.org.au/t/building-gcom-modules/89/1 "2022-10-28T03:44:54Z")

</div>

The GCOM library is built by a gcom rose stem suite, currently run from accessdev (though would also work from ood). There’s a new GCOM release with each UM release. It’s usually backwards compatible, though UM suites normally load the specific GCOM release version. Normally build only `openmpi` versions, though occasionally Intel MPI (on request).

E.g.,

```auto
fcm co fcm:gcom.xm_tr@vn7.8 gcom_7.8
cd gcom_7.8
rose stem --group=all -S MPI_VERSION=\'openmpi/4.1.4\'

```

On gadi, this builds the libraries and runs some unit tests. It creates directories

```auto
nci_gadi_gfortran_mpp
nci_gadi_gfortran_serial
nci_gadi_ifort_mpp
nci_gadi_ifort_serial

```

`include` and `lib` subdirectories from` ifort_mpp` are manually copied to the appropriate gcom app directory. KMA have automated this step (`rose-stem/app/run_kma_install/bin/install.ksh`) and we could do the same.

`rose-stem/site/nci/suite.rc` has

```auto
            module load intel-compiler/2021.5.0
            module use ~access/modules
            module load fcm
            module load {{MPI_VERSION}}
            module load gcc/11.1.0

```

This is part of the gcom source trunk, so requires going through the Met Office processes to change. `MPI_VERSION` default is `openmpi/4.1.3`.

---

<div class="post-metadata">

**Author:** ![lachlanswhyborn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/lachlanswhyborn/32/1837_2.png) [@lachlanswhyborn](https://forum.access-hive.org.au/u/lachlanswhyborn)\
**Post date:** [12 September 2024 05:55 UTC](https://forum.access-hive.org.au/t/building-gcom-modules/89/2 "2024-09-12T05:55:17Z")

</div>

Closed on 12 September 2024 05:55 UTC

Closed for archival.
