Closed alexvpickering closed 2 years ago
It's possible of the issues with OpenMP & fork (if I recall correctly annoy uses OpenMP). Try to disable OpenMP and re-run your code. I don't think RestRserve / Rserve can do anything about that.
Thanks for the quick reply @dselivanov! Any ideas how to disable OpenMP?
@alexvpickering Seurat is not fork-safe. You cannot load it before forking, so simply move library(Seurat)
into the function.
That did it - thanks @s-u !!!
Describe the bug
segfault occurs when running
Seurat::RunUMAP
fromRestRserve
endpointTo Reproduce
For example:
This causes a segfault in the R process:
Code runs fine outside of
RestRserve
endpoint:Expected behavior
no segfault, endpoint returns data
Environment information
Please provide output of the
sessionInfo()
command.Additional context
Add any other context about the problem here.