[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non repeatability issue
- To: petsc-users@xxxxxxxxxxx
- Subject: Re: Non repeatability issue
- From: "Matthew Knepley" <knepley@xxxxxxxxx>
- Date: Tue, 18 Mar 2008 08:00:40 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Lekox+rR5otvZ8Ir8IEcrsKn7cKqJNEiOrD/aHjEekM=; b=HpPBKYMo3eXU0rxgZOJn78Ah+vHM77dq8DtZWccTk6Auwl8vubNDCv9gfUM21MxiIdONzF69kS5BOkU1fyrhtd3E3AY4NcKhZKPlRYZmlK/E6En4JWLiHhrBXK2FYig3qeY+dWinnIcySOD+r6GzYXWB4x31RLwEoAEVt5BYyuQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ISQ+zfn+weT1koRhtE1N77+/UkEiqO568Oq+qDEA8RGLCdIDpFO6JHGsFGVSeUnY6cl7LQUW3eIuVE00r6y/m8jUct6Z5F2xUO+5i0EoSmgAy55TZ//ia9dY+ILjWe2zULabnb23QJd+pIyaUljwDOKQGXUNr0a3lXx0oH+pPYc=
- In-reply-to: <47DFA037.7030707@unibas.it>
- References: <4715D89B.8070005@unibas.it> <47D6B3E1.5070606@unibas.it> <9D646B5A-2D5C-4492-82AF-8E732AF848BD@mcs.anl.gov> <47DFA037.7030707@unibas.it>
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
To me this looks like
1) You have way too many Newton steps. Newton is quadratically
convergent, so if
you have 100+ steps, it means you are very very far from the
solution when you
begin. In this region, Newton is a really bad algorithm and can
be very very
sensitive to perturbations. I would never expect it to be
reproducible. From the
well-known fracint demo, it can be chaotic.
2) I would also question whether the system is actually stable.
Instability can result
in occasional divergence based upon small perturbations.
Thus, I am not sure you are asking the correct question with this
solve. I don't think
reproducible Newton over 100s of steps makes sense theoretically. Maybe Barry
thinks differently.
Matt
On Tue, Mar 18, 2008 at 5:57 AM, Aldo Bonfiglioli
<aldo.bonfiglioli@xxxxxxxxx> wrote:
> >
> > 1) Have you made runs where you require, say -ksp_rtol 1.e-12 to
> > eliminate the effects of
> > not solving the linear systems accurately?
>
>
> I have performed two runs with ksp_rtol = 1.e-12. The relevant plots are
> enclosed
> where comparisons are made with PETSc's default for ksp_rtol.
> In one of these two runs Newton even diverges.
> It should however be mentioned that
> at least for some Newton steps, the linear solver does not meet the
> convergence criterion in 2000 linear iterations (I reduced the default).
>
> > I have added the argument -vecscatter_reproduce
> > that will cause the receives to always be processed in the same order
> > (though order or
> > operations in the MPI reductions may still result in slightly
> > different convergence histories.)
> >
> > Hope this helps clear things up,
>
> I am not sure "-vecscatter_reproduce " has changed the situation much.
> Out of 4 subsequent runs, 2 converge
> while 2 enter a limit cycle I had not seen previously
> (I mean without the -vecscatter_reproduce option).
> The initial solution is the same as that shown in the other plot.
>
> Aldo
>
> --
> Dr. Aldo Bonfiglioli
> Dip.to di Ingegneria e Fisica dell'Ambiente (DIFA)
> Universita' della Basilicata
> V.le dell'Ateneo lucano, 10 85100 Potenza ITALY
> tel:+39.0971.205203 fax:+39.0971.205160
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener