From daniel.kaschek at physik.uni-freiburg.de  Fri Jan 15 19:15:46 2016
From: daniel.kaschek at physik.uni-freiburg.de (Daniel Kaschek)
Date: Fri, 15 Jan 2016 19:15:46 +0100
Subject: [Rd] Multiple cores are used in simple for loop
In-Reply-To: <1452870046.30832.109.camel@iarc.fr>
References: <1452866620.6790.3@physik.uni-freiburg.de>
	<1452870046.30832.109.camel@iarc.fr>
Message-ID: <1452881746.6790.5@physik.uni-freiburg.de>

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



[Rd] Multiple cores are used in simple for loop
Daniel Kaschek