Hanjun-Dai / graphnn

Training computational graph on top of structured data (string, graph, etc)
MIT License
288 stars 91 forks source link

Cannot found mkl.h #14

Closed ariewahyu closed 6 years ago

ariewahyu commented 6 years ago

I tried to run the make, but it gives the error of cannot found mkl.h Is it missing? Or should we create it?

Here is the error I got

g++ -Wall -O3 -std=c++11 -I/usr/local/cuda/include -I/home/abcde/anaconda2/lib/include -Iinclude -fPIC -DUSE_GPU -MMD -c -o build/objs/cxx/tensor/cpu_dense_tensor.o src/tensor/cpu_dense_tensor.cpp In file included from src/tensor/cpu_dense_tensor.cpp:5:0: include/tensor/mkl_helper.h:4:17: fatal error: mkl.h: No such file or directory compilation terminated. Makefile:53: recipe for target 'build/objs/cxx/tensor/cpu_dense_tensor.o' failed make: *** [build/objs/cxx/tensor/cpu_dense_tensor.o] Error 1

Hanjun-Dai commented 6 years ago

Hi, you should specify the MKL_ROOT.

If the intel mkl is installed and you are in ubuntu, then by default it is located under /opt/intel/mkl

ariewahyu commented 6 years ago

Ok thanks