Skip to content

Look into changing gnu optimization setting to -O0 on izumi #198

@cacraigucar

Description

@cacraigucar

On izumi, when using code compiled with the current -Og setting, a good number of variables are "optimized out" when viewing in totalview. Changing this setting in two places in the cmake_macros/gnu.cmake file before running case.build yields variables which are able to be viewed in the totalview debugger.

There was some discussion on investigating the timing impact of making this change on CESM regression tests.

If the timing is not significantly impacted, I would like to suggest that gnu use the -O0 setting for debug cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions