[slurm-users] unable to run on all the logical cores
William Brown
william at signalbox.org.uk
Thu Oct 8 07:29:19 UTC 2020
R is single threaded.
On Thu, 8 Oct 2020, 07:44 Diego Zuccato, <diego.zuccato at unibo.it> wrote:
> Il 08/10/20 08:19, David Bellot ha scritto:
>
> > good spot. At least, scontrol show job is now saying that each job only
> > requires one "CPU", so it seems all the cores are treated the same way
> now.
> > Though I still have the problem of not using more than half the cores.
> > So I suppose it might be due to the way I submit (batchtools in this
> > case) the jobs.
> Maybe R is generating single-threaded code? In that case, only a single
> process can run on a given core at a time (processes does not share
> memory map, threads do, and on Intel CPUs there's a single MMU per core,
> not one per thread as in some AMDs).
>
> --
> Diego Zuccato
> DIFA - Dip. di Fisica e Astronomia
> Servizi Informatici
> Alma Mater Studiorum - Università di Bologna
> V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
> tel.: +39 051 20 95786
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20201008/9c7dac00/attachment.htm>
More information about the slurm-users
mailing list