[petsc-users] Question with setting up KSP solver parameters

Åsmund Ervik asmund.ervik at ntnu.no
Mon May 5 09:24:57 CDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I would suggest also running valgrind with the additional option
"--track-origins=yes" which will show you where the uninitialized
values are coming from.

Regards,
Åsmund


On 05. mai 2014 16:03, petsc-users-request at mcs.anl.gov wrote:

> From: Song Gao <song.gao2 at mail.mcgill.ca> To: Barry Smith
> <bsmith at mcs.anl.gov> Cc: petsc-users <petsc-users at mcs.anl.gov>,
> Dario Isola <dario.isola at newmerical.com> Subject: Re: [petsc-users]
> Question with setting up KSP solver parameters. Message-ID: 
> <CAJitgPUG+pyGF6CiwAfEv8wRrf41xZB9n77ukc8QnZ5gFqC=0A at mail.gmail.com>
>
> 
Content-Type: text/plain; charset="utf-8"
> 
> Thanks for reply. What do you mean by a ?happier? state? I check
> the converged solution (the one which call kspgmressetrestart
> twice), the solution should be correct.
> 
> I run with valgrind both codes (one call kspgmressetrestart once
> and another call kspgmressetrestart twice) Both of them have the
> errors:                          what does this mean? Thank you in
> advance. ==7858== Conditional jump or move depends on uninitialised
> value(s) ==7858==    at 0xE71DFB: SearchPath (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0xE71640: mkl_cfg_file (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0xE6E068: DDOT (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x73281A: VecNorm_Seq (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x730BF4: VecNormalize (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x7BC5A8: KSPSolve_GMRES (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0xB8A06E: KSPSolve (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x7B659F: kspsolve_ (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x5EAE84: petsolv_ (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x4ECD46: flowsol_ng_ (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x507E4E: iterprc_ (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64) ==7858==
> by 0x51D1B4: solnalg_ (in 
> /home/cfd/sgao/mycodes/fensapngnew/bin/fensapMPI_LINUX64)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTZ585AAoJED+FDAHgGz19680H+wZNRjtbaBMCIAkWTaCjql3N
dwMMvBoPezDJFuVBOgBhns+no3FMBFP4lHqcZGEMJasxZSvS4pHXAgXpDZtL+amw
WLwK3mEPUMXYq/yT1AW/9HyT9fQx1738jOoKlRIaEL1SR+PfSzL8fnsi/ERpz2Tb
hs4wwPczEazRWMzyA3w8jDcWdGamcfO3fXPg6vAXMEG2TTjNUuwivV9tLEBeOy6v
GQypVm6hIvgE8fLsmTwYs3fnh8sZrw5QDV67fDnGSe3RrSc3jXbznu/j0JRtj0Rr
fRAj4S2kT/NYF07W2I7BeE1kvscgAbupmhAIpkSS8g/vBZRlKir/F7OOanYlP4k=
=XUTa
-----END PGP SIGNATURE-----


More information about the petsc-users mailing list