# Lfric\_apps CCE builds on ARCHER2

**URL:** <https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966>\
**Category:** Uncategorized\
**Tags:** ARCHER2\
**Created:** [16 January 2026 12:41 UTC](https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966 "2026-01-16T12:41:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [16 January 2026 12:41 UTC](https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966/1 "2026-01-16T12:41:31Z")

</div>

Hello,

I am not sure about the best way to raise this so e-mailing directly.

Some users had reported that recent versions of lfric\_apps fail to build using the CCE compiler on ARCHER2 with errors about use of unallocated arrays in the routine _ukca\_volcanic\_so2_.

I have opened [issue:81](https://github.com/MetOffice/lfric_apps/issues/81) on the GitHub repository and associated PR is in progress.

Since the error/ warnings are so far being encountered on ARCHER2 only I tried to test my branch, as well as re-test a vn3.0 trunk clone with the fix, but while the ukca\_volcanic\_so2 routine is compiled the CCE build still fails with an internal compiler error for a Socrates routine – see message (from job.out) below. It is not clear if this is a known issue, or not encountered previously due to the UKCA failure happening prior to this routine.

For information:  
_~mdalvi/cylc-run/vn3.0\_git\_trunk/run1_ = Vanilla run  
_~mdalvi/cylc-run/vn3.0\_git\_trunk/run2_ = With UKCA fix in cloned copy

---

<div class="post-metadata">

**Author:** ![dcase](https://dub1.discourse-cdn.com/flex013/user_avatar/cms-helpdesk.ncas.ac.uk/dcase/32/468_2.png) [@dcase](https://cms-helpdesk.ncas.ac.uk/u/dcase)\
**Post date:** [16 January 2026 11:31 UTC](https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966/2 "2026-01-16T11:31:34Z")

</div>

Mohit,

to be clear, the issue is that there is a compiler bug with CCE15 which crashes when building a file? Does it build with gnu (there are equivalent spack environments for lfric\_apps 2.2 in a central place (see rose stem) which should also build 3.0)?

At the risk of talking like an answerphone message: If you want to develop on Archer then is it ok to use gnu? If you’d like to escalate the CCE compiler bug then can you make a small reproducible example, as the Archer2 team can test that?

I hope I’ve understood,  
Dave

---

<div class="post-metadata">

**Author:** ![mdalvi](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mdalvi](https://cms-helpdesk.ncas.ac.uk/u/mdalvi)\
**Post date:** [16 January 2026 12:36 UTC](https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966/3 "2026-01-16T12:36:53Z")

</div>

Thanks Dave,

Yes, builds using GNU are successful (with a warning for the ukca\_volcanic\_so2 arrays being fixed by [issue:#81](https://github.com/MetOffice/lfric_apps/issues/81)). The error was reported by someone attempting to build lfric\_apps using CCE compiler, and I am testing this with a lfric\_atm task available for the ncas site (_lfric\_atm\_nwp\_gal9\_noukca\_1T-C48\_MG\_ex\_cce\_fast-debug-64bit_) but not currently part of default groups.

The is being highlighted in case anyone else attempts to build with the current CCE, unless this has been a known issue for ARCHER2.

–

Mohit

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/cms_support/original/1X/1fd2411499ffcbc299fe756cd5cdf26e44956558.png) [@system](https://cms-helpdesk.ncas.ac.uk/u/system)\
**Post date:** [15 February 2026 11:31 UTC](https://cms-helpdesk.ncas.ac.uk/t/lfric-apps-cce-builds-on-archer2/1966/4 "2026-02-15T11:31:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
