# The road to regional coupled modelling (rCM3)

**URL:** <https://forum.access-hive.org.au/t/the-road-to-regional-coupled-modelling-rcm3/4601>\
**Category:** Coupled Model\
**Tags:** regional\
**Created:** [10 June 2025 08:13 UTC](https://forum.access-hive.org.au/t/the-road-to-regional-coupled-modelling-rcm3/4601 "2025-06-10T08:13:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Paul.Gregory](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/paul.gregory/32/2566_2.png) [@Paul.Gregory](https://forum.access-hive.org.au/u/Paul.Gregory)\
**Post date:** [17 December 2025 08:05 UTC](https://forum.access-hive.org.au/t/the-road-to-regional-coupled-modelling-rcm3/4601/3 "2025-12-17T08:05:47Z")

</div>

Hi all.

For rCM3 development I’d like to build a NUOPCY executable that can run inside a debugger.

I need some advice as to the best way to achieve this:

Currently, the CM3 config (latest branch is [https://github.com/ACCESS-NRI/access-cm3-configs/tree/cm3-O100km-vn13.8](https://github.com/ACCESS-NRI/access-cm3-configs/tree/cm3-O100km-vn13.8)) does the following (I think?)

1. Uses UM sources from [https://github.com/ACCESS-NRI/UM/tree/vn13.8\_nuopc](https://github.com/ACCESS-NRI/UM/tree/vn13.8_nuopc) (which contains the required files in src/control/top\_level)

2. Pulls a pre-build SPACK MOM6 executable (access-om3/pr79-12 according to [https://github.com/ACCESS-NRI/access-cm3-configs/blob/cm3-O100km-vn13.8/rose-suite.conf](https://github.com/ACCESS-NRI/access-cm3-configs/blob/cm3-O100km-vn13.8/rose-suite.conf))

3. Build the NUOPCY executable locally

So, in order the build the NUOPCY executable with debug symbols, I should

a) Create a new om3 pull request to compile with debug symbols, similar to Claire’s pr120? [MOM6 symmetric with updated MOM6 version by claireyung · Pull Request #120 · ACCESS-NRI/ACCESS-OM3 · GitHub](https://github.com/ACCESS-NRI/ACCESS-OM3/pull/120) (which was built with `-g`flags on branch `cy-pananopt ` according to [ACCESS-OM3/spack.yaml at cy-pananopt · ACCESS-NRI/ACCESS-OM3 · GitHub](https://github.com/ACCESS-NRI/ACCESS-OM3/blob/cy-pananopt/spack.yaml) )

b) Change the value of `OM3_MODULE`in the rose-suite.conf

Then compile the NUOPCY executable locally (including compiling the UM locally w/debug options).

Any thoughts @cbull, @kieranricardo, @harshula ?

Note - last time I tried to load access-om3/pr120-19 into Linaro it couldn’t find the debug symbols, see this thread :

> [@Setting build options for OM3](https://forum.access-hive.org.au/t/setting-build-options-for-om3/4495/48):
>
> Some further comments from NCI. The debug version of OM3 is built using the CUDA Nvidia libraries. It’s possible TotalView is struggling to parse the GPU symbols. I’m going to try the DDT debugger on that executable to see if it can load it. EDIT : DDT can load and run the executable (and reproduce the error) but it can only load symbols (i.e view source code) for the hdf5, netcdf4 and parallelio source. So I’m going to take a branch and follow some of NCI’s suggestions to have a fully worki…

---

_[View the full topic](https://forum.access-hive.org.au/t/the-road-to-regional-coupled-modelling-rcm3/4601)._
