Skip to content

cpu-list/pe-list not working in v5.0.x #10476

Closed
@gkatev

Description

@gkatev

Hi, I'm trying to use the cpu-list functionality in v5.0.x (7d0750a), but I'm getting some errors. They do appear to be parsing/typo related to some extent.

$ git submodule
 77fc96c5a045060810d23ba8080c62fbc074aefe 3rd-party/openpmix (v4.1.2-71-g77fc96c)
 6a034d18792a0fb5e87b3850bf97ecb767e8f1c2 3rd-party/prrte (v2.0.2-109-g6a034d1)

In v4 I'm able to use --cpu-list 0,4 --bind-to cpu-list:ordered to run on cores 0 and 4. What would the intended equivalent of this in v5.0.x be?

$ mpirun -n 2 --cpu-list 0,4 --bind-to cpu-list:ordered osu_latency
The specified map-by directive is not recognized:

  Directive: pe-list=0,4
  Valid directives: slot,hwthread,core,l1cache,l2cache,l3cache,numa,package,node,seq,dist,ppr,rankfile

Please check for a typo or ensure that the directive is a supported one.


$ mpirun -n 2 --map-by :pe-list=0,4 osu_latency
The map-by directive contains an unrecognized qualifier:

  Qualifier: 4
  Valid qualifiers: pe=,span,oversubscribe,nooversubscribe,nolocal,hwtcpus,corecpus,device=,inherit,noinherit,pe-list=,file=,donotlaunch

Please check for a typo or ensure that the qualifier is a supported one.


$ mpirun -n 2 --map-by core:pe-list=0,4 osu_latency
The map-by directive contains an unrecognized qualifier:

  Qualifier: 4
  Valid qualifiers: pe=,span,oversubscribe,nooversubscribe,nolocal,hwtcpus,corecpus,device=,inherit,noinherit,pe-list=,file=,donotlaunch

Please check for a typo or ensure that the qualifier is a supported one.


$ mpirun -n 3 --map-by core:pe-list=0,4,8 osu_latency
The map-by directive contains an unrecognized qualifier:

  Qualifier: 4
  Valid qualifiers: pe=,span,oversubscribe,nooversubscribe,nolocal,hwtcpus,corecpus,device=,inherit,noinherit,pe-list=,file=,donotlaunch

Please check for a typo or ensure that the qualifier is a supported one.


$ mpirun -n 2 --map-by :pe-list=0,4 --bind-to cpu-list:ordered osu_latency
The map-by directive contains an unrecognized qualifier:

  Qualifier: 4
  Valid qualifiers: pe=,span,oversubscribe,nooversubscribe,nolocal,hwtcpus,corecpus,device=,inherit,noinherit,pe-list=,file=,donotlaunch

Please check for a typo or ensure that the qualifier is a supported one.


$ mpirun -n 2 --bind-to cpu-list:ordered osu_latency
The specified bind-to directive is not recognized:

  Directive: cpu-list:ordered
  Valid directives: none,hwthread,core,l1cache,l2cache,l3cache,numa,package

Please check for a typo or ensure that the directive is a supported one.

I assume that in such matters the information from mpirun's usage is generally considered more up-to-date than the (v5.0.x) man page?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions