[petsc-users] KSPsolver

Tabrez Ali stali at geology.wisc.edu
Tue Apr 16 13:43:38 CDT 2013


If you do want to keep multiple versions of MPI/Compilers/Libs etc.  
then use the environment modules package. It is a simple one time  
install that will make your life easy.



On Apr 16, 2013, at 1:29 PM, Jed Brown wrote:

> "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