Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mexGPUall #515

Closed
freyja87 opened this issue Sep 22, 2022 · 5 comments · Fixed by #595
Closed

Problem with mexGPUall #515

freyja87 opened this issue Sep 22, 2022 · 5 comments · Fixed by #595

Comments

@freyja87
Copy link

I'm trying to run kilosort on my machine (windows, matlab 2021a). When I run mexGPUall it lists a bunch of messages saying MEX completed successfully and then eventually it throws me this error message:

Error using mex
fatbinary fatal : '44_device.compute_35.cubin' is not in 'keyword=value' format
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are
deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
mexMPnu8.obj
c_mexapi_version.obj

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

Error in mexGPUall (line 18)
mexcuda -largeArrayDims -dynamic -DENABLE_STABLEMODE mexMPnu8.cu

Any idea what's causing this?

@LaurenzMuessig
Copy link

See #514. Sounds like it's the same thing.

Laurenz

@freyja87
Copy link
Author

freyja87 commented Sep 23, 2022

Thanks @LaurenzMuessig I've tried replacing the environment so it matches the one used in #514, but I still get the same error.
I'm slightly at a loss now

@LaurenzMuessig
Copy link

Hey Freyja. Sorry to hear you are still having trouble. Not sure I can be of any more help here unfortunately. I am running kilosort on a linux machine with Matlab 2020a and Cuda 10.1. Cheers

@freyja87
Copy link
Author

Ok, so it seems to be solved. Apparently the problem is with the date format the windows uses in Europe differs from the one used in the US. I just spoke to some colleagues (at the Donders Institute in the Netherlands) who had the same issue. And the hack is basically to disable enableStableMode (mexGPUAll line 5). This is probably not the best thing to do but at least it runs mexGPUall now successfully.

@LaurenzMuessig
Copy link

Okay. Why don't you temporarily set your computer to US date and time, compile the code and then set it back again afterwards. Kilosort should hopefully just run fine if the code is compiled. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants