It runs for 5-6 seconds then it produces the following error:
In vl_compilenn>mex_link (line 394)
In parallel_function (line 476)
In vl_compilenn (line 350)
Error using vl_compilenn>mex_link (line 394)
/usr/bin/ld: cannot find -lmwgpu
collect2: error: ld returned 1 exit status
Error in vl_compilenn (line 350)
parfor i = 1:numel(mex_src)
I also tried with Matlab 2018b, same error.
My paths seem to be correct, and I am unable to locate file mwgpu. Google isn't of much help either.
OS: Ubuntu 16.04 64bit Matlab version: 2017a MatConvNet version: 1.0-beta9
After following the installation steps listed on http://www.vlfeat.org/matconvnet/install, I run the following command to compile it with GPU:
vl_compilenn('enableGpu', true,'cudaRoot', '/usr/local/cuda-8.0')
It runs for 5-6 seconds then it produces the following error:
Error in vl_compilenn (line 350) parfor i = 1:numel(mex_src)
I also tried with Matlab 2018b, same error. My paths seem to be correct, and I am unable to locate file mwgpu. Google isn't of much help either.
Any suggestions? Thanks in advance!