cicero-release icon indicating copy to clipboard operation
cicero-release copied to clipboard

generate_ccans() Error: caught segfault: address 0x55e403466ee4, cause 'memory not mapped'

Open ShihuiZhangsh opened this issue 1 year ago • 3 comments

Hi, I met this error when running generate_ccans() function in JupyterLab and also linux environment. what would be the cause and how to solve it?

Many thanks image image

ShihuiZhangsh avatar Sep 15 '23 13:09 ShihuiZhangsh

Hello, I haven't seen this error before and looks like it has to do with your compute setup. Can you try running a small percent of your data and see if you get a similar error? Or try running the same code locally in R directly?

hpliner avatar Oct 26 '23 16:10 hpliner

I also had this problem but was able to get around it by setting coaccess_cutoff_override to a number instead of leaving it NULL.

kfenggg avatar Nov 01 '23 19:11 kfenggg

Echo to the previous comment. The function internally will propose a cutoff after building the cis-co accessible network (graph) which probably takes too much memory. Once I set a fixed cutoff, it runs. To find a cutoff, my naive solution is to find the elbow point based on the sorted 'coaccess' values for example.

image

Puriney avatar Feb 07 '24 00:02 Puriney