MetOffice / MetOffice/lfric_apps

OMP in remaining Socrates Kernels

Open
#619 3 comments 0 reactions 1 assignee Claimed by @MetBenjaminWent View on GitHub
enhancement
Dominant language
Fortran
Stars
31
Forks
118
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Currently paused as it's blocked as we need a means to test - otherwise I do feel that this will be beneficial, only once this code section is exposed.

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

PR: #723
Umbrella: #424

### Brief description

Investigations in #607 indicate that some of the remaining socrates kernels do not have OMP.
`lw_inc_kernel_mod` - behind flag, crashes when run currently - can copy script, but cannot test
`lw_mts_kernel_mod` - negligible runtime effect
`sw_inc_kernel_mod` - behind flag, crashes when run currently - can copy script, but cannot test
`sw_mts_kernel_mod` - negligible runtime effect

Their structure is quite similar to `lw_kernel_mod` and `sw_kernel_mod`, in that they work over an n_profiles list, which could be segmented up. I'm not sure yet why these have not appeared sooner in the performance metrics, likely the flag controls indicate a namelist option is not being used.

### Further details of the issue.

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.