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

cannot compile matconvnet-1.0-beta25 #13

Open
lgen opened this issue Oct 13, 2017 · 3 comments
Open

cannot compile matconvnet-1.0-beta25 #13

lgen opened this issue Oct 13, 2017 · 3 comments

Comments

@lgen
Copy link

lgen commented Oct 13, 2017

When i compile matconvnet-1.0-beta25, i get the fellowing error:

警告: Version 7.0 of the CUDA toolkit could not be found. If installed, set MW_NVCC_PATH
environment variable to location of nvcc compiler.

In mexcuda (line 157)
In vl_compilenn>mexcuda_compile (line 603)
In vl_compilenn (line 489)
错误使用 mex
未找到支持的编译器或 SDK。有关选项,请访问
http://www.mathworks.com/support/compilers/R2015b/glnxa64.html。

出错 mexcuda (line 157)
[varargout{1:nargout}] = mex(mexArguments{:});

出错 vl_compilenn>mexcuda_compile (line 603)
mexcuda(args{:}) ;

出错 vl_compilenn (line 489)
mexcuda_compile(opts, srcs{i}, objfile, flags) ;

My system setting is ubuntu16.04,cuda8.0 ,matlab2015b. And i can compile matconvnet-1.0-beta24 and matconvnet-1.0-beta23 successfully. Could you give me some help about solving this problem ? Thank you.

@albanie
Copy link
Owner

albanie commented Oct 16, 2017

Ah, sorry to hear that. Are you explicitly passing the location of the cuda toolkit when you compile matconvnet? E.g. vl_compilenn(...., 'cudaRoot', 'path/to/your/cuda-8', ...) ?

@lgen
Copy link
Author

lgen commented Oct 17, 2017

Yes, i have tried, but it still doesn't work. Should i use a higher version of MATLAB ?

@albanie
Copy link
Owner

albanie commented Oct 17, 2017

I'm not 100% certain to be honest, but it is worth a try if that is an option. Out of the box, I think 2015b is only guaranteed to be compatible with cuda 7.

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