buzsakilab / buzcode

Code for internal lab sharing - polishing has started but is by no means complete
http://www.buzsakilab.com/
GNU General Public License v3.0
118 stars 128 forks source link

Kilosort Set up not working as readme explains #276

Open KaiserArndt2 opened 5 years ago

KaiserArndt2 commented 5 years ago

I have completed and installed all of the listed steps below from the read me...

_1. Install matlab R2018a from www.mathworks.com. You can use older versions of matlab but see notes below.

  1. Install cuda 9.0 from https://developer.nvidia.com/cuda-90-download-archive. This version of CUDA works with Matlab R2018a. For older versions of matlab, skip this for now, and at a later stage it will tell you what version of CUDA you need. Then search on google or the NVIDIA site for that version.
  2. Install visual studio 2013 community from https://www.visualstudio.com/vs/older-downloads/. Installing this should come after installing matlab or else matlab may not find the compiler, in which case you won't see it in the mex setup list (see below). You should be able to install again on top of an old installation, if you already had it from before matlab installation.
  3. Now in matlab, choose the compiler:._

... but when I move to the compile kilosort step (5) using 'mexGPUall' I get the following warnings/ errors...

_>> mexGPUall Warning: No CUDA toolkit installation could be found. If installed, set MW_NVCC_PATH environment variable to location of nvcc compiler.

In mexcuda (line 157) In mexGPUall (line 4) Error using mex No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.

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

Error in mexGPUall (line 4) mexcuda -largeArrayDims mexMPmuFEAT.cu_

...I am not sure what I am doing wrong, any help is greatly appreciated!

Thanks!!

dlevenstein commented 5 years ago

Hey, I'm not using KiloSort, so I can't be much help with this... but figured I'd suggest you might want to try the KiloSort git as well: https://github.com/cortex-lab/KiloSort

Good luck! Dan

dlevenstein commented 4 years ago

Were you able to get this to work?

dtranman93 commented 4 years ago

Any update on this? I got the same error! Please help!

KaiserArndt2 commented 4 years ago

I was never able to get the issue figured out on my system. Since then, we have shifted to using Kilosort2 (https://github.com/MouseLand/Kilosort2) and we haven't had any unfix-able issues. I hope this helps!