[petsc-users] Solutions different after program restart
Ataollah Mesgarnejad
amesga1 at tigers.lsu.edu
Sun Jun 3 11:20:31 CDT 2012
Dear Bojan,
I'm not sure if this relates to your problem but I had a similar situation: I use KSPSetInitialGuessNonzero with GMRES. Setting DIFFERENT_NONZERO_PATTERN in KSPSetOperators solved my problem.
Best,
Ata;
On Jun 3, 2012, at 10:28 AM, Jed Brown wrote:
> On Sun, Jun 3, 2012 at 10:20 AM, Niceno Bojan <bojan.niceno at psi.ch> wrote:
> I will need some time with -ksp_view_binary.
>
> The file being created (called "binaryoutput") seems to grow as simulation time steps go by. It seems to me that all systems solved during a run are stored in the same file. I am struggling to understand how to pick the one I want to reproduce in ex10.
>
> Yeah, you can either call MatView() and VecView() yourself or you can use PetscOptionsSetValue("-ksp_view_binary", "1") before the solve. You can also load the whole sequence in Matlab.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120603/6fc3f050/attachment.html>
More information about the petsc-users
mailing list