earth-system-radiation / rte-rrtmgp

RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres.
BSD 3-Clause "New" or "Revised" License
74 stars 65 forks source link

Extend Levante CI with NAG #259

Closed skosukhin closed 7 months ago

skosukhin commented 7 months ago

This adds CI tests with the NAG compiler on Levante.

The compiler version and flags are what we currently use to build ICON by default.

Two of the four added tests currently fail and, therefore, are marked as experimental.

I also think that four is too many and we should keep only two. For example, I would keep nag-cpu-default-SP (single-precision, default kernels) and nag-cpu-accel-DP (double-precision, accel kernels).

RobertPincus commented 7 months ago

@skosukhin Thanks, this is great. I agree on the limiting of the test suite. For me the main advantage of NAG is that it's quite picky about compilation questions (it nags me). It's more valuable to have it cover both accel and default kernels than worry about DP/SP.

RobertPincus commented 7 months ago

I'd also like to understand the runtime error produced in the accel kernels.