1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
SUBROUTINE PXERBLA( ICTXT, SRNAME, INFO )
*
* -- ScaLAPACK auxiliary routine (version 1.0) --
* University of Tennessee, Knoxville, Oak Ridge National Laboratory,
* and University of California, Berkeley.
* March 20, 1995
*
* .. Scalar Arguments ..
INTEGER ICTXT, INFO
* ..
* .. Array Arguments ..
CHARACTER*(*) SRNAME
* ..
*
* Purpose
* =======
*
* PXERBLA is an error handler for the ScaLAPACK routines. It is called
* by a ScaLAPACK routine if an input parameter has an invalid value.
* A message is printed. Installers may consider modifying this routine
* in order to call system-specific exception-handling facilities.
*
* Arguments
* =========
*
* ICTXT (global input) INTEGER
* The BLACS context handle, indicating the global context of
* the operation. The context itself is global.
*
* SRNAME (global input) CHARACTER*(*)
* The name of the routine which called PXERBLA.
*
* INFO (global input) INTEGER
* The position of the invalid parameter in the parameter list
* of the calling routine.
*
* =====================================================================
*
* .. Local Scalars ..
INTEGER MYCOL, MYROW, NPCOL, NPROW
* ..
* .. External Subroutines ..
EXTERNAL BLACS_GRIDINFO
* ..
* .. Executable Statements ..
*
CALL BLACS_GRIDINFO( ICTXT, NPROW, NPCOL, MYROW, MYCOL )
*
WRITE( *, FMT = 9999 ) MYROW, MYCOL, SRNAME, INFO
*
9999 FORMAT( '{', I5, ',', I5, '}: On entry to ', A,
$ ' parameter number', I4, ' had an illegal value' )
*
* End of PXERBLA
*
END
|