63      INTEGER            I, INFO, ITER, J
 
   67      COMPLEX*16         A( NMAX, NMAX ), AF( NMAX, NMAX ), B( NMAX ),
 
   68     $                   C( NMAX ), R( NMAX ), R1( NMAX ), R2( NMAX ),
 
   69     $                   W( 2*NMAX ), X( NMAX )
 
   72      DOUBLE PRECISION   RWORK(1)
 
   85      COMMON             / infoc / infot, nout, ok, lerr
 
   86      COMMON             / srnamc / srnamt
 
   94      WRITE( nout, fmt = * )
 
  100            a( i, j ) = 1.d0 / dble( i+j )
 
  101            af( i, j ) = 1.d0 / dble( i+j )
 
  116      CALL zcgesv(-1,0,a,1,ip,b,1,x,1,work,swork,rwork,iter,info)
 
  117      CALL chkxer( 
'ZCGESV', infot, nout, lerr, ok )
 
  119      CALL zcgesv(0,-1,a,1,ip,b,1,x,1,work,swork,rwork,iter,info)
 
  120      CALL chkxer( 
'ZCGESV', infot, nout, lerr, ok )
 
  122      CALL zcgesv(2,1,a,1,ip,b,2,x,2,work,swork,rwork,iter,info)
 
  123      CALL chkxer( 
'ZCGESV', infot, nout, lerr, ok )
 
  125      CALL zcgesv(2,1,a,2,ip,b,1,x,2,work,swork,rwork,iter,info)
 
  126      CALL chkxer( 
'ZCGESV', infot, nout, lerr, ok )
 
  128      CALL zcgesv(2,1,a,2,ip,b,2,x,1,work,swork,rwork,iter,info)
 
  129      CALL chkxer( 
'ZCGESV', infot, nout, lerr, ok )
 
  134         WRITE( nout, fmt = 9999 )
'ZCGESV' 
  136         WRITE( nout, fmt = 9998 )
'ZCGESV' 
  139 9999 
FORMAT( 1x, a6, 
' drivers passed the tests of the error exits' )
 
  140 9998 
FORMAT( 
' *** ', a6, 
' drivers failed the tests of the error ',
 
 
subroutine zcgesv(n, nrhs, a, lda, ipiv, b, ldb, x, ldx, work, swork, rwork, iter, info)
ZCGESV computes the solution to system of linear equations A * X = B for GE matrices (mixed precision...