On 2019-08-29 05:44, Graham Inggs wrote:
I know this is an old bug report, but anyway...

But the ability to oversubscribe doesn't explain the bug here.  Why
does openmpi think only 2 slots are available when in fact 4 processors
are available?

As per the ark.intel.com page for this CPU [1]:

# of Cores 2
# of Threads 4

So openmpi seems to be (correctly, IMHO) counting cores here, rather
than threads.


[1]
https://ark.intel.com/content/www/us/en/ark/products/88190/intel-core-i5-6300u-processor-3m-cache-up-to-3-00-ghz.html


Ah, of course, that's what Thibaut was saying too.

That makes it a bit awkward if nproc is returning number of threads not cores. Heinrich said /proc/cpuinfo reports 4 CPUs.

Drew

Reply via email to