[petsc-users] KSPsolver

Jed Brown jedbrown at mcs.anl.gov
Tue Apr 16 13:29:34 CDT 2013


"Jin, Shuangshuang" <Shuangshuang.Jin at pnnl.gov> writes:

> Hello, everyone, I'm trying to run the following example:
> http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex12.c.html
>
> It is said that this example solves a linear system in parallel with
> KSP.
>
> However, when I ran it on my clusters, I always got the same copy
> running multiple times. I printed the Istart and Iend numbers right
> after the MatGetOwnershipRange, and noticed that the index on each
> processor are all the same, which is [0, 56].

Your mpiexec does not match the MPI library you compiled with.


More information about the petsc-users mailing list