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

◆ dbteps()

double precision function dbteps

Definition at line 13135 of file blacstest.f.

13136*
13137* .. External Functions ..
13138 INTEGER IBTMYPROC, IBTNPROCS, IBTMSGID
13139 DOUBLE PRECISION DLAMCH
13141* ..
13142* .. Local Scalars ..
13143 INTEGER I, IAM, NNODES
13144 DOUBLE PRECISION EPS, EPS2
13145 SAVE eps
13146 DATA eps /-22.0d0/
13147* ..
13148* .. Executable Statements ..
13149*
13150* First time called, must get max epsilon possessed by any
13151* participating process
13152*
13153 IF( eps .EQ. -22.0d0 ) THEN
13154 iam = ibtmyproc()
13155 nnodes = ibtnprocs()
13156 eps = dlamch('epsilon')
13157 IF( iam .EQ. 0 ) THEN
13158 IF( nnodes .GT. 1 ) THEN
13159 DO 10 i = 1, nnodes-1
13160 CALL btrecv( 6, 1, eps2, i, ibtmsgid()+20 )
13161 IF( eps .LT. eps2 ) eps = eps2
13162 10 CONTINUE
13163 END IF
13164 CALL btsend( 6, 1, eps, -1, ibtmsgid()+20 )
13165 ELSE
13166 CALL btsend( 6, 1, eps, 0, ibtmsgid()+20 )
13167 CALL btrecv( 6, 1, eps, 0, ibtmsgid()+20 )
13168 ENDIF
13169 END IF
13170 dbteps = eps
13171 RETURN
13172*
13173* End DBTEPS
13174*
double precision function dbteps()
integer function ibtmsgid()
Definition blacstest.f:1361
subroutine btrecv(dtype, n, buff, src, msgid)
Definition btprim.f:207
integer function ibtnprocs()
Definition btprim.f:81
integer function ibtmyproc()
Definition btprim.f:47
subroutine btsend(dtype, n, buff, dest, msgid)
Definition btprim.f:115
double precision function dlamch(cmach)
Definition tools.f:10
Here is the call graph for this function:
Here is the caller graph for this function: