#include "blaswrap.h" /* alasum.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the command line, as in cc *.o -lf2c -lm Source for libf2c is in /netlib/f2c/libf2c.zip, e.g., http://www.netlib.org/f2c/libf2c.zip */ #include "f2c.h" /* Table of constant values */ static integer c__1 = 1; /* Subroutine */ int alasum_(char *type__, integer *nout, integer *nfail, integer *nrun, integer *nerrs) { /* Format strings */ static char fmt_9999[] = "(1x,a3,\002: \002,i6,\002 out of \002,i6,\002 " "tests failed to pass the threshold\002)"; static char fmt_9998[] = "(/1x,\002All tests for \002,a3,\002 routines p" "assed the threshold (\002,i6,\002 tests run)\002)"; static char fmt_9997[] = "(6x,i6,\002 error messages recorded\002)"; /* Builtin functions */ integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void); /* Fortran I/O blocks */ static cilist io___1 = { 0, 0, 0, fmt_9999, 0 }; static cilist io___2 = { 0, 0, 0, fmt_9998, 0 }; static cilist io___3 = { 0, 0, 0, fmt_9997, 0 }; /* -- LAPACK test routine (version 3.1) -- Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. November 2006 Purpose ======= ALASUM prints a summary of results from one of the -CHK- routines. Arguments ========= TYPE (input) CHARACTER*3 The LAPACK path name. NOUT (input) INTEGER The unit number on which results are to be printed. NOUT >= 0. NFAIL (input) INTEGER The number of tests which did not pass the threshold ratio. NRUN (input) INTEGER The total number of tests. NERRS (input) INTEGER The number of error messages recorded. ===================================================================== */ if (*nfail > 0) { io___1.ciunit = *nout; s_wsfe(&io___1); do_fio(&c__1, type__, (ftnlen)3); do_fio(&c__1, (char *)&(*nfail), (ftnlen)sizeof(integer)); do_fio(&c__1, (char *)&(*nrun), (ftnlen)sizeof(integer)); e_wsfe(); } else { io___2.ciunit = *nout; s_wsfe(&io___2); do_fio(&c__1, type__, (ftnlen)3); do_fio(&c__1, (char *)&(*nrun), (ftnlen)sizeof(integer)); e_wsfe(); } if (*nerrs > 0) { io___3.ciunit = *nout; s_wsfe(&io___3); do_fio(&c__1, (char *)&(*nerrs), (ftnlen)sizeof(integer)); e_wsfe(); } return 0; /* End of ALASUM */ } /* alasum_ */