7341 INTEGER NFTESTS, OUTNUM, MAXERR, NERR
7342 INTEGER IERR(*), TFAILED(*)
7343 REAL SVAL(*)
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395 INTEGER IBTMYPROC, IBTNPROCS, IBTMSGID
7397
7398
7399 LOGICAL COUNTING
7400 INTEGER K, NERR2, IAM, NPROCS, NTESTS
7401
7402
7403
7406
7407 IF( iam .EQ. 0 ) THEN
7408
7409
7410
7411
7412 counting = nftests .GT. 0
7413 IF( counting ) THEN
7414 ntests = nftests
7415 DO 10 k = 1, ntests
7416 tfailed(k) = 0
7417 10 CONTINUE
7418 END IF
7419
7420 CALL sprinterrs(outnum, maxerr, nerr, ierr, sval, counting,
7421 $ tfailed)
7422
7423 DO 20 k = 1, nprocs-1
7426 IF( nerr2 .GT. 0 ) THEN
7427 nerr = nerr + nerr2
7430 CALL sprinterrs(outnum, maxerr, nerr2, ierr, sval,
7431 $ counting, tfailed)
7432 END IF
7433 20 CONTINUE
7434
7435
7436
7437 IF( counting ) THEN
7438 nftests = 0
7439 DO 30 k = 1, ntests
7440 nftests = nftests + tfailed(k)
7441 30 CONTINUE
7442 END IF
7443
7444
7445
7446 ELSE
7449 IF( nerr .GT. 0 ) THEN
7452 END IF
7453 ENDIF
7454
7455 RETURN
7456
7457
7458
subroutine sprinterrs(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)