SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ ibtspcoord()

subroutine ibtspcoord ( character*1  scope,
integer  pnum,
integer  myrow,
integer  mycol,
integer  npcol,
integer  prow,
integer  pcol 
)

Definition at line 14848 of file blacstest.f.

14850 CHARACTER*1 SCOPE
14851 INTEGER PNUM, MYROW, MYCOL, NPCOL, PROW, PCOL
14852*
14853 IF( scope .EQ. 'R' ) THEN
14854 prow = myrow
14855 pcol = pnum
14856 ELSE IF( scope .EQ. 'C' ) THEN
14857 prow = pnum
14858 pcol = mycol
14859 ELSE
14860 prow = pnum / npcol
14861 pcol = mod( pnum, npcol )
14862 END IF
14863 RETURN
14864*
14865* End of ibtspcoord
14866*
subroutine ibtspcoord(scope, pnum, myrow, mycol, npcol, prow, pcol)
Here is the caller graph for this function: