Open JosieAC opened 2 years ago
Just clarifying it's fixed if you specify backend explicitly?
Technically yes, but it is still far slower than my previous laptop.
Can you replace MulticoreParam(6L) with SnowParam(workers = 4L)?
This causes the same outcome as the default. No progress bar and "maxed out" CPU.
Having a dig around this seems to a be a biocparrallel issue rather than a bandle one. @lmsimp I'll do some digging but if we can some check locally. I'll keep the issue open for now.
One thing to check is you have the most upto date version of RStudio and Rtools
https://github.com/ococrook/bandle/blob/0fa56ad941d0934194ff6246288c2719de3d45a7/R/bandle-function.R#L91
Hi Olly,
Not sure what is going on but I have tried to explain the issue as best as I could. Possibly CPU issues - possibly with assigning the correct number of cores when using default
BPPARAM
. On my previous laptop thebandle
function would complete a run in ~40mins and appeared to run the default fine. When runningbandle
with the same parameters on my new laptop, with essentially the same/better specs, the code takes significantly longer (hours) and/or crashes. This seems to be resolved with the nu,ber of cores to use is explicitly specified in the function, as follows:Without specifying the
BBPARAM
parameter, no progress bar shows and the CPU is working at 100% capacity. It does however appear to be using all cores - but these are all "maxed out", which causes R to crash or freeze. If I preserved potentially it may run okay but with my current laptop and a friend's laptop I borrowed this usually ended in the session crashing/freezing. When specifying as above the progress bar appears and the CPU works only at 50% capacity, uses all cores but these aren't all "maxed out".The
sessionInfo
andbpparam
for my old laptop is:For my new laptop:
Let me know if you have any questions or need more info.