vlfeat / matconvnet

MatConvNet: CNNs for MATLAB
Other
1.4k stars 752 forks source link

vl_compilenn cannot compile for GPUs #644

Open anselmoferreira opened 8 years ago

anselmoferreira commented 8 years ago

I have the following problem when I want to compile matconvnet for GPUS:

>> vl_compilenn('enableGpu', true)

vl_compilenn:   CUDA: MEX config file: '/home/anselmo/Experimentos-Impressora-DeepLearning/matconvnet-master/matlab/src/config/mex_CUDA_glnxa64.sh'

mex:  no file name given.

Usage:
  MEX [option1 ... optionN] sourcefile1 [... sourcefileN]
      [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]

  Use the -help option for more information, or consult the MATLAB External Interfaces Guide.

 Error using mex (line 206)
 Unable to complete successfully.

 Error in vl_compilenn>mex_compile (line 434) 
 mex(mopts{:}) ;

 Error in vl_compilenn>(parfor body) (line 393)
 mex_compile(opts, srcs{i}, toobj(bld_dir,srcs{i}), flags.mexcu) ;

 Error in parallel_function (line 470)
        F(base, limit, supply(base, limit));

 Error in vl_compilenn (line 387)
 parfor i = 1:numel(horzcat(lib_src, mex_src))

 509         rethrow(E)

What can be happening?

ymyssy commented 5 years ago

I encountered same problem, how did you solve this?