7.5 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 ≤ id ≤ np - 1
-
On Return
-
-
rank
- The MPI rank associated with the PSBLAS process id.
Scope: local.
Type: required.
Intent: out.