You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for this very useful package. These days i am doing some initial tests and unfortunately I am not able to limit the number of cores that are used by the findEncodingDim function: it ignores my BiocParallel setting, thus always using all avaialble cores. I'm having a hard time finding my mistake and unfortunately it is a very serious problem for me because I currently work on a shared server.
After looking into it, I'm not sure what is happening here. There are two parallelization mechanism that could trigger this.
The bplapply call. But this is set by you and also appropriately passed on to internal functions.
The intrinsic parallelized computation of matrix multiplications with BLAS and openMP that already caused some headack (Always hangs during autoencoding #18).
After reviewing the code again, the first option should not trigger it.
As we disabled in commit 1b9e5b5 openMP also this should not happen. To make sure, I explicitly set BLAS to use just one core in a new branch here f42b49c. As you use already 1.4.2 this should not happen, but maybe something went wrong with your Makevariables/CPPFlags while compiling the code.
Can you please try using the new branch version if this fixes the problem for you?
devtools::install_github("gagneurlab/OUTRIDER", ref="fix26")
# should give you the new line with `blas_set_num_threads(1L)`
OUTRIDER::findEncodingDim
# test it again
library(OUTRIDER)
ods <- makeExampleOutriderDataSet()
ncores <- 5
register(MulticoreParam(ncores, ncores*2, progressbar = TRUE))
ods <- findEncodingDim(ods, BPPARAM=bpparam(), params = seq(2,20,by=2))
Dear OUTRIDER authors,
thank you for this very useful package. These days i am doing some initial tests and unfortunately I am not able to limit the number of cores that are used by the findEncodingDim function: it ignores my BiocParallel setting, thus always using all avaialble cores. I'm having a hard time finding my mistake and unfortunately it is a very serious problem for me because I currently work on a shared server.
This is the simple code that I am running:
I really hope you can help me. I also attach the session info, please let me know if you need additional information.
Thanks in advance!
Elisa
The text was updated successfully, but these errors were encountered: