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

MKL linking errors when trying to build Intel retinanet Docker image #17

Open
eltimen opened this issue Jan 30, 2024 · 1 comment
Open

Comments

@eltimen
Copy link

eltimen commented Jan 30, 2024

I got the following MKL linking errors when I try to build the Intel Docker image for retinanet (with applied workaround for the pybind11 problem suggested in #12) using this script:

982.3 [ 85%] Building CXX object CMakeFiles/mlperf_runner.dir/kmp_launcher.cpp.o
982.7 [100%] Linking CXX executable bin/mlperf_runner
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_ssbevd_2stage'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_csyconv'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_cspmv'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_slaqr5'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_zlagsy'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_blas_zdotu'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_feast_dfeast_scsrev'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_zlacrt'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_cpotrs'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_dcombssq'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_zgeev'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_strrfs'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_spblas_lp64_mkl_dcsrcoo'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_cgbcon'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_sspevx'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_clarfb'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_dlasd8'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_sparse_d_create_csc_i4'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_cla_syrcond_c'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_blas_zgemv_batch_strided'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_stzrzf'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_zhetrs_rook'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_slarrv'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_serv_get_cpu_clocks'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_spblas_lp64_mkl_zdiatrsv'
983.3 /opt/rh/gcc-toolset-11/root/usr/bin/ld: /opt/conda/lib/libmkl_intel_lp64.so: undefined reference to `mkl_lapack_zlaqgb'
...

Can anybody suggest a solution/workaround for this?

@arjunsuresh
Copy link
Contributor

Let me try to reproduce this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants