<span dir="ltr" id=":1yf">Hi everyone, I have the same problem and I don't know how to fix it.</span><br><br><span dir="ltr" id=":1yf">I need to multiply two mpi dense matrices using the BLAS3 routines. I have tried the MatMatMult_MPIDense_MPIDense() function but the console shows this message:</span><br>
<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br>[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br>
[0]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC</a> ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on linux or man libgmalloc on Apple to find memory corruption errors<br>
[0]PETSC ERROR: likely location of problem given in stack below<br>[0]PETSC ERROR: --------------------- Stack Frames ------------------------------------<br>[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,<br>
[0]PETSC ERROR: INSTEAD the line number of the start of the function<br>[0]PETSC ERROR: is given.<br>[0]PETSC ERROR: [0] MatMPIDenseCopyToPlapack line 1028 src/mat/impls/dense/mpi/mpidense.c<br>[0]PETSC ERROR: [0] MatMatMultNumeric_MPIDense_MPIDense line 1078 src/mat/impls/dense/mpi/mpidense.c<br>
[0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>[0]PETSC ERROR: Signal received!<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 8, Fri Aug 21 14:02:12 CDT 2009<br>
[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[0]PETSC ERROR: See docs/index.html for manual pages.<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./mult on a linux-gnu named hpcin08 by hpcin Thu Sep 17 14:28:28 2009<br>[0]PETSC ERROR: Libraries linked from /home/hpcin/soft/petsc-3.0.0-p8/linux-gnu-c-debug/lib<br>[0]PETSC ERROR: Configure run at Wed Sep 16 17:06:08 2009<br>
[0]PETSC ERROR: Configure options --download-f-blas-lapack=1 --download-plapack --with-mpi-dir=/usr/local/bin/mpich2-1.1.1p1 --with-scalar-type=real --with-precision=double --with-shared=0<br>[0]PETSC ERROR: --------------------------[1]PETSC ERROR: ------------------------------------------------------------------------<br>
[1]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range<br>[1]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger<br>[1]PETSC ERROR: or see <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[1]PETSC</a> ERROR: or try <a href="http://valgrind.org">http://valgrind.org</a> on linux or man libgmalloc on Apple to find memory corruption errors<br>
[1]PETSC ERROR: likely location of problem given in stack below<br>[1]PETSC ERROR: --------------------- Stack Frames ------------------------------------<br>[1]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,<br>
[1]PETSC ERROR: INSTEAD the line number of the start of the function<br>[1]PETSC ERROR: is given.<br>[1]PETSC ERROR: [1] MatMPIDenseCopyToPlapack line 1028 src/mat/impls/dense/mpi/mpidense.c<br>[1]PETSC ERROR: [1] MatMatMultNumeric_MPIDense_MPIDense line 1078 src/mat/impls/dense/mpi/mpidense.c<br>
[1]PETSC ERR----------------------------------------------<br>[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file<br>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0<br>OR: --------------------- Error Message ------------------------------------<br>
[1]PETSC ERROR: Signal received!<br>[1]PETSC ERROR: ------------------------------------------------------------------------<br>[1]PETSC ERROR: Petsc Release Version 3.0.0, Patch 8, Fri Aug 21 14:02:12 CDT 2009<br>[1]PETSC ERROR: See docs/changes/index.html for recent updates.<br>
[1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[1]PETSC ERROR: See docs/index.html for manual pages.<br>[1]PETSC ERROR: ------------------------------------------------------------------------<br>[1]PETSC ERROR: ./mult on a linux-gnu named hpcin-desktop by hpcin Thu Sep 17 14:28:27 2009<br>
[1]PETSC ERROR: Libraries linked from /home/hpcin/soft/petsc-3.0.0-p8/linux-gnu-c-debug/lib<br>[1]PETSC ERROR: Configure run at Tue Sep 15 15:57:39 2009<br>[1]PETSC ERROR: Configure options --download-plapack=1 --download-f-blas-lapack=1 --with-mpi-dir=/usr/local/bin/mpich2-1.1.1p1 --with-scalar-type=real --with-precision=double --with-shared=0<br>
[1]PETSC ERROR: ------------------------------------------------------------------------<br>[1]PETSC ERROR: User provided function() line 0 in unknown directory unknown file<br>application called MPI_Abort(MPI_COMM_WORLD, 59) - process 1<br>
rank 1 in job 1 hpcin08_34697 caused collective abort of all ranks<br> exit status of rank 1: return code 59 <br>rank 0 in job 1 hpcin08_34697 caused collective abort of all ranks<br> exit status of rank 0: return code 59<br>
<br><br><span dir="ltr" id=":1yf"> I tried to execute the ex123.c example and I did not succeeded</span> to.<br><br>Regards<br><br>-- <br>Fábio Leite Soares<br>Undergraduate Student of Computing Engineering<br>Centro de Informática - UFPE - BRAZIL<br>