cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
179 stars 100 forks source link

Undefined function or variable 'mexGPUall'. #153

Closed drzamzow closed 6 years ago

drzamzow commented 6 years ago

I am a complete novice. This is the error message I get in Matlab. I have downloaded and setup MVCC 2017.

nsteinme commented 6 years ago

Navigate to the CUDA subfolder and then try it:

cd /my/kilosort/path/CUDA mexGPUall

On Sat, Jul 28, 2018 at 7:30 PM drzamzow notifications@github.com wrote:

I am a complete novice. This is the error message I get in Matlab. I have downloaded and setup MVCC 2017.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cortex-lab/KiloSort/issues/153, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPUP8VdKXyZYNoh4Wxc6mZl13s2FFuCks5uLK3cgaJpZM4VlI58 .

drzamzow commented 6 years ago

I still get the same error code. Matlab is not recognizing mexGPUall.

marius10p commented 6 years ago

mexGPUall should run from the Kilosort/CUDA folder where this script is located. However, the CUDA compiler from Nvidia won't work with MVCC 2017 and you need to install VS 2013, for example the free community edition.

drzamzow commented 6 years ago

I keep getting the same error message:

"Undefined function or variable 'mexGPUall'."

I have the mex toolbox. Visual studio 2013 is installed and recognized by Matlab. I have Matlab 2018a. Cuda is installed. I am in the Cuda path.

What seems to be at issue?

Thanks,

marius10p commented 6 years ago

That error means you are not in the right path. Can you cd to the folder inside Kilosort where CUDA is? Notice it is here in the github repository: https://github.com/cortex-lab/KiloSort/tree/master/CUDA