Skip to content

No full libs paths on centos 7 mkl 2018 #19

Description

@WilliamTambellini

As today, on centos7 and mkl 2018, the cmake script returns such :
MKL_LIBRARIES :
-Wl,--no-as-needed;mkl_intel_lp64;mkl_sequential;mkl_core;/usr/lib64/libpthread.so;/usr/lib64/libm.so;/usr/lib64/libdl.so
and
MKL_LIBRARY_DIR :
/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64;/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/../compiler/lib/intel64

It does nt succeed to build full libs paths (perhaps because MKL_LIBRARY_DIR contains 2 paths).

This is annoying because cmake prefers libs with full paths when linking.
Would there be anyway for the script to return full lib paths in MKL_LIBRARIES ?
Kind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions