-
Notifications
You must be signed in to change notification settings - Fork 187
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
Avoid segmentation error during kilosort2 cluster splitting #987
Comments
Hi @TomBugnon Would setting them as env variables solve your issue, as suggested by @Dradeliomecus here? If that is not propagated to MATLAB, then we could check in the KS wrappers if the env variable is set and add the |
@alejoe91 : Maybe it would be more convinient to add some option in kilosort with theses env variable that could injected in the generated script as suggested. |
Ok good for me! |
I prefer also the approach of setting those as parameters (so that different users on the same system can expect the same results when using the same spikeinterface parameters). Will submit a PR asap. |
Fixed by #893 |
Hi
We have been experiencing segmentation errors during cluster splitting with kilosort2.5
We resolved this by installing a different version of the mkl library and, in our fork, setting the corresponding (system specific) paths as environment variables in kilosort_master.m as follows:
Allowing this in df spikeinterface is pretty much the last step we need before we can get rid of our fork
Do you think that would be possible? Do you have a preference about how to do this? We could for instance add the paths to BLAS and LAPACK as kilosort parameters.
We'll be happy to submit a PR implementing whichever approach seems preferable.
Best
Tom
The text was updated successfully, but these errors were encountered: