Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Andrew-Dupuis opened this issue Jun 7, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Andrew-Dupuis
Copy link
Contributor

Andrew-Dupuis commented Jun 7, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant