Next: psb_wtime Wall Up: Parallel environment routines Previous: psb_get_mpicomm Get Contents

## psb_get_rank -- Get the MPI rank

    call psb_get_rank(rank, icontxt, id)

This subroutine returns the MPI rank of the PSBLAS process

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.

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