mex cannot find cudart or mwblas library (GPU lasso)
5 views (last 30 days)
Show older comments
So I am using this code in the link given HERE, which is a C++ written GPU capable convex optimiser. I need it to perform GPU based lasso regression (the form of the parameters are given on left side of the page linked in this question under 'examples') in MATLAB.
Problem is in order to set it up, I need to run
pogs_setup -gpu
that's what it says in the instructions given under 'Setup' and 'MATLAB'. However, when I try to do this I get the following error:
'make' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
Linking to standard library failed, trying another.
Error using mex
MEX cannot find library 'cudart' specified with the -l option.
MEX looks for a file with one of the names:
libcudart.lib
cudart.lib
Please specify the path to this library with the -L option.
Error in pogs_setup (line 55)
eval(sprintf(['mex -largeArrayDims -I../include -I../gpu/include ' ...
Strangely, when I try to setup the non GPU based version by using this instead:
pogs_setup
I instead get this error:
'make' is not recognized as an internal or external command,
operable program or batch file.
'make' is not recognized as an internal or external command,
operable program or batch file.
Error using mex
MEX cannot find library 'mwblas' specified with the -l option.
MEX looks for a file with one of the names:
libmwblas.lib
mwblas.lib
Please specify the path to this library with the -L option.
Error in pogs_setup (line 33)
eval(sprintf(['mex -largeArrayDims -I../include ' ...
Does anyone know how I can fix this? Your help is much appreciated! My systems specifications are:
OS: Windows 10 C++ compiler: MinGW64 Compiler MATLAB version: R2016b
0 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!