Re: [R] Parallel processes collapse into one

2019-06-11 Thread Nicola Lunardon
Hi, thanks for the hints. I am quite sure that at some points R stalls as I am used to monitor the progress of simulations (with a custom function similar to pbmclapply) and save partial results: whenever all R instances collapse into one, then no more updates show up. I was able to set OPENBLAS_NU

Re: [R] Parallel processes collapse into one

2019-06-06 Thread Ivan Krylov
On Mon, 3 Jun 2019 06:37:46 +0200 Nicola Lunardon wrote: > R seems to be running, but simulations do not progress further. Have you tried message() (or REprintf() in C code) to narrow down the specific part of the code where simulations stop in their progress? It's less convenient than a good de

Re: [R] Parallel processes collapse into one

2019-06-05 Thread Abby Spurdle
> I have written an R package to collect some functions to run simulations > for a research project. Main functions are written in C and make use of > BLAS routines, such as dsymm, dgemm, and ddot. I run simulations in > parallel by using mclapply and the problem is that after some point all R > in

[R] Parallel processes collapse into one

2019-06-04 Thread Nicola Lunardon
I have written an R package to collect some functions to run simulations for a research project. Main functions are written in C and make use of BLAS routines, such as dsymm, dgemm, and ddot. I run simulations in parallel by using mclapply and the problem is that after some point all R instances co