glmGamPoi icon indicating copy to clipboard operation
glmGamPoi copied to clipboard

Core Usage

Open NKalavros opened this issue 2 years ago • 1 comments

Hello!

Insanely useful package. Thank you so much for this!

I wanted to ask, when fitting a model with glm_gp on slightly larger datasets, during the final fitting step, all cores on the machine are hogged. Sometimes this can cause problems with other processes. Is there any way to limit core usage by gamPoi? I tried through future, and biocParallel but was unable to limit core usage.

Thanks again, Nikolas

NKalavros avatar Jul 27 '22 21:07 NKalavros

Hi Nikolas,

sorry for the delay. I just got back from holidays.

Thank you for highlighting this issue. Could you say a bit more with what kind of data are you calling glmGamPoi? Is it by any chance data stored on disk using the DelayedArray package?

If yes, please try the following setting, before calling glmGamPoi:

DelayedArray::setAutoBPPARAM(BiocParallel::SerialParam())

If no, could you maybe provide a small reproducible example so that I can investigate the issue?

Best, Constantin

const-ae avatar Aug 02 '22 08:08 const-ae