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

Compilation Error - Ubuntu 14 - MKL_VSL #1

Open
smasoudn opened this issue Jun 23, 2016 · 1 comment
Open

Compilation Error - Ubuntu 14 - MKL_VSL #1

smasoudn opened this issue Jun 23, 2016 · 1 comment

Comments

@smasoudn
Copy link

smasoudn commented Jun 23, 2016

During compilation I noticed that the mkl_vsl.h package been missed. I found the package and set its path in the Makefile.config.

Now I'm getting the following error:

src/caffe/util/math_functions.cpp:125:41: error: ‘cblas_saxpby’ was not declared in this scope
  cblas_saxpby(N, alpha, X, 1, beta, Y, 1);
                                         ^
src/caffe/util/math_functions.cpp: In function ‘void caffe::caffe_axpby(int, Dtype, const Dtype*, Dtype, Dtype*) [with Dtype = double]’:
src/caffe/util/math_functions.cpp:131:41: error: ‘cblas_daxpby’ was not declared in this scope
  cblas_daxpby(N, alpha, X, 1, beta, Y, 1);
                                         ^
In file included from ./include/caffe/common.hpp:12:0,
                 from src/caffe/util/math_functions.cpp:5:
src/caffe/util/math_functions.cpp: In function ‘void caffe::caffe_vRngUniform(int, Dtype*, Dtype, Dtype) [with Dtype = float]’:
src/caffe/util/math_functions.cpp:257:17: error: ‘VSL_RNG_METHOD_UNIFORM_STD’ was not declared in this scope
    vsRngUniform(VSL_RNG_METHOD_UNIFORM_STD, Caffe::vsl_stream(), n, r, a, b));
                 ^

....

                  ^
src/caffe/util/math_functions.cpp:277:2: note: in expansion of macro ‘VSL_CHECK’
  VSL_CHECK(

Does anybody have any idea?

@MLenthousiast
Copy link

I get the same error as you do @smasoudn, did you solve it?

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

No branches or pull requests

2 participants