00001 /* alaesm.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 /* Table of constant values */ 00017 00018 static integer c__1 = 1; 00019 00020 /* Subroutine */ int alaesm_(char *path, logical *ok, integer *nout) 00021 { 00022 /* Format strings */ 00023 static char fmt_9999[] = "(1x,a3,\002 routines passed the tests of the e" 00024 "rror exits\002)"; 00025 static char fmt_9998[] = "(\002 *** \002,a3,\002 routines failed the tes" 00026 "ts of the error \002,\002exits ***\002)"; 00027 00028 /* Builtin functions */ 00029 integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void); 00030 00031 /* Fortran I/O blocks */ 00032 static cilist io___1 = { 0, 0, 0, fmt_9999, 0 }; 00033 static cilist io___2 = { 0, 0, 0, fmt_9998, 0 }; 00034 00035 00036 00037 /* -- LAPACK test routine (version 3.1) -- */ 00038 /* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */ 00039 /* November 2006 */ 00040 00041 /* .. Scalar Arguments .. */ 00042 /* .. */ 00043 00044 /* Purpose */ 00045 /* ======= */ 00046 00047 /* ALAESM prints a summary of results from one of the -ERR- routines. */ 00048 00049 /* Arguments */ 00050 /* ========= */ 00051 00052 /* PATH (input) CHARACTER*3 */ 00053 /* The LAPACK path name. */ 00054 00055 /* OK (input) LOGICAL */ 00056 /* The flag from CHKXER that indicates whether or not the tests */ 00057 /* of error exits passed. */ 00058 00059 /* NOUT (input) INTEGER */ 00060 /* The unit number on which results are to be printed. */ 00061 /* NOUT >= 0. */ 00062 00063 /* ===================================================================== */ 00064 00065 /* .. Executable Statements .. */ 00066 00067 if (*ok) { 00068 io___1.ciunit = *nout; 00069 s_wsfe(&io___1); 00070 do_fio(&c__1, path, (ftnlen)3); 00071 e_wsfe(); 00072 } else { 00073 io___2.ciunit = *nout; 00074 s_wsfe(&io___2); 00075 do_fio(&c__1, path, (ftnlen)3); 00076 e_wsfe(); 00077 } 00078 00079 return 0; 00080 00081 /* End of ALAESM */ 00082 00083 } /* alaesm_ */