[petsc-users] PETSc 3.2 gmres error
Jed Brown
jedbrown at mcs.anl.gov
Sat Sep 10 06:38:02 CDT 2011
On Sat, Sep 10, 2011 at 13:09, Tabrez Ali <stali at geology.wisc.edu> wrote:
> Hello
>
> I am running an application using PETSc 3.2 RC on a poor mans cluster at my
> home (for testing only) which has two nodes running different versions of
> Debian (they also have different versions of gcc/gfortran) but have the same
> MPICH2 1.4 and PETSc 3.2 installed on them.
>
> Also they do not share the same file system but I make sure that input
> file/executable paths are exactly same on both machines. After compiling the
> code separately on the two nodes I launch the parallel program from node 1
> using mpiexec -f hosts -n 2 .... (hydra process manager).
>
> With PETSc 3.1 the application runs fine, both with CG and GMRES and
> correct output is generated on both nodes.
>
> With PETSc 3.2 the application runs fine with CG.
>
> But whenever I use GMRES in 3.2 I get an error (listed below) during
> KSPSolve.
Can you reproduce this with any of the examples? For example
cd src/ksp/ksp/examples/tutorials
make ex2
mpiexec -f hosts -n 2 ./ex2 -ksp_type gmres
or, to use your matrix, run (any version that works, including 3.1) with
-ksp_view_binary and then
cd src/ksp/ksp/examples/tutorials
make ex10
mpiexec -f hosts -n 2 ./ex10 -f binaryoutput -ksp_type gmres
If these work, there might be memory corruption somewhere in your code
causing this.
You can also run with -start_in_debugger and check what is in the "alpha"
array on each process.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110910/425a6eed/attachment-0001.htm>
More information about the petsc-users
mailing list