Rate This Document
Findability
Accuracy
Completeness
Readability

rank

Command Function

Displays information about a single rank or all ranks and sets the debugging scope.

Syntax

Set the debugging scope to global debugging:

1
rank all [-h | --help]

Displaying information about a single rank:

rank info [-h | --help] {RANK_ID}

Displaying information about all ranks:

1
rank list [-h | --help]

Setting the debugging scope:

rank set [-h | --help] {RANK_ID}
  • The rank command can be abbreviated as r, for example, r info 0.
  • The RANK_ID parameter is mandatory and must be a natural number. For example, if you use -np to set the number of ranks to N, the RANK_ID value ranges from 0 to N-1.

Example

Display the information about rank functions:

1
rank -h

Command output:

1
2
3
4
5
6
7
The most commonly used rank(r) sub commands are:
   all                 Change the workspace to global.
   list                Displays all ranks.
   info                Displays the specified rank.
   set                 Specifies the currently operated rank.

 See 'rank(r) COMMAND -h/--help' for more information on a specific command.