How to get more detailed output from the LFRic compile using CCE-fast? #562
Replies: 2 comments 5 replies
-
|
Or is there a file containing routine specific and compiler specific settings somewhere (as there was/is in the UM)? Perhaps you've moved you code between routines with different compiler settings and could "simply" ensure the transferred code keeps the same settings? |
Beta Was this translation helpful? Give feedback.
-
|
The compiler option you're looking for is |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I'm working on a quite-involved lfric_apps branch that really needs to preserve KGOs in order to prove it hasn't broken something. As is often the case, it preserves KGOs except in the rose stem tests that use the "cce_fast-debug" compile. After a lot of agonizing debugging, I've ascertained that the change in answers (which is only at the level of floating-point rounding error) appears in a block of code which I have moved into a different subroutine, but kept identical (along with everything that gets input to it). So this looks like a case of a change in answers caused by the CCE compiler optimisations changing behaviour when the same block of code appears in a different module (just to be sadistic, when I added a certain print statement to the trunk version of the code to see what it was doing, this caused it to change answers and give identical output to my branch!)
I Really want to put the new code structure on the trunk but not have it change answers, so I need to look in more detail at exactly what the Cray compiler is doing with this block of code in my branch versus the trunk.
So... does anyone know how I can alter the compile jobs in rose-stem to output full compiler listings? Then maybe I can figure out what compiler directives I need to add to force the Cray compiler optimisations to behave the same way they did before (I've been down this road before in the UM, but this is my first attempt to do it in LFRic).
Cheers!
Mike
Beta Was this translation helpful? Give feedback.
All reactions