10537 INTEGER NFTESTS, OUTNUM, MAXERR, NERR
10538 INTEGER IERR(*), TFAILED(*)
10539 DOUBLE COMPLEX ZVAL(*)
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591 INTEGER IBTMYPROC, IBTNPROCS, IBTMSGID
10593
10594
10595 LOGICAL COUNTING
10596 INTEGER K, NERR2, IAM, NPROCS, NTESTS
10597
10598
10599
10602
10603 IF( iam .EQ. 0 ) THEN
10604
10605
10606
10607
10608 counting = nftests .GT. 0
10609 IF( counting ) THEN
10610 ntests = nftests
10611 DO 10 k = 1, ntests
10612 tfailed(k) = 0
10613 10 CONTINUE
10614 END IF
10615
10616 CALL zprinterrs(outnum, maxerr, nerr, ierr, zval, counting,
10617 $ tfailed)
10618
10619 DO 20 k = 1, nprocs-1
10622 IF( nerr2 .GT. 0 ) THEN
10623 nerr = nerr + nerr2
10626 CALL zprinterrs(outnum, maxerr, nerr2, ierr, zval,
10627 $ counting, tfailed)
10628 END IF
10629 20 CONTINUE
10630
10631
10632
10633 IF( counting ) THEN
10634 nftests = 0
10635 DO 30 k = 1, ntests
10636 nftests = nftests + tfailed(k)
10637 30 CONTINUE
10638 END IF
10639
10640
10641
10642 ELSE
10645 IF( nerr .GT. 0 ) THEN
10648 END IF
10649 ENDIF
10650
10651 RETURN
10652
10653
10654
subroutine zprinterrs(outnum, maxerr, nerr, erribuf, errdbuf, counting, tfailed)
integer function ibtmsgid()
subroutine btrecv(dtype, n, buff, src, msgid)
integer function ibtnprocs()
integer function ibtmyproc()
subroutine btsend(dtype, n, buff, dest, msgid)