Skip to content

Avoid segmentation error during kilosort2 cluster splitting #987

@TomBugnon

Description

@TomBugnon

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:

setenv('BLAS_VERSION', '/usr/lib/x86_64-linux-gnu/mkl/libblas.so');
setenv('LAPACK_VERSION', '/usr/lib/x86_64-linux-gnu/mkl/liblapack.so');

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question regarding SI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions