Closed ycl6 closed 2 years ago
I don't think so. SingleR's configuration is correct in this respect - unlike the other two cases you mentioned, SingleR never used .bpNotSharedOrUp
. My best guess is that you're running out of memory; the multicore
parallelization paradigm is not very smart about how memory is shared across workers, which causes particular problems on HPCs with hard memory limits.
@LTLA Thanks for the comment, I think you are right about running out of memory, I'll reduce the number of workers next time.
Hi,
I was trying parallelization (
BiocParallel::MulticoreParam
) when runningSingleR
, but ran into similar problem I encountered when usingrunPCA
from scater (https://github.com/Alanocallaghan/scater/issues/148) andemptyDrops
from DropletUtils (https://github.com/MarioniLab/DropletUtils/issues/65), i.e. it spawned multiple threads but they never complete and killed R eventually. I am wondering could the same changes also be a fix forSingleR
?