7.5 psb_get_mpi_rank — Get the MPI rank
rank = psb_get_mpi_rank(ctxt, id)
This function returns the MPI rank of the PSBLAS process id
-
Type:
- Asynchronous.
-
On Entry
-
-
ctxt
- 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.