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

make errors #43

Closed
jiyuanz opened this issue Apr 4, 2017 · 4 comments
Closed

make errors #43

jiyuanz opened this issue Apr 4, 2017 · 4 comments
Assignees
Labels

Comments

@jiyuanz
Copy link

jiyuanz commented Apr 4, 2017

Hi,
I am new to the Xeon Phi co-processor. I was trying to install the library on a KNL machine, however, I got the following error at the "make" stage:

[ 32%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/jit_avx2_lrn.cpp.o
[ 34%] Building CXX object src/CMakeFiles/mkldnn.dir/cpu/gemm_inner_product.cpp.o
/mkl-dnn/src/cpu/gemm_inner_product.cpp:39:24: error: variable or field
‘cblas_gemm’ declared void
inline void cblas_gemm(CBLAS_LAYOUT layout,
^
/mkl-dnn/src/cpu/gemm_inner_product.cpp:39:24: error: ‘CBLAS_LAYOUT’
was not declared in this scope
....

The compiler and mkl environment was set already. Could you help me with this error? Thanks!

Best regards,

@rsdubtso
Copy link

rsdubtso commented Apr 4, 2017

Can you please show cmake output?

@rsdubtso rsdubtso self-assigned this Apr 4, 2017
@jiyuanz
Copy link
Author

jiyuanz commented Apr 4, 2017

Hi,
Thanks for the reply. This is cmake output:

The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_BUILD_TYPE is unset, defaulting to Release
-- Intel(R) MKL found: include /opt/intel/composer_xe_2013_sp1.1.106/mkl/include, lib /opt/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_rt.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: **/mkl-dnn/build

@rsdubtso
Copy link

rsdubtso commented Apr 4, 2017

You seem to be using a very old MKL. Can you please try a more recent one which you can get for free? Another option is to download a stripped down library referenced in the Release Notes for v0.7.

@rsdubtso
Copy link

Assuming this is resolved. Feel free to re-open if it is not.

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

No branches or pull requests

3 participants