Skip to content

Clang/amd compiler flags showing up in export_albany.in causing issues building MALI on frontier #1108

@mcarlson801

Description

@mcarlson801

I'm trying to add MALI to the nightly builds on Frontier and I'm running into an issue when trying to build. Make is failing to compile a PIO test program due to Clang/AMD compiler flags sneaking into export_albany.in link flags and then not being recognized by the fortran compiler. The offending compiler flags are --hip-link and --offload-arch=gfx90a.

I'm not very familiar with cmake, @bartgol or anyone, do you know why these flags would be getting added to the link line? It looks like maybe I can filter flags starting with -- out here but I'm not sure if that won't break something else.

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