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

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

Open
ShihuiZhangsh opened this issue Sep 15, 2023 · 3 comments

Comments

@ShihuiZhangsh
Copy link

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

@hpliner
Copy link
Collaborator

hpliner commented Oct 26, 2023

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?

@kfenggg
Copy link

kfenggg commented Nov 1, 2023

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.

@Puriney
Copy link
Contributor

Puriney commented Feb 7, 2024

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

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

No branches or pull requests

4 participants