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

◆ pslamch()

real function pslamch ( integer  ictxt,
character*1  cmach 
)

Definition at line 7454 of file pcblastst.f.

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