slasum.c
Go to the documentation of this file.
00001 /* slasum.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 slasum_(char *type__, integer *iounit, integer *ie, 
00021         integer *nrun)
00022 {
00023     /* Format strings */
00024     static char fmt_9999[] = "(1x,a3,a2,i4,a8,i5,a35)";
00025     static char fmt_9998[] = "(/1x,a14,a3,a23,i5,a11)";
00026 
00027     /* Builtin functions */
00028     integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void);
00029 
00030     /* Fortran I/O blocks */
00031     static cilist io___1 = { 0, 0, 0, fmt_9999, 0 };
00032     static cilist io___2 = { 0, 0, 0, fmt_9998, 0 };
00033 
00034 
00035 
00036 /*  -- LAPACK auxiliary test routine (version 3.1) -- */
00037 /*     Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. */
00038 /*     November 2006 */
00039 
00040 /*     .. Scalar Arguments .. */
00041 /*     .. */
00042 
00043 /*  Purpose */
00044 /*  ======= */
00045 
00046 /*  SLASUM prints a summary of the results from one of the test routines. */
00047 
00048 /*  ===================================================================== */
00049 
00050 /*     .. Executable Statements .. */
00051 
00052     if (*ie > 0) {
00053         io___1.ciunit = *iounit;
00054         s_wsfe(&io___1);
00055         do_fio(&c__1, type__, (ftnlen)3);
00056         do_fio(&c__1, ": ", (ftnlen)2);
00057         do_fio(&c__1, (char *)&(*ie), (ftnlen)sizeof(integer));
00058         do_fio(&c__1, " out of ", (ftnlen)8);
00059         do_fio(&c__1, (char *)&(*nrun), (ftnlen)sizeof(integer));
00060         do_fio(&c__1, " tests failed to pass the threshold", (ftnlen)35);
00061         e_wsfe();
00062     } else {
00063         io___2.ciunit = *iounit;
00064         s_wsfe(&io___2);
00065         do_fio(&c__1, "All tests for ", (ftnlen)14);
00066         do_fio(&c__1, type__, (ftnlen)3);
00067         do_fio(&c__1, " passed the threshold (", (ftnlen)23);
00068         do_fio(&c__1, (char *)&(*nrun), (ftnlen)sizeof(integer));
00069         do_fio(&c__1, " tests run)", (ftnlen)11);
00070         e_wsfe();
00071     }
00072     return 0;
00073 
00074 /*     End of SLASUM */
00075 
00076 } /* slasum_ */


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