Skip to content

Fix MKL path issues building with cmake in OOT Conda Environment #2

@Andrew-Dupuis

Description

@Andrew-Dupuis

There is an issue building within the OOT environment due to cmake looking for MKL within a specific static path. There are four lines in the dockerfile that address this in a very friable way currently, but we should find a real solution within the cmakelists file itself that avoids the following dir crations and symlinks:

RUN sudo mkdir /opt/intel &&\
    sudo mkdir /opt/intel/mkl &&\
    sudo mkdir /opt/intel/mkl/lib &&\
    sudo mkdir /opt/intel/mkl/lib/intel64 &&\
    sudo ln -s /opt/conda/envs/gadgetron/lib/libmkl_intel_lp64.so /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so && \
    sudo ln -s /opt/conda/envs/gadgetron/lib/libmkl_gnu_thread.so /opt/intel/mkl/lib/intel64/libmkl_gnu_thread.so && \
    sudo ln -s /opt/conda/envs/gadgetron/lib/libmkl_core.so /opt/intel/mkl/lib/intel64/libmkl_core.so

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