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

◆ pdlamch()

double precision function pdlamch ( integer  ictxt,
character*1  cmach 
)

Definition at line 7455 of file pzblastst.f.

7456*
7457* -- PBLAS test routine (version 2.0) --
7458* University of Tennessee, Knoxville, Oak Ridge National Laboratory,
7459* and University of California, Berkeley.
7460* April 1, 1998
7461*
7462* .. Scalar Arguments ..
7463 CHARACTER*1 CMACH
7464 INTEGER ICTXT
7465* ..
7466*
7467* Purpose
7468* =======
7469*
7470*
7471* .. Local Scalars ..
7472 CHARACTER*1 TOP
7473 INTEGER IDUMM
7474 DOUBLE PRECISION TEMP
7475* ..
7476* .. External Subroutines ..
7477 EXTERNAL dgamn2d, dgamx2d, pb_topget
7478* ..
7479* .. External Functions ..
7480 LOGICAL LSAME
7481 DOUBLE PRECISION DLAMCH
7482 EXTERNAL dlamch, lsame
7483* ..
7484* .. Executable Statements ..
7485*
7486 temp = dlamch( cmach )
7487*
7488 IF( lsame( cmach, 'E' ).OR.lsame( cmach, 'S' ).OR.
7489 $ lsame( cmach, 'M' ).OR.lsame( cmach, 'U' ) ) THEN
7490 CALL pb_topget( ictxt, 'Combine', 'All', top )
7491 idumm = 0
7492 CALL dgamx2d( ictxt, 'All', top, 1, 1, temp, 1, idumm,
7493 $ idumm, -1, -1, idumm )
7494 ELSE IF( lsame( cmach, 'L' ).OR.lsame( cmach, 'O' ) ) THEN
7495 CALL pb_topget( ictxt, 'Combine', 'All', top )
7496 idumm = 0
7497 CALL dgamn2d( ictxt, 'All', top, 1, 1, temp, 1, idumm,
7498 $ idumm, -1, -1, idumm )
7499 END IF
7500*
7501 pdlamch = temp
7502*
7503 RETURN
7504*
7505* End of PDLAMCH
7506*
double precision function pdlamch(ictxt, cmach)
Definition pdblastst.f:6769
logical function lsame(ca, cb)
Definition tools.f:1724
double precision function dlamch(cmach)
Definition tools.f:10
Here is the call graph for this function: