-
Notifications
You must be signed in to change notification settings - Fork 2
Fix Intel10_64lp STATIC case #12
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
base: master
Are you sure you want to change the base?
Conversation
add static builds add fixed FindBLAS to fix mac static build add non sequential mkl to travis add openblas on mac make verbose breww misc install omp for parallel backend debug use intel thread + iomp even with GCC remove broken builds Add linux build static Remove apple builds cat cmake logs [fix] add dynamic thread libraries to the target
12eb8b0 to
55ce4a2
Compare
|
Here's the output of ❯ ${MKLROOT}/tools/mkl_link_tool -libs --parallel=yes --compiler=gnu_c --os=lnx --arch=intel64 --linking=static --interface=lp64
Intel(R) Math Kernel Library (Intel(R) MKL) Link Tool v4.5
==========================================================
Output
======
Linking line:
-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lm -ldl
~/Documents/code/random_thoughts/cpp-mkl-test/build_dynamic_noseq/CMakeFiles/CMakeTmp Intel10_64lp_static*
❯ ${MKLROOT}/tools/mkl_link_tool -libs --parallel=no --compiler=gnu_c --os=lnx --arch=intel64 --linking=static --interface=lp64
Intel(R) Math Kernel Library (Intel(R) MKL) Link Tool v4.5
==========================================================
Output
======
Linking line:
-Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_sequential.a $(MKLROOT)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm -ldlFor the parallel case, my local system generates this: ❯ locate libiomp5
/opt/intel/clck/2018.0.002/provider/share/common/lib/intel64/libiomp5.so
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/ia32_lin/libiomp5.a
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/ia32_lin/libiomp5.dbg
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/ia32_lin/libiomp5.so
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/intel64_lin/libiomp5.a
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/intel64_lin/libiomp5.dbg
/opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/lib/intel64_lin/libiomp5.soOther things that I don't understand are: 2 - why both cmake test compilations pass (here for 3 - the cmake failure log shows that its looking for |
|
ping @agramfort |
822e690 to
c903f63
Compare
|
Based on this commend, I think we should do But still, this only means that all those errors were normal. Even if we were ignoring them and hardcoding |
|
you think doing :
set(THREADS_PREFER_PTHREAD_FLAG On)
should help?
|
|
It does not. I think it should be related shomehow (see https://gitlab.kitware.com/cmake/cmake/issues/16221) |
… into Intel10_64lp_static
No description provided.