You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm excited to start using Kilosort but I can't get the mex files compiled during installation. I'm using Windows 10, Matlab 2018a, CUDA 9.0.176, and Visual Studio Community 2013 with Update 5 (and I've used mex -setup c++ to set the compiler to Microsoft Visual C++ 2013). The GPU is NVIDIA quadro M4000. I get the following error when I try to run mexGPUall.m (more detailed output below):
Error using mex
nvcc fatal : Could not set up the environment for Microsoft Visual Studio using
'C:/Program Files (x86)/Microsoft Visual Studio
12.0/VC/Bin/amd64/../../../VC/bin/amd64/vcvars64.bat'
Error in mexcuda (line 157)
[varargout{1:nargout}] = mex(mexArguments{:});
Error in mexGPUall (line 5)
mexcuda -largeArrayDims mexThSpkPC.cu
The file vcvars64.bat does in fact exist where specified. I've additionally tried: using the compilers from VS2015 and VS2017; uninstalling all VS versions and uninstalling CUDA, then starting over with VS2013 followed by CUDA 9.0; and most recently following the instructions here to do a clean install of CUDA. No error messages during any installation steps. Any idea what is going on?
Finally got it working. Not sure what the problem was, but I ended up making a new local user account, and CUDA 9.0 + Visual studio 2013 (which I had already installed across the system) just worked. So I compiled the mex files there, and can now use them from my original account.
Hi!
I'm excited to start using Kilosort but I can't get the mex files compiled during installation. I'm using Windows 10, Matlab 2018a, CUDA 9.0.176, and Visual Studio Community 2013 with Update 5 (and I've used
mex -setup c++
to set the compiler to Microsoft Visual C++ 2013). The GPU is NVIDIA quadro M4000. I get the following error when I try to runmexGPUall.m
(more detailed output below):The file vcvars64.bat does in fact exist where specified. I've additionally tried: using the compilers from VS2015 and VS2017; uninstalling all VS versions and uninstalling CUDA, then starting over with VS2013 followed by CUDA 9.0; and most recently following the instructions here to do a clean install of CUDA. No error messages during any installation steps. Any idea what is going on?
Verbose output from the mexcuda command:
The text was updated successfully, but these errors were encountered: