Skip to content

[Bug] cmake interaction with Intel MPI #69

Open

Description

@anyzelman

In generating cmake/lpf-config.cmake we have the following expansion:

set_target_properties(${target} PROPERTIES LINK_FLAGS "@LPF_CORE_LIB_LINK_FLAGS@ @LPF_CORE_EXE_LINK_FLAGS@")

which fails if LPF_CORE_LIB_LINK_FLAGS contains quotes. Indeed, Intel MPI reports an rpath alike -Xlinker "/opt/intel/oneapi/mpi/2021.16/lib".

Maybe use something like the following?

LINK_FLAGS [[@LPF_CORE_LIB_LINK_FLAGS@ @LPF_CORE_EXE_LINK_FLAGS@]]

(Thus bug only affects usage with Intel MPI, as far as we know.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions