[petsc-dev] problem in MatMerge_Seq

Hong Zhang hzhang at mcs.anl.gov
Fri Mar 2 20:07:36 CST 2012


I'll check it. There are other routines need this fix. On my 'todo' list :-(

BTW, there are progress along hierarchical ksp work. I like to show it to
you
and get your suggestions. Call me next week when you come to the lab.

Hong

On Fri, Mar 2, 2012 at 4:54 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>  Hong,
>
>  MatMerge_Seq() is not doing preallocation nor setting the flag that
> allows improper preallocation
>
> -*- mode: compilation; default-directory:
> "/Users/barrysmith/Src/petsc-dev/src/mat/examples/tests/" -*-
> Compilation started at Fri Mar  2 16:52:06
>
> make PETSC_DIR=/Users/barrysmith/Src/petsc-dev PETSC_ARCH=arch-gnu runex95
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Argument out of range!
> [0]PETSC ERROR: New nonzero at (0,0) caused a malloc!
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Petsc Development HG revision:
> d35fa29f81218e6e5376faf87f3925c16b47cb76  HG Date: Thu Mar 01 19:13:43 2012
> -0600
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: ./ex95 on a arch-gnu named
> anlextwls003-010.wl.anl-external.org by barrysmith Fri Mar  2 16:52:06
> 2012
> [0]PETSC ERROR: Libraries linked from
> /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
> [0]PETSC ERROR: Configure run at Thu Mar  1 20:56:05 2012
> [0]PETSC ERROR: Configure options --download-blacs --download-fftw
> --download-hypre --download-metis --download-mpich --download-mumps
> --download-parmetis --download-ptscotch --download-scalapack
> --download-superlu --download-superlu_dist --download-yaml
> --with-shared-libraries PETSC_ARCH=arch-gnu
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: MatSetValues_MPIAIJ() line 506 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [0]PETSC ERROR: [1]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [1]PETSC ERROR: Argument out of range!
> [1]PETSC ERROR: New nonzero at (0,0) caused a malloc!
> [1]PETSC ERROR:
> ------------------------------------------------------------------------
> [1]PETSC ERROR: Petsc Development HG revision:
> d35fa29f81218e6e5376faf87f3925c16b47cb76  HG Date: Thu Mar 01 19:13:43 2012
> -0600
> [1]PETSC ERROR: See docs/changes/index.html for recent updates.
> [1]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [1]PETSC ERROR: See docs/index.html for manual pages.
> [1]PETSC ERROR:
> ------------------------------------------------------------------------
> [1]PETSC ERROR: ./ex95 on a arch-gnu named
> anlextwls003-010.wl.anl-external.org by barrysmith Fri Mar  2 16:52:06
> 2012
> [1]PETSC ERROR: Libraries linked from
> /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
> [1]PETSC ERROR: Configure run at Thu Mar  1 20:56:05 2012
> [1]PETSC ERROR: Configure options --download-blacs --download-fftw
> --download-hypre --download-metis --download-mpich --download-mumps
> --download-parmetis --download-ptscotch --download-scalapack
> --download-superlu --download-superlu_dist --download-yaml
> --with-shared-libraries PETSC_ARCH=arch-gnu
> [1]PETSC ERROR:
> ------------------------------------------------------------------------
> [1]PETSC ERROR: MatSetValues_MPIAIJ() line 506 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [1]PETSC ERROR: MatSetValues() line 1141 in
> /Users/barrysmith/Src/petsc-dev/src/mat/interface/matrix.c
> [1]PETSC ERROR: MatMerge_SeqsToMPINumeric() line 4548 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [1]PETSC ERROR: MatMerge_SeqsToMPI() line 4848 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [1]PETSC ERROR: main() line 41 in src/mat/examples/tests/ex95.c
> application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1
> [cli_1]: aborting job:
> application called MPI_Abort(MPI_COMM_WORLD, 63) - process 1
> [2]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [2]PETSC ERROR: Argument out of range!
> [2]PETSC ERROR: New nonzero at (0,0) caused a malloc!
> [2]PETSC ERROR:
> ------------------------------------------------------------------------
> [2]PETSC ERROR: Petsc Development HG revision:
> d35fa29f81218e6e5376faf87f3925c16b47cb76  HG Date: Thu Mar 01 19:13:43 2012
> -0600
> [2]PETSC ERROR: See docs/changes/index.html for recent updates.
> [2]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [2]PETSC ERROR: See docs/index.html for manual pages.
> [2]PETSC ERROR:
> ------------------------------------------------------------------------
> [2]PETSC ERROR: ./ex95 on a arch-gnu named
> anlextwls003-010.wl.anl-external.org by barrysmith Fri Mar  2 16:52:06
> 2012
> [2]PETSC ERROR: Libraries linked from
> /Users/barrysmith/Src/petsc-dev/arch-gnu/lib
> [2]PETSC ERROR: Configure run at Thu Mar  1 20:56:05 2012
> [2]PETSC ERROR: Configure options --download-blacs --download-fftw
> --download-hypre --download-metis --download-mpich --download-mumps
> --download-parmetis --download-ptscotch --download-scalapack
> --download-superlu --download-superlu_dist --download-yaml
> --with-shared-libraries PETSC_ARCH=arch-gnu
> [2]PETSC ERROR:
> ------------------------------------------------------------------------
> [2]PETSC ERROR: MatSetValues_MPIAIJ() line 506 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [2]PETSC ERROR: MatSetValues() line 1141 in
> /Users/barrysmith/Src/petsc-dev/src/mat/interface/matrix.c
> [2]PETSC ERROR: MatMerge_SeqsToMPINumeric() line 4548 in
> /Users/barrysmith/Src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
> [2]PETSC ERROR: MatMerge_Seq
> Compilation finished at Fri Mar  2 16:52:06
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120302/dee32193/attachment.html>


More information about the petsc-dev mailing list