<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Dec 11, 2015, at 5:31 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov" class="">bsmith@mcs.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">   I believe that we compile sprng with MPI but PETSc uses sprng only as a sequential random number generator hence I believe the comment is correct and should be left.<br class=""><br class="">   Barry<br class=""><br class=""><blockquote type="cite" class="">On Dec 11, 2015, at 1:51 PM, Gideon Simpson <<a href="mailto:gideon.simpson@gmail.com" class="">gideon.simpson@gmail.com</a>> wrote:<br class=""><br class="">It seems confused.  You can compile SPRNG with/without MPI.  However, even if you compile it with MPI support, it can still be run as a serial RNG.<br class=""><br class="">-gideon<br class=""><br class=""><blockquote type="cite" class="">On Dec 11, 2015, at 2:40 PM, Hong <<a href="mailto:hzhang@mcs.anl.gov" class="">hzhang@mcs.anl.gov</a>> wrote:<br class=""><br class="">Barry :<br class=""><blockquote type="cite" class="">there is a comment:<br class=""><br class="">   This is NOT currently using a parallel random number generator. Sprng does have<br class="">   an MPI version we should investigate.<br class=""></blockquote><br class="">Shall we remove this comment? <br class="">Hong<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Dec 11, 2015, at 11:30 AM, Hong <<a href="mailto:hzhang@mcs.anl.gov" class="">hzhang@mcs.anl.gov</a>> wrote:<br class=""><br class="">Gideon:<br class="">I was looking at the source files and noticed in the comments that when petsc is built with sprng, the petsc interface isn’t to the parallel sprng RNG.  But is the package built with MPI, so that I could manually use the parallel RNG?<br class="">Petsc- sprng-1.0 interface was written many years ago.<br class="">It is for parallel computation. Students contributed an example at<br class="">petsc/src/sys/classes/random/examples/tutorials/ex2.c<br class=""><br class="">Very few users have ever used this interface.<br class="">If you encounter any problem, please report to us.<br class=""><br class="">Hong<br class=""><br class=""></blockquote><br class=""></blockquote><br class=""><br class=""></blockquote><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>