src/ksp/ksp/examples/tutorials/ex10.c On Fri, Jun 15, 2012 at 8:20 AM, Dave Nystrom <dnystrom1 at comcast.net> wrote:
> Jed Brown writes: > > On Sun, Jun 10, 2012 at 10:07 AM, Dave Nystrom <dnystrom1 at comcast.net > >wrote: > > > > > Is there an easy way to dump a matrix and rhs in petsc? I have a > > > particular > > > system that has been challenging to solve with petsc other than using > > > direct > > > solves. Also, if I could dump the linear system, is it acceptable to > post > > > it > > > on this email list so that someone who knows more about petsc and > linear > > > solvers could investigate it if they had the time and inclination? > > > > > > > Run with -ksp_view_binary (it produces a file called 'binaryoutput') > > > > Don't email large files to the list. You can send up to a few MB to > > petsc-maint. If you can't host larger files yourself, anonymous ftp to > > ftp.mcs.anl.gov, cd incoming, and upload the file (preferably with a > unique > > name), then tell us the file name. > > Once I have my 'binaryoutput' file, is there a petsc example that shows how > to read this file back into petsc and use it? I'm not finding online > documentation about this option. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120615/1f24d878/attachment.html>
