<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello All,<div><br></div><div>I have created parallel matrix using MatGetOwnershipRange and MatSetValues.  Now when I want to  run the program with the command ' mpiexec -n  x ./Petsctest1' , if x <3, then the program runs just fine. But if x > 3 , then it shows me the following error message -</div><div><br></div><div><div>[0]PETSC ERROR: Caught signal number 15 Terminate: Some process (or the batch system) has told this process to end</div><div>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div><div>[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a></div><div>[0]PETSC ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on GNU/linux and Apple Mac OS X to find memory corruption errors</div><div>[0]PETSC ERROR: likely location of problem given in stack below</div><div>[0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------</div><div>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,</div><div>[0]PETSC ERROR:       INSTEAD the line number of the start of the function</div><div>[0]PETSC ERROR:       is given.</div><div>[0]PETSC ERROR: [0] PetscMemcpy line 1947 /home/maahi/petsc/include/petscsys.h</div><div>[0]PETSC ERROR: [0] MatSetValues_SeqAIJ line 427 /home/maahi/petsc/src/mat/impls/aij/seq/aij.c</div><div>[0]PETSC ERROR: [0] MatSetValues line 1316 /home/maahi/petsc/src/mat/interface/matrix.c</div></div><div><br></div><div>So depending on the number of processors I give, the error message shows up or not. Could you please shed some light on that ? </div><div><br></div><div>Regards,</div><div>Maahi Talukder</div><div>MSc Student</div><div>Clarkson University </div><div><br></div><div><br></div></div></div></div></div></div>