-
Notifications
You must be signed in to change notification settings - Fork 126
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
runMagic segfault error #105
Comments
Hi Ryan,
If you are using this function just for annotation. I recommend to use a subset of cells. Indeed this function is bit hard to deal with large dataset.
…Sent from my iPhone
On Sep 26, 2019, at 11:54 AM, RZiffra ***@***.***> wrote:
Hi Rongxin,
Whenever I try to run the runMagic function on large samples (i.e. 77K cells & 93K cells) I keep getting a segfault error. I have also tried with small number of genes (16) and large numbers (58K). When I run the function with smaller numbers of cells (i.e. 5K & 27K) I don't run into this error.
x.sp <- readRDS("AllPrimary_LSA_Harmony_PreMagic.snap.rds")
x.sp = runMagic(
obj=x.sp,
input.mat="gmat",
step.size=3
)
Epoch: checking the inputs ...
*** caught segfault ***
address 0xffffffff92b506b0, cause 'memory not mapped'
Traceback:
1: A %% A
2: A %% A
3: runMagic(obj = x.sp, input.mat = "gmat", step.size = 3)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
You can try this (described in #149) :
In the original implementation step.size of 3 would compute A^8, whereas it would compute A^3 in the above. But it is much faster and memory efficient. |
Thanks, this works well! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Rongxin,
Whenever I try to run the runMagic function on large samples (i.e. 77K cells & 93K cells) I keep getting a segfault error. I have also tried with small number of genes (16) and large numbers (58K). When I run the function with smaller numbers of cells (i.e. 5K & 27K) I don't run into this error.
Epoch: checking the inputs ...
*** caught segfault ***
address 0xffffffff92b506b0, cause 'memory not mapped'
Traceback:
1: A %% A
2: A %% A
3: runMagic(obj = x.sp, input.mat = "gmat", step.size = 3)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
The text was updated successfully, but these errors were encountered: