Skip to content

Conversation

marshallward
Copy link
Member

This fixes the path for the optimized target builds (opt_target) used in
the profiling tests. Previously they were pointing to the wrong
directories and were never built.

Due to oddities of rule order and overrides, the optimized targets were
using the latest code. That is, the perf tests were being run against
themselves
.

The perf and profile rules now correctly compare optimized output to the
optimized target output (typically dev/gfdl).

This PR also contains a minor improvement to the perf comparison script output.

This fixes the path for the optimized target builds (opt_target) used in
the profiling tests.  Previously they were pointing to the wrong
directories and were never built.

Due to oddities of rule order and overrides, the optimized targets were
using the latest code.  That is, **the perf tests were being run against
themselves**.

The perf and profile rules now correctly compare optimized output to the
optimized target output (typically dev/gfdl).
perf diff output used a relatively small value for comparison (32 chars)
which unfortunately does not work for many functions in Fortran modules.

This number has been increased to 60, and is now set as a variable
within the code.
@adcroft adcroft merged commit 065b917 into NOAA-GFDL:dev/gfdl Apr 2, 2025
10 checks passed
@marshallward marshallward deleted the ci_perf_testing_fix branch May 24, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants