Comments (3)
I have managed to change the makefile
so that it will find TBB from my oneAPI installation. However this does not lead to a successful build, due to problems with linking TBB. It seems that oneDAL tries to link the static TBB when building a oneDAL DLL:
link -nologo -map -dll -DYNAMICBASE -NXCOMPAT tmp_build_files/work/threading_dynamic/threading_tbb.obj tmp_build_files/work/threading_dynamic/service_thread_pinner_tbb.obj __deps/mklfpk/win/lib/intel64/daal_mkl_thread.lib __deps/mklfpk/win/lib/intel64/daal_vmlipp_core.lib tmp_build_files/work/threading_dynamic/dll_tbb.res -DEF:tmp_build_files/work/threading_dynamic/onedal_thread.1_link.def -LIBPATH:tmp_build_files/release/tbb/latest/lib/intel64/vc_mt tbb12.lib tbbmalloc.lib msvcrt.lib msvcprt.lib /nodefaultlib:libucrt.lib ucrt.lib -IMPLIB:tmp_build_files/work/daal/lib/onedal_thread.1_dll.lib -out:tmp_build_files/work/daal/lib/onedal_thread.1.dll && printf '\n%s\n' 'tmp_build_files/work/daal/lib/onedal_thread.1.dll.mkdeps += makefile dev/make/cmplr.vc.mk dev/make/cmplr.dpcpp.mk dev/make/common.mk dev/make/deps.mk makefile.ver' '$(tmp_build_files/work/daal/lib/onedal_thread.1.dll.mkdeps):' 'tmp_build_files/work/daal/lib/onedal_thread.1.dll: $(tmp_build_files/work/daal/lib/onedal_thread.1.dll.mkdeps)' 'tmp_build_files/work/daal/lib/onedal_thread.1.dll.trigger = md5:4c98782cfeb420f7c7955ed2578fafe8' >> tmp_build_files/work/daal/lib/onedal_thread.1.dll.d.tmp && mv -f tmp_build_files/work/daal/lib/onedal_thread.1.dll.d.tmp tmp_build_files/work/daal/lib/onedal_thread.1.dll.d ;
cp -fp tmp_build_files/work/daal/lib/onedal_sequential.1.dll tmp_build_files/release/daal/latest/redist/intel64/onedal_sequential.1.dll
Creating library tmp_build_files/work/daal/lib/onedal_thread.1_dll.lib and object tmp_build_files/work/daal/lib/onedal_thread.1_dll.exp
daal_mkl_thread.lib(dgeqrf_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(dgetrf_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(dorgqr_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(dormqr_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(dormrq_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(dpotrf_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
daal_mkl_thread.lib(sgeqrf_tbb_avx2.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in threading_tbb.obj
[...]
from onedal.
Anyone?
from onedal.
In general there are no plans to support build against MKL at the moment. In theory this would be possible - our fpk lib is subset of mkl functions with added prefix, so having some tool that would extract required functions and adding prefix would create similar fpk lib. Although there is also non mkl functions in fpk lib
from onedal.
Related Issues (20)
- Improvements in cmake configuration HOT 2
- Issues with the makefile - what about a cmake based build system? HOT 2
- Can not deploy an application that is dynamically linked against oneDAL HOT 6
- How to make a debug build (missing daal_vmlipp_cored.lib)? HOT 7
- Feature request: Add support for ClangCl on MSVC HOT 4
- Looking forward to kd-tree implementation.. HOT 1
- Support for accelerating NGBoost HOT 1
- Compile Failure: "No kernel name provided without -fsycl-unnamed-lambda enabled!" HOT 2
- Support for RISC-V architecture HOT 1
- Error in running daal c++ examples HOT 4
- Datasets used for producing speedup benchmarks in scikit-learn intelex HOT 1
- Remote branch develop not found in upstream origin HOT 2
- `xsyrk` vs `xxsyrk` vs `dsyrk` (in netlib LAPACK) HOT 4
- PCA tests fail periodically.
- Not able to build daal/cpp examples HOT 3
- How to validate results when adding a new backend (i.e., OpenBLAS, Lapack, etc) HOT 1
- Differences betwen SPBLAS - xcsrmultd & xcsrmm ? HOT 1
- How to perform LightGBM inference in online mode using c++? HOT 7
- Fatal error: stdlib.h: No such file or directory from #include_next <stdlib.h> HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onedal.