Skip to content

--cpu-list does not bind in master nor 4.0 branch #6540

@awlauria

Description

@awlauria

Thank you for taking the time to submit an issue!

Background information

What version of Open MPI are you using? (e.g., v1.10.3, v2.1.0, git branch name and hash, etc.)

master/4.0

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Git clone.

Please describe the system on which you are running

  • Operating system/version: RHEL 7.6
  • Computer hardware: Power9
  • Network type:

Details of the problem

This can be reproduced with the following command, it seems that the --cpu-list option isn't getting processed correctly/ignored when it comes to binding:

[awlauria@c685f10n17 master]$ mpirun --report-bindings --np 2 --cpu-list 3,4 --bind-to core hostname
c685f10n17
[c685f10n17:102892] MCW rank 0 is not bound (or bound to all available processors)
[c685f10n17:102892] MCW rank 1 is not bound (or bound to all available processors)
c685f10n17

Changing --bind-to core to hwthread or removing it completely yields the same results.

Another somewhat related issue is that --cpu-list cannot be used with --map-by. Is this intended behavior?

[awlauria@c685f10n17 master]$ mpirun -np 2 --map-by ppr:2:node --cpu-list 2,3 --bind-to core --report-bindings --tag-output hostname
--------------------------------------------------------------------------
Conflicting directives for mapping policy are causing the policy
to be redefined:

  New policy:   RANK_FILE
  Prior policy:  UNKNOWN

Please check that only one policy is defined.
--------------------------------------------------------------------------

Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions