[petsc-users] About creating Parallel Matrix
Maahi Talukder
maahi.buet at gmail.com
Sun Dec 2 19:11:22 CST 2018
Hello All,
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 -
[0]PETSC ERROR: Caught signal number 15 Terminate: Some process (or the
batch system) has told this process to end
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X
to find memory corruption errors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: --------------------- Stack Frames
------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR: INSTEAD the line number of the start of the function
[0]PETSC ERROR: is given.
[0]PETSC ERROR: [0] PetscMemcpy line 1947
/home/maahi/petsc/include/petscsys.h
[0]PETSC ERROR: [0] MatSetValues_SeqAIJ line 427
/home/maahi/petsc/src/mat/impls/aij/seq/aij.c
[0]PETSC ERROR: [0] MatSetValues line 1316
/home/maahi/petsc/src/mat/interface/matrix.c
So depending on the number of processors I give, the error message shows up
or not. Could you please shed some light on that ?
Regards,
Maahi Talukder
MSc Student
Clarkson University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181202/b6ab565b/attachment.html>
More information about the petsc-users
mailing list