6272 INTEGER NFTESTS, OUTNUM, MAXERR, NERR
6273 INTEGER IERR(*), TFAILED(*)
6274 INTEGER IVAL(*)
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326 INTEGER IBTMYPROC, IBTNPROCS, IBTMSGID
6328
6329
6330 LOGICAL COUNTING
6331 INTEGER K, NERR2, IAM, NPROCS, NTESTS
6332
6333
6334
6337
6338 IF( iam .EQ. 0 ) THEN
6339
6340
6341
6342
6343 counting = nftests .GT. 0
6344 IF( counting ) THEN
6345 ntests = nftests
6346 DO 10 k = 1, ntests
6347 tfailed(k) = 0
6348 10 CONTINUE
6349 END IF
6350
6351 CALL iprinterrs(outnum, maxerr, nerr, ierr, ival, counting,
6352 $ tfailed)
6353
6354 DO 20 k = 1, nprocs-1
6357 IF( nerr2 .GT. 0 ) THEN
6358 nerr = nerr + nerr2
6361 CALL iprinterrs(outnum, maxerr, nerr2, ierr, ival,
6362 $ counting, tfailed)
6363 END IF
6364 20 CONTINUE
6365
6366
6367
6368 IF( counting ) THEN
6369 nftests = 0
6370 DO 30 k = 1, ntests
6371 nftests = nftests + tfailed(k)
6372 30 CONTINUE
6373 END IF
6374
6375
6376
6377 ELSE
6380 IF( nerr .GT. 0 ) THEN
6383 END IF
6384 ENDIF
6385
6386 RETURN
6387
6388
6389
subroutine iprinterrs(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)