[petsc-dev] strangness in Chebyshev estimate of eigenvalues

Jed Brown jed at jedbrown.org
Tue May 17 14:34:31 CDT 2016


Matthew Knepley <knepley at gmail.com> writes:
> Should we just make this another Random implementation which is only for
> testing?

The problem is that we want to produce the same numbers on one process
and on many processes.  The interface doesn't really afford that because
it provides a stream of numbers.  If we know the number of entries we're
about to ask for on each process, we could do a Scan to find the
starting index and "seed" with that, where drawing a number hashes and
increments the counter.  But this is pretty contorted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160517/b2d58064/attachment.sig>


More information about the petsc-dev mailing list