On Wed, Oct 2, 2019 at 1:28 PM Saint Michael <[email protected]> wrote:
>>
>> I upgraded to the latest version, and it did not fix anything.
>
> My box has 16 cores, and I can see that with top and also with /cat 
> /proc/cpuinfo
> but if I run parallel with -j-4, it fails, and if I run parallel with -j+0 I 
> see
>
> Computers / CPU cores / Max jobs to run
> 1:local / 2 / 2
>
> so the issue is it is reading the number of cores wrong.

Check that these give the expected values:

$ parallel --number-of-threads
$ parallel --number-of-cpus
$ parallel --number-of-cores
$ parallel --number-of-sockets

If those are wrong you have found a bug in the parser of
/proc/cpuinfo, and you should post the full output of /proc/cpuinfo
and /proc/self/status

If you are adventurous, the parser is in the function: sct_gnu_linux

/Ole

Reply via email to