<div dir="ltr"><div>Hi,</div><div><br></div><div>I built petsc 3.7.1 and petsc4py 3.7.0 (with openmpi 1.10.2) and ran the examples in the demo directory.<br></div><div><br></div><div>$ python test_mat_ksp.py </div><div>=> runs as expected (serial)</div><div><br></div><div><div>$ mpiexec -np 2 python test_mat_ksp.py </div><div>=> fails with the following output:</div></div><div><br></div><div><div>Traceback (most recent call last):</div><div>  File "<...>/demo/kspsolve/test_mat_ksp.py", line 15, in <module></div><div>    execfile('petsc-ksp.py')</div><div>  File "<...>/demo/kspsolve/test_mat_ksp.py", line 6, in execfile</div><div>    try: exec(fh.read()+"\n", globals, locals)</div><div>  File "<string>", line 15, in <module></div><div>  File "PETSc/KSP.pyx", line 384, in petsc4py.PETSc.KSP.solve (src/petsc4py.PETSc.c:153555)</div><div>petsc4py.PETSc.Error: error code 92</div><div>[0] KSPSolve() line 599 in <...>/src/ksp/ksp/interface/itfunc.c</div><div>[0] KSPSetUp() line 390 in <...>/src/ksp/ksp/interface/itfunc.c</div><div>[0] PCSetUp() line 968 in <...>/src/ksp/pc/interface/precon.c</div><div>[0] PCSetUp_ICC() line 21 in <...>/src/ksp/pc/impls/factor/icc/icc.c</div><div>[0] MatGetFactor() line 4240 in<...>/src/mat/interface/matrix.c</div><div>[0] You cannot overwrite this option since that will conflict with other previously set options</div><div>[0] Could not locate solver package (null). Perhaps you must ./configure with --download-(null)</div></div><div><br></div><div><...><br></div><div><div>-------------------------------------------------------</div><div>Primary job  terminated normally, but 1 process returned</div><div>a non-zero exit code.. Per user-direction, the job has been aborted.</div><div>-------------------------------------------------------</div><div>--------------------------------------------------------------------------</div><div>mpirun detected that one or more processes exited with non-zero status, thus causing</div><div>the job to be terminated. The first process to do so was:</div><div><br></div><div>  Process name: [[23110,1],0]</div><div>  Exit code:    1</div><div>--------------------------------------------------------------------------</div></div><div><br></div><div><br></div><div>What have I done wrong ?</div><div><br></div><div><br></div><div><br></div></div>