# psb_get_mpi_rank — Get the MPI rank

[next] [prev] [prev-tail] [tail] [up]

#### 7.5 psb_get_mpi_rank — Get the MPI rank

rank = psb_get_mpi_rank(icontxt, id)

This function returns the MPI rank of the PSBLAS process id

Type:
  Asynchronous.
On Entry
icontxt
  the communication context identifying the virtual parallel machine.
  Scope: global.
  Type: required.
  Intent: in.
  Specified as: an integer variable.
id
  Identifier of a process in the PSBLAS virtual parallel machine.
  Scope: local.
  Type: required.
  Intent: in.
  Specified as: an integer value. 0 ≤ id ≤ np - 1

On Return
Funciton value
  The MPI rank associated with the PSBLAS process id.
  Scope: local.
  Type: required.
  Intent: out.

Notes The subroutine version psb_get_rank is still available but is deprecated.

[next] [prev] [prev-tail] [front] [up]