Closed friedue closed 4 years ago
Can you please try the same code with register(SerialParam())
?
I find that sometimes BiocParallel
masks more meaningful error messages.
It seems that the problem is with zinbInitialize()
. Can you try running only that step and see if you still get the error?
Also, it would be great to have a smaller, reproducible example to test things out.
I re-started the process without parallellization (core = 1) and it finished successfully (after trials with 6, 10 and more cores failed during the same session).
One possibility is that it's a memory issue, as more cores will require more memory. Does it always fail at the initialization step? That's probably not the most memory intensive step...
Does it always fail at the initialization step
Hm, can't say for sure. I tend towards: no. Definitely not when I was still working with the previous version, that usually failed towards the last iteration (making it even more infuriating ;) )
Hi @friedue ,
I just wanted to let you know that I have experienced a similar issue (zinbwave failing randomly at either the initialization step or at the very last iteration...) on a cluster -- perhaps even the same cluster? ;)
I think that that might be related to the doParallel package. Have you tried using:
library(BiocParallel)
register(bpstart(MulticoreParam(workers=NCORES)))
Instead of
registerDoParallel(NCORES)
register(DoparParam())
I believe this is a problem with BiocParallel but I still have to pin it down exactly...
not the same cluster, but a server maintained by the same people :)
I have not tried the BiocParallel
approach, but I will probably use zinbwave some time soon, so if you find that to work more reliably, let me know!
Alright, I realized I needed to re-run the
zinbFit
routine -- and I'm again running into the same error that I described before in the zingeRzinbwave reposession info: