Skip to content

imkl pkgconfig files don't work (but can be fixed!) #2700

@SimonPinches

Description

@SimonPinches

The pkgconfig/*.pc files created by the imkl module reference the $MKLROOT environment variable which is not usable within *.pc files. The solution I adopted was to add a line MKLROOT=${prefix} after the definition of includedir by doing:
sed -i '/^includedir=.*/a MKLROOT=${prefix}' /opt/EasyBuild/software/imkl/*/mkl/bin/pkgconfig/*

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions