next up previous contents
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 $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 \le id \le np-1$

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