SONGDONGYUAN1994 / scDesign3

scDesign3 generates realistic in silico data for multimodal single-cell and spatial omics
https://songdongyuan1994.github.io/scDesign3/docs/index.html
MIT License
86 stars 24 forks source link

mc.cores > 1 not supported on windows #29

Open lucas02061 opened 9 months ago

lucas02061 commented 9 months ago

Hi,

I just updated to 1.1.2 and get the following message:

mc.cores > 1 not supported on windows

I have read that people have managed to get it working with multiple cores on windows 11. Is this a windows 11 vs 10 problem? Or am I doing something wrong? I am running the exact code from the tutorial on spatial transcriptomics except with the change of using k = 100 and usebam = TRUE.

Best, Lucas

SONGDONGYUAN1994 commented 9 months ago

Hi Lucas, Could you try the following settings? BPPARAM = BiocParallel::SnowParam() parallelization = "bpmapply" Do you mean you can run it without the warning in version before 1.1.2? If yes, I will double check it I made anything wrong. We have a vignette discussing it: https://songdongyuan1994.github.io/scDesign3/docs/articles/scDesign3-parallelization-vignette.html . Please let me know if it works, thank you!

Best, Dongyuan

lucas02061 commented 9 months ago

Hi Dongyuan,

After using those parameters it seems it works fine. Thank you very much for your quick response!

Best, Lucas