# blacs_pcoord

Returns the row and column coordinates in the process grid.

## Syntax

call blacs_pcoord( icontxt, pnum, prow, pcol )

## Input Parameters

icontxt | INTEGER. Integer handle that indicates the context.
pnum | INTEGER. Process number the coordinates of which are to be determined. This parameter stand for the process number of the underlying machine, that is, it is a tid for PVM.

## Output Parameters

prow | INTEGER. Row coordinates of the pnum process in the BLACS grid.
pcol | INTEGER. Column coordinates of the pnum process in the BLACS grid.

## Description

Given the system process number, this function returns the row and column coordinates in the BLACS process grid.

## See Also

BLACS Routines Usage Example
Parent topic: Informational Routines