YingfanWang/PaCMAP

Segmentation fault when running model in loop

Closed this issue · 1 comments

I wanted to run the model on several subsets in a basic loop which causes several errors including segmentation fault. E.g. UMAP is not causing any problems. Any workarounds or suggestions how to solve that?

It's hard to distinguish the root cause of segmentation fault since it can be caused by errors on multiple levels. The current version on GitHub and PyPI passed all test cases on an Intel machine and a Macbook without segfault. One case I have met before is that the computing machine does not support the instruction set used by numba. This error usually happens when the machine you used to compute is not the same as the machine you used for compiling PaCMAP. I would recommend you to remove the cache by removing .pycache directory under the folder where you install PaCMAP, and try to run PaCMAP again.