[Rd] Multiple cores are used in simple for loop

Daniel Kaschek daniel.kaschek at physik.uni-freiburg.de
Fri Jan 15 19:15:46 CET 2016


Dear Martyn,


On Fr, Jan 15, 2016 at 4:01 , Martyn Plummer <plummerm at iarc.fr> wrote:
> 
> Alternatively, you may be able to control the maximum number of 
> threads
> by setting and exporting an appropriate environment variable depending
> on what backend you are using, e.g. OPENBLAS_NUM_THREADS or
> MKL_NUM_THREADS.


Thanks a lot. Running

export OPENBLAS_NUM_THREADS = 1

in the bash before starting R solves both problems!


Cheers,
Daniel



More information about the R-devel mailing list