Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cmake : could not find mkl (missing MKLDNN_LIBRARY) #13881
When compliting mxnet with cmake (BLAS=MKL), cmake tells me that "could not find mkl (missing MKLDNN_LIBRARY)". This is because MKLDNN_LIBRARY=MKLDNN_LIBRARY-NOTFOUND. I know i should specify the library manually, But the mkldnn library has not been complied yet. so what should i do?
Environment info (Required)
What have you tried to solve it?
To solve this problem, i config BLAS=Atlas first. Then use command "make mkldnn" generates the mkldnn library. Now we can let BLAS=MKL, and specify the MKLDNN_LIBRARY=<path of mkldnn> manually. But，But，But this is not a right way to solve this problem, right?
% cmake -GNinja -DUSE_CUDA=OFF -DBLAS=mkl -DUSE_MKLDNN=1 ../-DUSE_BLAS=mkl -DUSE_MKLDNN=1 (mxnet master 4/17 or latest master)
@pengzhao-intel @yinghu5 Thanks for your quick response!
But still thank you guys. I will just wait for your final solution after merging into master. And now I will just use OpenBLAS instead.
BTW, I just posted on MXNet forum to list the issues during my building: