MetOffice / MetOffice/lfric_apps

Underutilised make threads

Open
#447 0 comments 0 reactions 1 assignee View on GitHub

@oakleybrunt is already working on this.

Since Apr 21, 2026.

enhancement
Dominant language
Fortran
Stars
31
Forks
118
Avg merge
2d 4h
Merged PRs (30d)
8

Description

### Are there any linked Issues or Pull Requests?

_No response_

### Brief description

Not all available threads/cpus are utilised in every build case. The number of make threads is hard coded to 6, leaving up to 18 on the table in the most severe cases.

### Further details of the issue.

Some build tasks, especially those on EX1A platform, use 24 cpus to build (e.g. lfric_atm). The hard-coded number of threads used to build any application is 6. This is making build times longer than they need to be.

> [!NOTE]
> Some tasks only have 6 cpus allocated, so the hard coded value cannot be simply changed to a higher value.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.