zerrgg.c
Go to the documentation of this file.
00001 /* zerrgg.f -- translated by f2c (version 20061008).
00002    You must link the resulting object file with libf2c:
00003         on Microsoft Windows system, link with libf2c.lib;
00004         on Linux or Unix systems, link with .../path/to/libf2c.a -lm
00005         or, if you install libf2c.a in a standard place, with -lf2c -lm
00006         -- in that order, at the end of the command line, as in
00007                 cc *.o -lf2c -lm
00008         Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
00009 
00010                 http://www.netlib.org/f2c/libf2c.zip
00011 */
00012 
00013 #include "f2c.h"
00014 #include "blaswrap.h"
00015 
00016 /* Common Block Declarations */
00017 
00018 struct {
00019     integer infot, nout;
00020     logical ok, lerr;
00021 } infoc_;
00022 
00023 #define infoc_1 infoc_
00024 
00025 struct {
00026     char srnamt[32];
00027 } srnamc_;
00028 
00029 #define srnamc_1 srnamc_
00030 
00031 /* Table of constant values */
00032 
00033 static integer c__2 = 2;
00034 static integer c__0 = 0;
00035 static integer c__1 = 1;
00036 static integer c_n1 = -1;
00037 static integer c__3 = 3;
00038 static integer c__18 = 18;
00039 static integer c__32 = 32;
00040 static logical c_true = TRUE_;
00041 static logical c_false = FALSE_;
00042 static integer c_n5 = -5;
00043 static integer c__20 = 20;
00044 static integer c__5 = 5;
00045 
00046 /* Subroutine */ int zerrgg_(char *path, integer *nunit)
00047 {
00048     /* Format strings */
00049     static char fmt_9999[] = "(1x,a3,\002 routines passed the tests of the e"
00050             "rror exits (\002,i3,\002 tests done)\002)";
00051     static char fmt_9998[] = "(\002 *** \002,a3,\002 routines failed the tes"
00052             "ts of the error \002,\002exits ***\002)";
00053 
00054     /* System generated locals */
00055     integer i__1;
00056 
00057     /* Builtin functions */
00058     integer s_wsle(cilist *), e_wsle(void);
00059     /* Subroutine */ int s_copy(char *, char *, ftnlen, ftnlen);
00060     integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void);
00061 
00062     /* Local variables */
00063     doublecomplex a[9]  /* was [3][3] */, b[9]  /* was [3][3] */;
00064     integer i__, j, m;
00065     doublecomplex q[9]  /* was [3][3] */, u[9]  /* was [3][3] */, v[9]  /* 
00066             was [3][3] */, w[18], z__[9]        /* was [3][3] */;
00067     char c2[2];
00068     doublereal r1[3], r2[3];
00069     logical bw[3];
00070     doublereal ls[3];
00071     integer iw[18], nt;
00072     doublereal rs[3], rw[18], dif, rce[3];
00073     logical sel[3];
00074     doublecomplex tau[3];
00075     doublereal rcv[3];
00076     doublecomplex beta[3];
00077     integer info, sdim;
00078     doublereal anrm, bnrm, tola, tolb;
00079     integer ifst, ilst;
00080     doublecomplex alpha[3];
00081     doublereal scale;
00082     extern /* Subroutine */ int zgges_(char *, char *, char *, L_fp, integer *
00083 , doublecomplex *, integer *, doublecomplex *, integer *, integer 
00084             *, doublecomplex *, doublecomplex *, doublecomplex *, integer *, 
00085             doublecomplex *, integer *, doublecomplex *, integer *, 
00086             doublereal *, logical *, integer *), 
00087             zggev_(char *, char *, integer *, doublecomplex *, integer *, 
00088             doublecomplex *, integer *, doublecomplex *, doublecomplex *, 
00089             doublecomplex *, integer *, doublecomplex *, integer *, 
00090             doublecomplex *, integer *, doublereal *, integer *);
00091     integer ncycle;
00092     extern logical lsamen_(integer *, char *, char *);
00093     extern /* Subroutine */ int chkxer_(char *, integer *, integer *, logical 
00094             *, logical *), zgghrd_(char *, char *, integer *, integer 
00095             *, integer *, doublecomplex *, integer *, doublecomplex *, 
00096             integer *, doublecomplex *, integer *, doublecomplex *, integer *, 
00097              integer *), zggglm_(integer *, integer *, 
00098             integer *, doublecomplex *, integer *, doublecomplex *, integer *, 
00099              doublecomplex *, doublecomplex *, doublecomplex *, doublecomplex 
00100             *, integer *, integer *), zgglse_(integer *, integer *, integer *, 
00101              doublecomplex *, integer *, doublecomplex *, integer *, 
00102             doublecomplex *, doublecomplex *, doublecomplex *, doublecomplex *
00103 , integer *, integer *), zggqrf_(integer *, integer *, integer *, 
00104             doublecomplex *, integer *, doublecomplex *, doublecomplex *, 
00105             integer *, doublecomplex *, doublecomplex *, integer *, integer *)
00106             , zggrqf_(integer *, integer *, integer *, doublecomplex *, 
00107             integer *, doublecomplex *, doublecomplex *, integer *, 
00108             doublecomplex *, doublecomplex *, integer *, integer *), ztgevc_(
00109             char *, char *, logical *, integer *, doublecomplex *, integer *, 
00110             doublecomplex *, integer *, doublecomplex *, integer *, 
00111             doublecomplex *, integer *, integer *, integer *, doublecomplex *, 
00112              doublereal *, integer *);
00113     extern logical zlctes_();
00114     extern /* Subroutine */ int zggsvd_(char *, char *, char *, integer *, 
00115             integer *, integer *, integer *, integer *, doublecomplex *, 
00116             integer *, doublecomplex *, integer *, doublereal *, doublereal *, 
00117              doublecomplex *, integer *, doublecomplex *, integer *, 
00118             doublecomplex *, integer *, doublecomplex *, doublereal *, 
00119             integer *, integer *);
00120     integer dummyk, dummyl;
00121     extern /* Subroutine */ int zggesx_(char *, char *, char *, L_fp, char *, 
00122             integer *, doublecomplex *, integer *, doublecomplex *, integer *, 
00123              integer *, doublecomplex *, doublecomplex *, doublecomplex *, 
00124             integer *, doublecomplex *, integer *, doublereal *, doublereal *, 
00125              doublecomplex *, integer *, doublereal *, integer *, integer *, 
00126             logical *, integer *), zhgeqz_(
00127             char *, char *, char *, integer *, integer *, integer *, 
00128             doublecomplex *, integer *, doublecomplex *, integer *, 
00129             doublecomplex *, doublecomplex *, doublecomplex *, integer *, 
00130             doublecomplex *, integer *, doublecomplex *, integer *, 
00131             doublereal *, integer *), zggevx_(char *, 
00132             char *, char *, char *, integer *, doublecomplex *, integer *, 
00133             doublecomplex *, integer *, doublecomplex *, doublecomplex *, 
00134             doublecomplex *, integer *, doublecomplex *, integer *, integer *, 
00135              integer *, doublereal *, doublereal *, doublereal *, doublereal *
00136 , doublereal *, doublereal *, doublecomplex *, integer *, 
00137             doublereal *, integer *, logical *, integer *), ztgexc_(logical *, logical *, integer *, 
00138             doublecomplex *, integer *, doublecomplex *, integer *, 
00139             doublecomplex *, integer *, doublecomplex *, integer *, integer *, 
00140              integer *, integer *), ztgsen_(integer *, logical *, logical *, 
00141             logical *, integer *, doublecomplex *, integer *, doublecomplex *, 
00142              integer *, doublecomplex *, doublecomplex *, doublecomplex *, 
00143             integer *, doublecomplex *, integer *, integer *, doublereal *, 
00144             doublereal *, doublereal *, doublecomplex *, integer *, integer *, 
00145              integer *, integer *), ztgsja_(char *, char *, char *, integer *, 
00146              integer *, integer *, integer *, integer *, doublecomplex *, 
00147             integer *, doublecomplex *, integer *, doublereal *, doublereal *, 
00148              doublereal *, doublereal *, doublecomplex *, integer *, 
00149             doublecomplex *, integer *, doublecomplex *, integer *, 
00150             doublecomplex *, integer *, integer *), 
00151             ztgsna_(char *, char *, logical *, integer *, doublecomplex *, 
00152             integer *, doublecomplex *, integer *, doublecomplex *, integer *, 
00153              doublecomplex *, integer *, doublereal *, doublereal *, integer *
00154 , integer *, doublecomplex *, integer *, integer *, integer *), zggsvp_(char *, char *, char *, integer *, 
00155             integer *, integer *, doublecomplex *, integer *, doublecomplex *, 
00156              integer *, doublereal *, doublereal *, integer *, integer *, 
00157             doublecomplex *, integer *, doublecomplex *, integer *, 
00158             doublecomplex *, integer *, integer *, doublereal *, 
00159             doublecomplex *, doublecomplex *, integer *);
00160     extern logical zlctsx_();
00161     extern /* Subroutine */ int ztgsyl_(char *, integer *, integer *, integer 
00162             *, doublecomplex *, integer *, doublecomplex *, integer *, 
00163             doublecomplex *, integer *, doublecomplex *, integer *, 
00164             doublecomplex *, integer *, doublecomplex *, integer *, 
00165             doublereal *, doublereal *, doublecomplex *, integer *, integer *, 
00166              integer *);
00167 
00168     /* Fortran I/O blocks */
00169     static cilist io___1 = { 0, 0, 0, 0, 0 };
00170     static cilist io___40 = { 0, 0, 0, fmt_9999, 0 };
00171     static cilist io___41 = { 0, 0, 0, fmt_9998, 0 };
00172 
00173 
00174 
00175 /*  -- LAPACK test routine (version 3.1) -- */
00176 /*     Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
00177 /*     November 2006 */
00178 
00179 /*     .. Scalar Arguments .. */
00180 /*     .. */
00181 
00182 /*  Purpose */
00183 /*  ======= */
00184 
00185 /*  ZERRGG tests the error exits for ZGGES, ZGGESX, ZGGEV, ZGGEVX, */
00186 /*  ZGGGLM, ZGGHRD, ZGGLSE, ZGGQRF, ZGGRQF, ZGGSVD, ZGGSVP, ZHGEQZ, */
00187 /*  ZTGEVC, ZTGEXC, ZTGSEN, ZTGSJA, ZTGSNA, and ZTGSYL. */
00188 
00189 /*  Arguments */
00190 /*  ========= */
00191 
00192 /*  PATH    (input) CHARACTER*3 */
00193 /*          The LAPACK path name for the routines to be tested. */
00194 
00195 /*  NUNIT   (input) INTEGER */
00196 /*          The unit number for output. */
00197 
00198 /*  ===================================================================== */
00199 
00200 /*     .. Parameters .. */
00201 /*     .. */
00202 /*     .. Local Scalars .. */
00203 /*     .. */
00204 /*     .. Local Arrays .. */
00205 /*     .. */
00206 /*     .. External Functions .. */
00207 /*     .. */
00208 /*     .. External Subroutines .. */
00209 /*     .. */
00210 /*     .. Scalars in Common .. */
00211 /*     .. */
00212 /*     .. Common blocks .. */
00213 /*     .. */
00214 /*     .. Executable Statements .. */
00215 
00216     infoc_1.nout = *nunit;
00217     io___1.ciunit = infoc_1.nout;
00218     s_wsle(&io___1);
00219     e_wsle();
00220     s_copy(c2, path + 1, (ftnlen)2, (ftnlen)2);
00221 
00222 /*     Set the variables to innocuous values. */
00223 
00224     for (j = 1; j <= 3; ++j) {
00225         sel[j - 1] = TRUE_;
00226         for (i__ = 1; i__ <= 3; ++i__) {
00227             i__1 = i__ + j * 3 - 4;
00228             a[i__1].r = 0., a[i__1].i = 0.;
00229             i__1 = i__ + j * 3 - 4;
00230             b[i__1].r = 0., b[i__1].i = 0.;
00231 /* L10: */
00232         }
00233 /* L20: */
00234     }
00235     for (i__ = 1; i__ <= 3; ++i__) {
00236         i__1 = i__ + i__ * 3 - 4;
00237         a[i__1].r = 1., a[i__1].i = 0.;
00238         i__1 = i__ + i__ * 3 - 4;
00239         b[i__1].r = 1., b[i__1].i = 0.;
00240 /* L30: */
00241     }
00242     infoc_1.ok = TRUE_;
00243     tola = 1.;
00244     tolb = 1.;
00245     ifst = 1;
00246     ilst = 1;
00247     nt = 0;
00248 
00249 /*     Test error exits for the GG path. */
00250 
00251     if (lsamen_(&c__2, c2, "GG")) {
00252 
00253 /*        ZGGHRD */
00254 
00255         s_copy(srnamc_1.srnamt, "ZGGHRD", (ftnlen)32, (ftnlen)6);
00256         infoc_1.infot = 1;
00257         zgghrd_("/", "N", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, q, &c__1, 
00258                 z__, &c__1, &info);
00259         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00260                 infoc_1.ok);
00261         infoc_1.infot = 2;
00262         zgghrd_("N", "/", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, q, &c__1, 
00263                 z__, &c__1, &info);
00264         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00265                 infoc_1.ok);
00266         infoc_1.infot = 3;
00267         zgghrd_("N", "N", &c_n1, &c__0, &c__0, a, &c__1, b, &c__1, q, &c__1, 
00268                 z__, &c__1, &info);
00269         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00270                 infoc_1.ok);
00271         infoc_1.infot = 4;
00272         zgghrd_("N", "N", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, q, &c__1, 
00273                 z__, &c__1, &info);
00274         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00275                 infoc_1.ok);
00276         infoc_1.infot = 5;
00277         zgghrd_("N", "N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, 
00278                 z__, &c__1, &info);
00279         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00280                 infoc_1.ok);
00281         infoc_1.infot = 7;
00282         zgghrd_("N", "N", &c__2, &c__1, &c__1, a, &c__1, b, &c__2, q, &c__1, 
00283                 z__, &c__1, &info);
00284         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00285                 infoc_1.ok);
00286         infoc_1.infot = 9;
00287         zgghrd_("N", "N", &c__2, &c__1, &c__1, a, &c__2, b, &c__1, q, &c__1, 
00288                 z__, &c__1, &info);
00289         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00290                 infoc_1.ok);
00291         infoc_1.infot = 11;
00292         zgghrd_("V", "N", &c__2, &c__1, &c__1, a, &c__2, b, &c__2, q, &c__1, 
00293                 z__, &c__1, &info);
00294         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00295                 infoc_1.ok);
00296         infoc_1.infot = 13;
00297         zgghrd_("N", "V", &c__2, &c__1, &c__1, a, &c__2, b, &c__2, q, &c__1, 
00298                 z__, &c__1, &info);
00299         chkxer_("ZGGHRD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00300                 infoc_1.ok);
00301         nt += 9;
00302 
00303 /*        ZHGEQZ */
00304 
00305         s_copy(srnamc_1.srnamt, "ZHGEQZ", (ftnlen)32, (ftnlen)6);
00306         infoc_1.infot = 1;
00307         zhgeqz_("/", "N", "N", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, alpha, 
00308                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00309         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00310                 infoc_1.ok);
00311         infoc_1.infot = 2;
00312         zhgeqz_("E", "/", "N", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, alpha, 
00313                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00314         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00315                 infoc_1.ok);
00316         infoc_1.infot = 3;
00317         zhgeqz_("E", "N", "/", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, alpha, 
00318                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00319         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00320                 infoc_1.ok);
00321         infoc_1.infot = 4;
00322         zhgeqz_("E", "N", "N", &c_n1, &c__0, &c__0, a, &c__1, b, &c__1, alpha, 
00323                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00324         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00325                 infoc_1.ok);
00326         infoc_1.infot = 5;
00327         zhgeqz_("E", "N", "N", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, alpha, 
00328                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00329         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00330                 infoc_1.ok);
00331         infoc_1.infot = 6;
00332         zhgeqz_("E", "N", "N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, alpha, 
00333                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00334         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00335                 infoc_1.ok);
00336         infoc_1.infot = 8;
00337         zhgeqz_("E", "N", "N", &c__2, &c__1, &c__1, a, &c__1, b, &c__2, alpha, 
00338                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00339         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00340                 infoc_1.ok);
00341         infoc_1.infot = 10;
00342         zhgeqz_("E", "N", "N", &c__2, &c__1, &c__1, a, &c__2, b, &c__1, alpha, 
00343                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00344         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00345                 infoc_1.ok);
00346         infoc_1.infot = 14;
00347         zhgeqz_("E", "V", "N", &c__2, &c__1, &c__1, a, &c__2, b, &c__2, alpha, 
00348                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00349         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00350                 infoc_1.ok);
00351         infoc_1.infot = 16;
00352         zhgeqz_("E", "N", "V", &c__2, &c__1, &c__1, a, &c__2, b, &c__2, alpha, 
00353                  beta, q, &c__1, z__, &c__1, w, &c__1, rw, &info);
00354         chkxer_("ZHGEQZ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00355                 infoc_1.ok);
00356         nt += 10;
00357 
00358 /*        ZTGEVC */
00359 
00360         s_copy(srnamc_1.srnamt, "ZTGEVC", (ftnlen)32, (ftnlen)6);
00361         infoc_1.infot = 1;
00362         ztgevc_("/", "A", sel, &c__0, a, &c__1, b, &c__1, q, &c__1, z__, &
00363                 c__1, &c__0, &m, w, rw, &info);
00364         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00365                 infoc_1.ok);
00366         infoc_1.infot = 2;
00367         ztgevc_("R", "/", sel, &c__0, a, &c__1, b, &c__1, q, &c__1, z__, &
00368                 c__1, &c__0, &m, w, rw, &info);
00369         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00370                 infoc_1.ok);
00371         infoc_1.infot = 4;
00372         ztgevc_("R", "A", sel, &c_n1, a, &c__1, b, &c__1, q, &c__1, z__, &
00373                 c__1, &c__0, &m, w, rw, &info);
00374         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00375                 infoc_1.ok);
00376         infoc_1.infot = 6;
00377         ztgevc_("R", "A", sel, &c__2, a, &c__1, b, &c__2, q, &c__1, z__, &
00378                 c__2, &c__0, &m, w, rw, &info);
00379         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00380                 infoc_1.ok);
00381         infoc_1.infot = 8;
00382         ztgevc_("R", "A", sel, &c__2, a, &c__2, b, &c__1, q, &c__1, z__, &
00383                 c__2, &c__0, &m, w, rw, &info);
00384         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00385                 infoc_1.ok);
00386         infoc_1.infot = 10;
00387         ztgevc_("L", "A", sel, &c__2, a, &c__2, b, &c__2, q, &c__1, z__, &
00388                 c__1, &c__0, &m, w, rw, &info);
00389         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00390                 infoc_1.ok);
00391         infoc_1.infot = 12;
00392         ztgevc_("R", "A", sel, &c__2, a, &c__2, b, &c__2, q, &c__1, z__, &
00393                 c__1, &c__0, &m, w, rw, &info);
00394         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00395                 infoc_1.ok);
00396         infoc_1.infot = 13;
00397         ztgevc_("R", "A", sel, &c__2, a, &c__2, b, &c__2, q, &c__1, z__, &
00398                 c__2, &c__1, &m, w, rw, &info);
00399         chkxer_("ZTGEVC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00400                 infoc_1.ok);
00401         nt += 8;
00402 
00403 /*     Test error exits for the GSV path. */
00404 
00405     } else if (lsamen_(&c__3, path, "GSV")) {
00406 
00407 /*        ZGGSVD */
00408 
00409         s_copy(srnamc_1.srnamt, "ZGGSVD", (ftnlen)32, (ftnlen)6);
00410         infoc_1.infot = 1;
00411         zggsvd_("/", "N", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00412                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00413                 iw, &info);
00414         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00415                 infoc_1.ok);
00416         infoc_1.infot = 2;
00417         zggsvd_("N", "/", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00418                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00419                 iw, &info);
00420         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00421                 infoc_1.ok);
00422         infoc_1.infot = 3;
00423         zggsvd_("N", "N", "/", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00424                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00425                 iw, &info);
00426         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00427                 infoc_1.ok);
00428         infoc_1.infot = 4;
00429         zggsvd_("N", "N", "N", &c_n1, &c__0, &c__0, &dummyk, &dummyl, a, &
00430                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00431                 iw, &info);
00432         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00433                 infoc_1.ok);
00434         infoc_1.infot = 5;
00435         zggsvd_("N", "N", "N", &c__0, &c_n1, &c__0, &dummyk, &dummyl, a, &
00436                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00437                 iw, &info);
00438         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00439                 infoc_1.ok);
00440         infoc_1.infot = 6;
00441         zggsvd_("N", "N", "N", &c__0, &c__0, &c_n1, &dummyk, &dummyl, a, &
00442                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00443                 iw, &info);
00444         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00445                 infoc_1.ok);
00446         infoc_1.infot = 10;
00447         zggsvd_("N", "N", "N", &c__2, &c__1, &c__1, &dummyk, &dummyl, a, &
00448                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00449                 iw, &info);
00450         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00451                 infoc_1.ok);
00452         infoc_1.infot = 12;
00453         zggsvd_("N", "N", "N", &c__1, &c__1, &c__2, &dummyk, &dummyl, a, &
00454                 c__1, b, &c__1, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00455                 iw, &info);
00456         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00457                 infoc_1.ok);
00458         infoc_1.infot = 16;
00459         zggsvd_("U", "N", "N", &c__2, &c__2, &c__2, &dummyk, &dummyl, a, &
00460                 c__2, b, &c__2, r1, r2, u, &c__1, v, &c__1, q, &c__1, w, rw, 
00461                 iw, &info);
00462         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00463                 infoc_1.ok);
00464         infoc_1.infot = 18;
00465         zggsvd_("N", "V", "N", &c__2, &c__2, &c__2, &dummyk, &dummyl, a, &
00466                 c__2, b, &c__2, r1, r2, u, &c__2, v, &c__1, q, &c__1, w, rw, 
00467                 iw, &info);
00468         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00469                 infoc_1.ok);
00470         infoc_1.infot = 20;
00471         zggsvd_("N", "N", "Q", &c__2, &c__2, &c__2, &dummyk, &dummyl, a, &
00472                 c__2, b, &c__2, r1, r2, u, &c__2, v, &c__2, q, &c__1, w, rw, 
00473                 iw, &info);
00474         chkxer_("ZGGSVD", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00475                 infoc_1.ok);
00476         nt += 11;
00477 
00478 /*        ZGGSVP */
00479 
00480         s_copy(srnamc_1.srnamt, "ZGGSVP", (ftnlen)32, (ftnlen)6);
00481         infoc_1.infot = 1;
00482         zggsvp_("/", "N", "N", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, &tola, 
00483                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00484                 rw, tau, w, &info);
00485         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00486                 infoc_1.ok);
00487         infoc_1.infot = 2;
00488         zggsvp_("N", "/", "N", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, &tola, 
00489                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00490                 rw, tau, w, &info);
00491         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00492                 infoc_1.ok);
00493         infoc_1.infot = 3;
00494         zggsvp_("N", "N", "/", &c__0, &c__0, &c__0, a, &c__1, b, &c__1, &tola, 
00495                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00496                 rw, tau, w, &info);
00497         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00498                 infoc_1.ok);
00499         infoc_1.infot = 4;
00500         zggsvp_("N", "N", "N", &c_n1, &c__0, &c__0, a, &c__1, b, &c__1, &tola, 
00501                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00502                 rw, tau, w, &info);
00503         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00504                 infoc_1.ok);
00505         infoc_1.infot = 5;
00506         zggsvp_("N", "N", "N", &c__0, &c_n1, &c__0, a, &c__1, b, &c__1, &tola, 
00507                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00508                 rw, tau, w, &info);
00509         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00510                 infoc_1.ok);
00511         infoc_1.infot = 6;
00512         zggsvp_("N", "N", "N", &c__0, &c__0, &c_n1, a, &c__1, b, &c__1, &tola, 
00513                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00514                 rw, tau, w, &info);
00515         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00516                 infoc_1.ok);
00517         infoc_1.infot = 8;
00518         zggsvp_("N", "N", "N", &c__2, &c__1, &c__1, a, &c__1, b, &c__1, &tola, 
00519                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00520                 rw, tau, w, &info);
00521         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00522                 infoc_1.ok);
00523         infoc_1.infot = 10;
00524         zggsvp_("N", "N", "N", &c__1, &c__2, &c__1, a, &c__1, b, &c__1, &tola, 
00525                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00526                 rw, tau, w, &info);
00527         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00528                 infoc_1.ok);
00529         infoc_1.infot = 16;
00530         zggsvp_("U", "N", "N", &c__2, &c__2, &c__2, a, &c__2, b, &c__2, &tola, 
00531                  &tolb, &dummyk, &dummyl, u, &c__1, v, &c__1, q, &c__1, iw, 
00532                 rw, tau, w, &info);
00533         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00534                 infoc_1.ok);
00535         infoc_1.infot = 18;
00536         zggsvp_("N", "V", "N", &c__2, &c__2, &c__2, a, &c__2, b, &c__2, &tola, 
00537                  &tolb, &dummyk, &dummyl, u, &c__2, v, &c__1, q, &c__1, iw, 
00538                 rw, tau, w, &info);
00539         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00540                 infoc_1.ok);
00541         infoc_1.infot = 20;
00542         zggsvp_("N", "N", "Q", &c__2, &c__2, &c__2, a, &c__2, b, &c__2, &tola, 
00543                  &tolb, &dummyk, &dummyl, u, &c__2, v, &c__2, q, &c__1, iw, 
00544                 rw, tau, w, &info);
00545         chkxer_("ZGGSVP", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00546                 infoc_1.ok);
00547         nt += 11;
00548 
00549 /*        ZTGSJA */
00550 
00551         s_copy(srnamc_1.srnamt, "ZTGSJA", (ftnlen)32, (ftnlen)6);
00552         infoc_1.infot = 1;
00553         ztgsja_("/", "N", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00554                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00555                 c__1, w, &ncycle, &info);
00556         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00557                 infoc_1.ok);
00558         infoc_1.infot = 2;
00559         ztgsja_("N", "/", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00560                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00561                 c__1, w, &ncycle, &info);
00562         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00563                 infoc_1.ok);
00564         infoc_1.infot = 3;
00565         ztgsja_("N", "N", "/", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00566                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00567                 c__1, w, &ncycle, &info);
00568         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00569                 infoc_1.ok);
00570         infoc_1.infot = 4;
00571         ztgsja_("N", "N", "N", &c_n1, &c__0, &c__0, &dummyk, &dummyl, a, &
00572                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00573                 c__1, w, &ncycle, &info);
00574         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00575                 infoc_1.ok);
00576         infoc_1.infot = 5;
00577         ztgsja_("N", "N", "N", &c__0, &c_n1, &c__0, &dummyk, &dummyl, a, &
00578                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00579                 c__1, w, &ncycle, &info);
00580         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00581                 infoc_1.ok);
00582         infoc_1.infot = 6;
00583         ztgsja_("N", "N", "N", &c__0, &c__0, &c_n1, &dummyk, &dummyl, a, &
00584                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00585                 c__1, w, &ncycle, &info);
00586         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00587                 infoc_1.ok);
00588         infoc_1.infot = 10;
00589         ztgsja_("N", "N", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00590                 c__0, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00591                 c__1, w, &ncycle, &info);
00592         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00593                 infoc_1.ok);
00594         infoc_1.infot = 12;
00595         ztgsja_("N", "N", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00596                 c__1, b, &c__0, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00597                 c__1, w, &ncycle, &info);
00598         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00599                 infoc_1.ok);
00600         infoc_1.infot = 18;
00601         ztgsja_("U", "N", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00602                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__0, v, &c__1, q, &
00603                 c__1, w, &ncycle, &info);
00604         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00605                 infoc_1.ok);
00606         infoc_1.infot = 20;
00607         ztgsja_("N", "V", "N", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00608                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__0, q, &
00609                 c__1, w, &ncycle, &info);
00610         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00611                 infoc_1.ok);
00612         infoc_1.infot = 22;
00613         ztgsja_("N", "N", "Q", &c__0, &c__0, &c__0, &dummyk, &dummyl, a, &
00614                 c__1, b, &c__1, &tola, &tolb, r1, r2, u, &c__1, v, &c__1, q, &
00615                 c__0, w, &ncycle, &info);
00616         chkxer_("ZTGSJA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00617                 infoc_1.ok);
00618         nt += 11;
00619 
00620 /*     Test error exits for the GLM path. */
00621 
00622     } else if (lsamen_(&c__3, path, "GLM")) {
00623 
00624 /*        ZGGGLM */
00625 
00626         s_copy(srnamc_1.srnamt, "ZGGGLM", (ftnlen)32, (ftnlen)6);
00627         infoc_1.infot = 1;
00628         zggglm_(&c_n1, &c__0, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00629                 &c__18, &info);
00630         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00631                 infoc_1.ok);
00632         infoc_1.infot = 2;
00633         zggglm_(&c__0, &c_n1, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00634                 &c__18, &info);
00635         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00636                 infoc_1.ok);
00637         infoc_1.infot = 2;
00638         zggglm_(&c__0, &c__1, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00639                 &c__18, &info);
00640         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00641                 infoc_1.ok);
00642         infoc_1.infot = 3;
00643         zggglm_(&c__0, &c__0, &c_n1, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00644                 &c__18, &info);
00645         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00646                 infoc_1.ok);
00647         infoc_1.infot = 3;
00648         zggglm_(&c__1, &c__0, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00649                 &c__18, &info);
00650         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00651                 infoc_1.ok);
00652         infoc_1.infot = 5;
00653         zggglm_(&c__0, &c__0, &c__0, a, &c__0, b, &c__1, tau, alpha, beta, w, 
00654                 &c__18, &info);
00655         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00656                 infoc_1.ok);
00657         infoc_1.infot = 7;
00658         zggglm_(&c__0, &c__0, &c__0, a, &c__1, b, &c__0, tau, alpha, beta, w, 
00659                 &c__18, &info);
00660         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00661                 infoc_1.ok);
00662         infoc_1.infot = 12;
00663         zggglm_(&c__1, &c__1, &c__1, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00664                 &c__1, &info);
00665         chkxer_("ZGGGLM", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00666                 infoc_1.ok);
00667         nt += 8;
00668 
00669 /*     Test error exits for the LSE path. */
00670 
00671     } else if (lsamen_(&c__3, path, "LSE")) {
00672 
00673 /*        ZGGLSE */
00674 
00675         s_copy(srnamc_1.srnamt, "ZGGLSE", (ftnlen)32, (ftnlen)6);
00676         infoc_1.infot = 1;
00677         zgglse_(&c_n1, &c__0, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00678                 &c__18, &info);
00679         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00680                 infoc_1.ok);
00681         infoc_1.infot = 2;
00682         zgglse_(&c__0, &c_n1, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00683                 &c__18, &info);
00684         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00685                 infoc_1.ok);
00686         infoc_1.infot = 3;
00687         zgglse_(&c__0, &c__0, &c_n1, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00688                 &c__18, &info);
00689         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00690                 infoc_1.ok);
00691         infoc_1.infot = 3;
00692         zgglse_(&c__0, &c__0, &c__1, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00693                 &c__18, &info);
00694         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00695                 infoc_1.ok);
00696         infoc_1.infot = 3;
00697         zgglse_(&c__0, &c__1, &c__0, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00698                 &c__18, &info);
00699         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00700                 infoc_1.ok);
00701         infoc_1.infot = 5;
00702         zgglse_(&c__0, &c__0, &c__0, a, &c__0, b, &c__1, tau, alpha, beta, w, 
00703                 &c__18, &info);
00704         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00705                 infoc_1.ok);
00706         infoc_1.infot = 7;
00707         zgglse_(&c__0, &c__0, &c__0, a, &c__1, b, &c__0, tau, alpha, beta, w, 
00708                 &c__18, &info);
00709         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00710                 infoc_1.ok);
00711         infoc_1.infot = 12;
00712         zgglse_(&c__1, &c__1, &c__1, a, &c__1, b, &c__1, tau, alpha, beta, w, 
00713                 &c__1, &info);
00714         chkxer_("ZGGLSE", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00715                 infoc_1.ok);
00716         nt += 8;
00717 
00718 /*     Test error exits for the GQR path. */
00719 
00720     } else if (lsamen_(&c__3, path, "GQR")) {
00721 
00722 /*        ZGGQRF */
00723 
00724         s_copy(srnamc_1.srnamt, "ZGGQRF", (ftnlen)32, (ftnlen)6);
00725         infoc_1.infot = 1;
00726         zggqrf_(&c_n1, &c__0, &c__0, a, &c__1, alpha, b, &c__1, beta, w, &
00727                 c__18, &info);
00728         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00729                 infoc_1.ok);
00730         infoc_1.infot = 2;
00731         zggqrf_(&c__0, &c_n1, &c__0, a, &c__1, alpha, b, &c__1, beta, w, &
00732                 c__18, &info);
00733         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00734                 infoc_1.ok);
00735         infoc_1.infot = 3;
00736         zggqrf_(&c__0, &c__0, &c_n1, a, &c__1, alpha, b, &c__1, beta, w, &
00737                 c__18, &info);
00738         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00739                 infoc_1.ok);
00740         infoc_1.infot = 5;
00741         zggqrf_(&c__0, &c__0, &c__0, a, &c__0, alpha, b, &c__1, beta, w, &
00742                 c__18, &info);
00743         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00744                 infoc_1.ok);
00745         infoc_1.infot = 8;
00746         zggqrf_(&c__0, &c__0, &c__0, a, &c__1, alpha, b, &c__0, beta, w, &
00747                 c__18, &info);
00748         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00749                 infoc_1.ok);
00750         infoc_1.infot = 11;
00751         zggqrf_(&c__1, &c__1, &c__2, a, &c__1, alpha, b, &c__1, beta, w, &
00752                 c__1, &info);
00753         chkxer_("ZGGQRF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00754                 infoc_1.ok);
00755         nt += 6;
00756 
00757 /*        ZGGRQF */
00758 
00759         s_copy(srnamc_1.srnamt, "ZGGRQF", (ftnlen)32, (ftnlen)6);
00760         infoc_1.infot = 1;
00761         zggrqf_(&c_n1, &c__0, &c__0, a, &c__1, alpha, b, &c__1, beta, w, &
00762                 c__18, &info);
00763         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00764                 infoc_1.ok);
00765         infoc_1.infot = 2;
00766         zggrqf_(&c__0, &c_n1, &c__0, a, &c__1, alpha, b, &c__1, beta, w, &
00767                 c__18, &info);
00768         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00769                 infoc_1.ok);
00770         infoc_1.infot = 3;
00771         zggrqf_(&c__0, &c__0, &c_n1, a, &c__1, alpha, b, &c__1, beta, w, &
00772                 c__18, &info);
00773         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00774                 infoc_1.ok);
00775         infoc_1.infot = 5;
00776         zggrqf_(&c__0, &c__0, &c__0, a, &c__0, alpha, b, &c__1, beta, w, &
00777                 c__18, &info);
00778         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00779                 infoc_1.ok);
00780         infoc_1.infot = 8;
00781         zggrqf_(&c__0, &c__0, &c__0, a, &c__1, alpha, b, &c__0, beta, w, &
00782                 c__18, &info);
00783         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00784                 infoc_1.ok);
00785         infoc_1.infot = 11;
00786         zggrqf_(&c__1, &c__1, &c__2, a, &c__1, alpha, b, &c__1, beta, w, &
00787                 c__1, &info);
00788         chkxer_("ZGGRQF", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00789                 infoc_1.ok);
00790         nt += 6;
00791 
00792 /*     Test error exits for the ZGS, ZGV, ZGX, and ZXV paths. */
00793 
00794     } else if (lsamen_(&c__3, path, "ZGS") || lsamen_(&
00795             c__3, path, "ZGV") || lsamen_(&c__3, path, 
00796             "ZGX") || lsamen_(&c__3, path, "ZXV")) {
00797 
00798 /*        ZGGES */
00799 
00800         s_copy(srnamc_1.srnamt, "ZGGES ", (ftnlen)32, (ftnlen)6);
00801         infoc_1.infot = 1;
00802         zgges_("/", "N", "S", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__1, &sdim, 
00803                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00804         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00805                 infoc_1.ok);
00806         infoc_1.infot = 2;
00807         zgges_("N", "/", "S", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__1, &sdim, 
00808                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00809         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00810                 infoc_1.ok);
00811         infoc_1.infot = 3;
00812         zgges_("N", "V", "/", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__1, &sdim, 
00813                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00814         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00815                 infoc_1.ok);
00816         infoc_1.infot = 5;
00817         zgges_("N", "V", "S", (L_fp)zlctes_, &c_n1, a, &c__1, b, &c__1, &sdim, 
00818                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00819         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00820                 infoc_1.ok);
00821         infoc_1.infot = 7;
00822         zgges_("N", "V", "S", (L_fp)zlctes_, &c__1, a, &c__0, b, &c__1, &sdim, 
00823                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00824         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00825                 infoc_1.ok);
00826         infoc_1.infot = 9;
00827         zgges_("N", "V", "S", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__0, &sdim, 
00828                  alpha, beta, q, &c__1, u, &c__1, w, &c__1, rw, bw, &info);
00829         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00830                 infoc_1.ok);
00831         infoc_1.infot = 14;
00832         zgges_("N", "V", "S", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__1, &sdim, 
00833                  alpha, beta, q, &c__0, u, &c__1, w, &c__1, rw, bw, &info);
00834         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00835                 infoc_1.ok);
00836         infoc_1.infot = 14;
00837         zgges_("V", "V", "S", (L_fp)zlctes_, &c__2, a, &c__2, b, &c__2, &sdim, 
00838                  alpha, beta, q, &c__1, u, &c__2, w, &c__1, rw, bw, &info);
00839         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00840                 infoc_1.ok);
00841         infoc_1.infot = 16;
00842         zgges_("N", "V", "S", (L_fp)zlctes_, &c__1, a, &c__1, b, &c__1, &sdim, 
00843                  alpha, beta, q, &c__1, u, &c__0, w, &c__1, rw, bw, &info);
00844         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00845                 infoc_1.ok);
00846         infoc_1.infot = 16;
00847         zgges_("V", "V", "S", (L_fp)zlctes_, &c__2, a, &c__2, b, &c__2, &sdim, 
00848                  alpha, beta, q, &c__2, u, &c__1, w, &c__1, rw, bw, &info);
00849         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00850                 infoc_1.ok);
00851         infoc_1.infot = 18;
00852         zgges_("V", "V", "S", (L_fp)zlctes_, &c__2, a, &c__2, b, &c__2, &sdim, 
00853                  alpha, beta, q, &c__2, u, &c__2, w, &c__1, rw, bw, &info);
00854         chkxer_("ZGGES ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00855                 infoc_1.ok);
00856         nt += 11;
00857 
00858 /*        ZGGESX */
00859 
00860         s_copy(srnamc_1.srnamt, "ZGGESX", (ftnlen)32, (ftnlen)6);
00861         infoc_1.infot = 1;
00862         zggesx_("/", "N", "S", (L_fp)zlctsx_, "N", &c__1, a, &c__1, b, &c__1, 
00863                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00864                 rw, iw, &c__1, bw, &info);
00865         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00866                 infoc_1.ok);
00867         infoc_1.infot = 2;
00868         zggesx_("N", "/", "S", (L_fp)zlctsx_, "N", &c__1, a, &c__1, b, &c__1, 
00869                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00870                 rw, iw, &c__1, bw, &info);
00871         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00872                 infoc_1.ok);
00873         infoc_1.infot = 3;
00874         zggesx_("V", "V", "/", (L_fp)zlctsx_, "N", &c__1, a, &c__1, b, &c__1, 
00875                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00876                 rw, iw, &c__1, bw, &info);
00877         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00878                 infoc_1.ok);
00879         infoc_1.infot = 5;
00880         zggesx_("V", "V", "S", (L_fp)zlctsx_, "/", &c__1, a, &c__1, b, &c__1, 
00881                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00882                 rw, iw, &c__1, bw, &info);
00883         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00884                 infoc_1.ok);
00885         infoc_1.infot = 6;
00886         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c_n1, a, &c__1, b, &c__1, 
00887                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00888                 rw, iw, &c__1, bw, &info);
00889         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00890                 infoc_1.ok);
00891         infoc_1.infot = 8;
00892         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__1, a, &c__0, b, &c__1, 
00893                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00894                 rw, iw, &c__1, bw, &info);
00895         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00896                 infoc_1.ok);
00897         infoc_1.infot = 10;
00898         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__1, a, &c__1, b, &c__0, 
00899                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00900                 rw, iw, &c__1, bw, &info);
00901         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00902                 infoc_1.ok);
00903         infoc_1.infot = 15;
00904         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__1, a, &c__1, b, &c__1, 
00905                 &sdim, alpha, beta, q, &c__0, u, &c__1, rce, rcv, w, &c__1, 
00906                 rw, iw, &c__1, bw, &info);
00907         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00908                 infoc_1.ok);
00909         infoc_1.infot = 15;
00910         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__2, a, &c__2, b, &c__2, 
00911                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__1, 
00912                 rw, iw, &c__1, bw, &info);
00913         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00914                 infoc_1.ok);
00915         infoc_1.infot = 17;
00916         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__1, a, &c__1, b, &c__1, 
00917                 &sdim, alpha, beta, q, &c__1, u, &c__0, rce, rcv, w, &c__1, 
00918                 rw, iw, &c__1, bw, &info);
00919         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00920                 infoc_1.ok);
00921         infoc_1.infot = 17;
00922         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__2, a, &c__2, b, &c__2, 
00923                 &sdim, alpha, beta, q, &c__2, u, &c__1, rce, rcv, w, &c__1, 
00924                 rw, iw, &c__1, bw, &info);
00925         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00926                 infoc_1.ok);
00927         infoc_1.infot = 21;
00928         zggesx_("V", "V", "S", (L_fp)zlctsx_, "B", &c__2, a, &c__2, b, &c__2, 
00929                 &sdim, alpha, beta, q, &c__2, u, &c__2, rce, rcv, w, &c__1, 
00930                 rw, iw, &c__1, bw, &info);
00931         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00932                 infoc_1.ok);
00933         infoc_1.infot = 24;
00934         zggesx_("V", "V", "S", (L_fp)zlctsx_, "V", &c__1, a, &c__1, b, &c__1, 
00935                 &sdim, alpha, beta, q, &c__1, u, &c__1, rce, rcv, w, &c__32, 
00936                 rw, iw, &c__0, bw, &info);
00937         chkxer_("ZGGESX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00938                 infoc_1.ok);
00939         nt += 13;
00940 
00941 /*        ZGGEV */
00942 
00943         s_copy(srnamc_1.srnamt, "ZGGEV ", (ftnlen)32, (ftnlen)6);
00944         infoc_1.infot = 1;
00945         zggev_("/", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, &c__1, u, 
00946                 &c__1, w, &c__1, rw, &info);
00947         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00948                 infoc_1.ok);
00949         infoc_1.infot = 2;
00950         zggev_("N", "/", &c__1, a, &c__1, b, &c__1, alpha, beta, q, &c__1, u, 
00951                 &c__1, w, &c__1, rw, &info);
00952         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00953                 infoc_1.ok);
00954         infoc_1.infot = 3;
00955         zggev_("V", "V", &c_n1, a, &c__1, b, &c__1, alpha, beta, q, &c__1, u, 
00956                 &c__1, w, &c__1, rw, &info);
00957         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00958                 infoc_1.ok);
00959         infoc_1.infot = 5;
00960         zggev_("V", "V", &c__1, a, &c__0, b, &c__1, alpha, beta, q, &c__1, u, 
00961                 &c__1, w, &c__1, rw, &info);
00962         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00963                 infoc_1.ok);
00964         infoc_1.infot = 7;
00965         zggev_("V", "V", &c__1, a, &c__1, b, &c__0, alpha, beta, q, &c__1, u, 
00966                 &c__1, w, &c__1, rw, &info);
00967         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00968                 infoc_1.ok);
00969         infoc_1.infot = 11;
00970         zggev_("N", "V", &c__1, a, &c__1, b, &c__1, alpha, beta, q, &c__0, u, 
00971                 &c__1, w, &c__1, rw, &info);
00972         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00973                 infoc_1.ok);
00974         infoc_1.infot = 11;
00975         zggev_("V", "V", &c__2, a, &c__2, b, &c__2, alpha, beta, q, &c__1, u, 
00976                 &c__2, w, &c__1, rw, &info);
00977         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00978                 infoc_1.ok);
00979         infoc_1.infot = 13;
00980         zggev_("V", "N", &c__2, a, &c__2, b, &c__2, alpha, beta, q, &c__2, u, 
00981                 &c__0, w, &c__1, rw, &info);
00982         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00983                 infoc_1.ok);
00984         infoc_1.infot = 13;
00985         zggev_("V", "V", &c__2, a, &c__2, b, &c__2, alpha, beta, q, &c__2, u, 
00986                 &c__1, w, &c__1, rw, &info);
00987         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00988                 infoc_1.ok);
00989         infoc_1.infot = 15;
00990         zggev_("V", "V", &c__1, a, &c__1, b, &c__1, alpha, beta, q, &c__1, u, 
00991                 &c__1, w, &c__1, rw, &info);
00992         chkxer_("ZGGEV ", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
00993                 infoc_1.ok);
00994         nt += 10;
00995 
00996 /*        ZGGEVX */
00997 
00998         s_copy(srnamc_1.srnamt, "ZGGEVX", (ftnlen)32, (ftnlen)6);
00999         infoc_1.infot = 1;
01000         zggevx_("/", "N", "N", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01001                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01002                 rcv, w, &c__1, rw, iw, bw, &info);
01003         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01004                 infoc_1.ok);
01005         infoc_1.infot = 2;
01006         zggevx_("N", "/", "N", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01007                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01008                 rcv, w, &c__1, rw, iw, bw, &info);
01009         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01010                 infoc_1.ok);
01011         infoc_1.infot = 3;
01012         zggevx_("N", "N", "/", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01013                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01014                 rcv, w, &c__1, rw, iw, bw, &info);
01015         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01016                 infoc_1.ok);
01017         infoc_1.infot = 4;
01018         zggevx_("N", "N", "N", "/", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01019                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01020                 rcv, w, &c__1, rw, iw, bw, &info);
01021         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01022                 infoc_1.ok);
01023         infoc_1.infot = 5;
01024         zggevx_("N", "N", "N", "N", &c_n1, a, &c__1, b, &c__1, alpha, beta, q, 
01025                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01026                 rcv, w, &c__1, rw, iw, bw, &info);
01027         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01028                 infoc_1.ok);
01029         infoc_1.infot = 7;
01030         zggevx_("N", "N", "N", "N", &c__1, a, &c__0, b, &c__1, alpha, beta, q, 
01031                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01032                 rcv, w, &c__1, rw, iw, bw, &info);
01033         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01034                 infoc_1.ok);
01035         infoc_1.infot = 9;
01036         zggevx_("N", "N", "N", "N", &c__1, a, &c__1, b, &c__0, alpha, beta, q, 
01037                  &c__1, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01038                 rcv, w, &c__1, rw, iw, bw, &info);
01039         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01040                 infoc_1.ok);
01041         infoc_1.infot = 13;
01042         zggevx_("N", "N", "N", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01043                  &c__0, u, &c__1, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01044                 rcv, w, &c__1, rw, iw, bw, &info);
01045         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01046                 infoc_1.ok);
01047         infoc_1.infot = 13;
01048         zggevx_("N", "V", "N", "N", &c__2, a, &c__2, b, &c__2, alpha, beta, q, 
01049                  &c__1, u, &c__2, &c__1, &c__2, ls, rs, &anrm, &bnrm, rce, 
01050                 rcv, w, &c__1, rw, iw, bw, &info);
01051         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01052                 infoc_1.ok);
01053         infoc_1.infot = 15;
01054         zggevx_("N", "N", "N", "N", &c__1, a, &c__1, b, &c__1, alpha, beta, q, 
01055                  &c__1, u, &c__0, &c__1, &c__1, ls, rs, &anrm, &bnrm, rce, 
01056                 rcv, w, &c__1, rw, iw, bw, &info);
01057         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01058                 infoc_1.ok);
01059         infoc_1.infot = 15;
01060         zggevx_("N", "N", "V", "N", &c__2, a, &c__2, b, &c__2, alpha, beta, q, 
01061                  &c__2, u, &c__1, &c__1, &c__2, ls, rs, &anrm, &bnrm, rce, 
01062                 rcv, w, &c__1, rw, iw, bw, &info);
01063         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01064                 infoc_1.ok);
01065         infoc_1.infot = 25;
01066         zggevx_("N", "N", "V", "N", &c__2, a, &c__2, b, &c__2, alpha, beta, q, 
01067                  &c__2, u, &c__2, &c__1, &c__2, ls, rs, &anrm, &bnrm, rce, 
01068                 rcv, w, &c__0, rw, iw, bw, &info);
01069         chkxer_("ZGGEVX", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01070                 infoc_1.ok);
01071         nt += 12;
01072 
01073 /*        ZTGEXC */
01074 
01075         s_copy(srnamc_1.srnamt, "ZTGEXC", (ftnlen)32, (ftnlen)6);
01076         infoc_1.infot = 3;
01077         ztgexc_(&c_true, &c_true, &c_n1, a, &c__1, b, &c__1, q, &c__1, z__, &
01078                 c__1, &ifst, &ilst, &info);
01079         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01080                 infoc_1.ok);
01081         infoc_1.infot = 5;
01082         ztgexc_(&c_true, &c_true, &c__1, a, &c__0, b, &c__1, q, &c__1, z__, &
01083                 c__1, &ifst, &ilst, &info);
01084         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01085                 infoc_1.ok);
01086         infoc_1.infot = 7;
01087         ztgexc_(&c_true, &c_true, &c__1, a, &c__1, b, &c__0, q, &c__1, z__, &
01088                 c__1, &ifst, &ilst, &info);
01089         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01090                 infoc_1.ok);
01091         infoc_1.infot = 9;
01092         ztgexc_(&c_false, &c_true, &c__1, a, &c__1, b, &c__1, q, &c__0, z__, &
01093                 c__1, &ifst, &ilst, &info);
01094         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01095                 infoc_1.ok);
01096         infoc_1.infot = 9;
01097         ztgexc_(&c_true, &c_true, &c__1, a, &c__1, b, &c__1, q, &c__0, z__, &
01098                 c__1, &ifst, &ilst, &info);
01099         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01100                 infoc_1.ok);
01101         infoc_1.infot = 11;
01102         ztgexc_(&c_true, &c_false, &c__1, a, &c__1, b, &c__1, q, &c__1, z__, &
01103                 c__0, &ifst, &ilst, &info);
01104         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01105                 infoc_1.ok);
01106         infoc_1.infot = 11;
01107         ztgexc_(&c_true, &c_true, &c__1, a, &c__1, b, &c__1, q, &c__1, z__, &
01108                 c__0, &ifst, &ilst, &info);
01109         chkxer_("ZTGEXC", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01110                 infoc_1.ok);
01111         nt += 7;
01112 
01113 /*        ZTGSEN */
01114 
01115         s_copy(srnamc_1.srnamt, "ZTGSEN", (ftnlen)32, (ftnlen)6);
01116         infoc_1.infot = 1;
01117         ztgsen_(&c_n1, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01118                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01119                 c__1, iw, &c__1, &info);
01120         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01121                 infoc_1.ok);
01122         infoc_1.infot = 5;
01123         ztgsen_(&c__1, &c_true, &c_true, sel, &c_n1, a, &c__1, b, &c__1, 
01124                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01125                 c__1, iw, &c__1, &info);
01126         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01127                 infoc_1.ok);
01128         infoc_1.infot = 7;
01129         ztgsen_(&c__1, &c_true, &c_true, sel, &c__1, a, &c__0, b, &c__1, 
01130                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01131                 c__1, iw, &c__1, &info);
01132         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01133                 infoc_1.ok);
01134         infoc_1.infot = 9;
01135         ztgsen_(&c__1, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__0, 
01136                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01137                 c__1, iw, &c__1, &info);
01138         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01139                 infoc_1.ok);
01140         infoc_1.infot = 13;
01141         ztgsen_(&c__1, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01142                 alpha, beta, q, &c__0, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01143                 c__1, iw, &c__1, &info);
01144         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01145                 infoc_1.ok);
01146         infoc_1.infot = 15;
01147         ztgsen_(&c__1, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01148                 alpha, beta, q, &c__1, z__, &c__0, &m, &tola, &tolb, rcv, w, &
01149                 c__1, iw, &c__1, &info);
01150         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01151                 infoc_1.ok);
01152         infoc_1.infot = 21;
01153         ztgsen_(&c__3, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01154                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01155                 c_n5, iw, &c__1, &info);
01156         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01157                 infoc_1.ok);
01158         infoc_1.infot = 23;
01159         ztgsen_(&c__0, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01160                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01161                 c__20, iw, &c__0, &info);
01162         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01163                 infoc_1.ok);
01164         infoc_1.infot = 23;
01165         ztgsen_(&c__1, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01166                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01167                 c__20, iw, &c__0, &info);
01168         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01169                 infoc_1.ok);
01170         infoc_1.infot = 23;
01171         ztgsen_(&c__5, &c_true, &c_true, sel, &c__1, a, &c__1, b, &c__1, 
01172                 alpha, beta, q, &c__1, z__, &c__1, &m, &tola, &tolb, rcv, w, &
01173                 c__20, iw, &c__1, &info);
01174         chkxer_("ZTGSEN", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01175                 infoc_1.ok);
01176         nt += 11;
01177 
01178 /*        ZTGSNA */
01179 
01180         s_copy(srnamc_1.srnamt, "ZTGSNA", (ftnlen)32, (ftnlen)6);
01181         infoc_1.infot = 1;
01182         ztgsna_("/", "A", sel, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &c__1, 
01183                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01184         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01185                 infoc_1.ok);
01186         infoc_1.infot = 2;
01187         ztgsna_("B", "/", sel, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &c__1, 
01188                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01189         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01190                 infoc_1.ok);
01191         infoc_1.infot = 4;
01192         ztgsna_("B", "A", sel, &c_n1, a, &c__1, b, &c__1, q, &c__1, u, &c__1, 
01193                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01194         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01195                 infoc_1.ok);
01196         infoc_1.infot = 6;
01197         ztgsna_("B", "A", sel, &c__1, a, &c__0, b, &c__1, q, &c__1, u, &c__1, 
01198                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01199         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01200                 infoc_1.ok);
01201         infoc_1.infot = 8;
01202         ztgsna_("B", "A", sel, &c__1, a, &c__1, b, &c__0, q, &c__1, u, &c__1, 
01203                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01204         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01205                 infoc_1.ok);
01206         infoc_1.infot = 10;
01207         ztgsna_("E", "A", sel, &c__1, a, &c__1, b, &c__1, q, &c__0, u, &c__1, 
01208                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01209         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01210                 infoc_1.ok);
01211         infoc_1.infot = 12;
01212         ztgsna_("E", "A", sel, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &c__0, 
01213                 r1, r2, &c__1, &m, w, &c__1, iw, &info);
01214         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01215                 infoc_1.ok);
01216         infoc_1.infot = 15;
01217         ztgsna_("E", "A", sel, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &c__1, 
01218                 r1, r2, &c__0, &m, w, &c__1, iw, &info);
01219         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01220                 infoc_1.ok);
01221         infoc_1.infot = 18;
01222         ztgsna_("E", "A", sel, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &c__1, 
01223                 r1, r2, &c__1, &m, w, &c__0, iw, &info);
01224         chkxer_("ZTGSNA", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01225                 infoc_1.ok);
01226         nt += 9;
01227 
01228 /*        ZTGSYL */
01229 
01230         s_copy(srnamc_1.srnamt, "ZTGSYL", (ftnlen)32, (ftnlen)6);
01231         infoc_1.infot = 1;
01232         ztgsyl_("/", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01233                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01234         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01235                 infoc_1.ok);
01236         infoc_1.infot = 2;
01237         ztgsyl_("N", &c_n1, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01238                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01239         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01240                 infoc_1.ok);
01241         infoc_1.infot = 3;
01242         ztgsyl_("N", &c__0, &c__0, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01243                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01244         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01245                 infoc_1.ok);
01246         infoc_1.infot = 4;
01247         ztgsyl_("N", &c__0, &c__1, &c__0, a, &c__1, b, &c__1, q, &c__1, u, &
01248                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01249         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01250                 infoc_1.ok);
01251         infoc_1.infot = 6;
01252         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__0, b, &c__1, q, &c__1, u, &
01253                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01254         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01255                 infoc_1.ok);
01256         infoc_1.infot = 8;
01257         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__1, b, &c__0, q, &c__1, u, &
01258                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01259         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01260                 infoc_1.ok);
01261         infoc_1.infot = 10;
01262         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__0, u, &
01263                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01264         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01265                 infoc_1.ok);
01266         infoc_1.infot = 12;
01267         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01268                 c__0, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01269         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01270                 infoc_1.ok);
01271         infoc_1.infot = 14;
01272         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01273                 c__1, v, &c__0, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01274         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01275                 infoc_1.ok);
01276         infoc_1.infot = 16;
01277         ztgsyl_("N", &c__0, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01278                 c__1, v, &c__1, z__, &c__0, &scale, &dif, w, &c__1, iw, &info);
01279         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01280                 infoc_1.ok);
01281         infoc_1.infot = 20;
01282         ztgsyl_("N", &c__1, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01283                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01284         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01285                 infoc_1.ok);
01286         infoc_1.infot = 20;
01287         ztgsyl_("N", &c__2, &c__1, &c__1, a, &c__1, b, &c__1, q, &c__1, u, &
01288                 c__1, v, &c__1, z__, &c__1, &scale, &dif, w, &c__1, iw, &info);
01289         chkxer_("ZTGSYL", &infoc_1.infot, &infoc_1.nout, &infoc_1.lerr, &
01290                 infoc_1.ok);
01291         nt += 12;
01292     }
01293 
01294 /*     Print a summary line. */
01295 
01296     if (infoc_1.ok) {
01297         io___40.ciunit = infoc_1.nout;
01298         s_wsfe(&io___40);
01299         do_fio(&c__1, path, (ftnlen)3);
01300         do_fio(&c__1, (char *)&nt, (ftnlen)sizeof(integer));
01301         e_wsfe();
01302     } else {
01303         io___41.ciunit = infoc_1.nout;
01304         s_wsfe(&io___41);
01305         do_fio(&c__1, path, (ftnlen)3);
01306         e_wsfe();
01307     }
01308 
01309 
01310     return 0;
01311 
01312 /*     End of ZERRGG */
01313 
01314 } /* zerrgg_ */


swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:26