1 subroutine strchk ( nrows , ncols , colstr, rowidx, nhrows,
2 $ nhcols, nsrows, rnto , cnto , colset,
18 integer nrows , ncols , nhrows, nhcols, nsrows, output
20 integer colstr (ncols+1), rowidx (*),
21 $ rnto(nrows), cnto(ncols), colset(ncols),
28 integer i, row, col, xi
36 row = rnto(nhrows + i)
37 col = cnto(nhcols + i)
41 do 200 xi = colstr(col), colstr(col+1) - 1
42 match = match .or. (rowidx(xi) .eq. row)
45 if (.not. match .or. (rowset(row) .ne. col) .or.
46 $ (colset(col) .ne. row) )
then
47 write (output, *)
' failure in matching, row, col, ',
48 $
'rowset(row), colset (col)',
49 $ row, col, rowset(row), colset(col)
subroutine strchk(nrows, ncols, colstr, rowidx, nhrows, nhcols, nsrows, rnto, cnto, colset, rowset, output)