[petsc-dev] Error with ML preconditioner

Garth N. Wells gnw20 at cam.ac.uk
Mon Feb 18 14:59:09 CST 2013


On 18 February 2013 20:56, Mark F. Adams <mark.adams at columbia.edu> wrote:
> Do you have more of a stack in the error output?
>

Below is the rest of it.

> The ML interface has had some additions to make it more consistent with blocked matrices.  Do you block all of your matrices?
>

No.

Can you give me a hint around which changesets I should test to find what broke?

Garth

>

[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: MatSetUpMultiply_MPIAIJ() line 129 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mmaij.c
Unknown Name on a arch-linux2-c-debug named gnw-tech by garth Mon Feb
18 20:10:41 2013
[3]PETSC ERROR: Libraries linked from /home/garth/local/gcc/petsc-dev/lib
[3]PETSC ERROR: Configure run at Mon Feb 18 19:55:45 2013
[3]PETSC ERROR: Configure options --with-shared-libraries=1
--download-hypre=yes --download-umfpack=yes --download-mumps=yes
--download-scalapack=yes --download-blacs=yes
--with-mpi-dir=/home/garth/local/gcc/mpich --with-parmetis
--with-parmetis-dir=/home/garth/local/gcc/parmetis-4.0.2 --with-metis
--with-metis-dir=/home/garth/local/gcc/metis-5.0.2
--with-ml-include=/home/garth/local/gcc/trilinos-11.0.3/include
--with-ml-lib="[/home/garth/local/gcc/trilinos-11.0.3/lib/libml,/home/garth/local/gcc/parmetis-4.0.2/lib/libparmetis.so,libz]"
--prefix=/home/garth/local/gcc/petsc-dev
--with-ptscotch-include=/home/garth/local/gcc/scotch-6.0.0/include
--with-ptscotch-lib="[/home/garth/local/gcc/scotch-6.0.0/lib/libptscotch,/home/garth/local/gcc/scotch-6.0.0/lib/lib/libptesmumps,/home/garth/local/gcc/scotch-6.0.0/lib/libscotch,/home/garth/local/gcc/scotch-6.0.0/lib/libptscotcherr]"
--with-blas-lib="[/home/garth/local/gcc/atlas-latest/lib/libf77blas.a,/home/garth/local/gcc/atlas-latest/lib/libatlas.a]"
--with-lapack-lib="[/home/garth/local/gcc/lapack-latest/lib/liblapack.a]"
--download-superlu --download-superlu_dist
[3]PETSC ERROR:
------------------------------------------------------------------------
[3]PETSC ERROR: MatSetUpMultiply_MPIAIJ() line 129 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mmaij.c
Configure run at Mon Feb 18 19:55:45 2013
[4]PETSC ERROR: Configure options --with-shared-libraries=1
--download-hypre=yes --download-umfpack=yes --download-mumps=yes
--download-scalapack=yes --download-blacs=yes
--with-mpi-dir=/home/garth/local/gcc/mpich --with-parmetis
--with-parmetis-dir=/home/garth/local/gcc/parmetis-4.0.2 --with-metis
--with-metis-dir=/home/garth/local/gcc/metis-5.0.2
--with-ml-include=/home/garth/local/gcc/trilinos-11.0.3/include
--with-ml-lib="[/home/garth/local/gcc/trilinos-11.0.3/lib/libml,/home/garth/local/gcc/parmetis-4.0.2/lib/libparmetis.so,libz]"
--prefix=/home/garth/local/gcc/petsc-dev
--with-ptscotch-include=/home/garth/local/gcc/scotch-6.0.0/include
--with-ptscotch-lib="[/home/garth/local/gcc/scotch-6.0.0/lib/libptscotch,/home/garth/local/gcc/scotch-6.0.0/lib/lib/libptesmumps,/home/garth/local/gcc/scotch-6.0.0/lib/libscotch,/home/garth/local/gcc/scotch-6.0.0/lib/libptscotcherr]"
--with-blas-lib="[/home/garth/local/gcc/atlas-latest/lib/libf77blas.a,/home/garth/local/gcc/atlas-latest/lib/libatlas.a]"
--with-lapack-lib="[/home/garth/local/gcc/lapack-latest/lib/liblapack.a]"
--download-superlu --download-superlu_dist
[4]PETSC ERROR:
------------------------------------------------------------------------
[4]PETSC ERROR: MatSetUpMultiply_MPIAIJ() line 129 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mmaij.c
[4]PETSC ERROR: [2]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 702 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
[3]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 702 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
[3]PETSC ERROR: MatAssemblyEnd() line 4896 in
/home/garth/local/src/petsc-dev/src/mat/interface/matrix.c
MatAssemblyEnd_MPIAIJ() line 702 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
[4]PETSC ERROR: MatAssemblyEnd() line 4896 in
/home/garth/local/src/petsc-dev/src/mat/interface/matrix.c
[4]PETSC ERROR: [2]PETSC ERROR: MatAssemblyEnd() line 4896 in
/home/garth/local/src/petsc-dev/src/mat/interface/matrix.c
[2]PETSC ERROR: MatWrapML_MPIAIJ() line 446 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[3]PETSC ERROR: MatWrapML_MPIAIJ() line 446 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[3]PETSC ERROR: PCSetUp_ML() line 916 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
MatWrapML_MPIAIJ() line 446 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[4]PETSC ERROR: PCSetUp_ML() line 916 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[2]PETSC ERROR: PCSetUp_ML() line 916 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[2]PETSC ERROR: PCSetUp() line 832 in
/home/garth/local/src/petsc-dev/src/ksp/pc/interface/precon.c
[3]PETSC ERROR: PCSetUp() line 832 in
/home/garth/local/src/petsc-dev/src/ksp/pc/interface/precon.c
[4]PETSC ERROR: PCSetUp() line 832 in
/home/garth/local/src/petsc-dev/src/ksp/pc/interface/precon.c
--------------------- Error Message ------------------------------------
[0]PETSC ERROR: Petsc has generated inconsistent data!
[0]PETSC ERROR: Use of blocked not consistant (I am usning blocked)!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development HG revision:
96a09d6a701823d69aede247ed949c1dd4e7c8ff  HG Date: Mon Feb 18 11:08:29
2013 -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: Unknown Name on a arch-linux2-c-debug named gnw-tech
by garth Mon Feb 18 20:10:41 2013
[0]PETSC ERROR: Libraries linked from /home/garth/local/gcc/petsc-dev/lib
[5]PETSC ERROR:
------------------------------------------------------------------------
[5]PETSC ERROR: Unknown Name on a arch-linux2-c-debug named gnw-tech
by garth Mon Feb 18 20:10:41 2013
[5]PETSC ERROR: Libraries linked from /home/garth/local/gcc/petsc-dev/lib
[5]PETSC ERROR: Configure run at Mon Feb 18 19:55:45 2013
[5]PETSC ERROR: Configure options --with-shared-libraries=1
--download-hypre=yes --download-umfpack=yes --download-mumps=yes
--download-scalapack=yes --download-blacs=yes
--with-mpi-dir=/home/garth/local/gcc/mpich --with-parmetis
--with-parmetis-dir=/home/garth/local/gcc/parmetis-4.0.2 --with-metis
--with-metis-dir=/home/garth/local/gcc/metis-5.0.2
--with-ml-include=/home/garth/local/gcc/trilinos-11.0.3/include
--with-ml-lib="[/home/garth/local/gcc/trilinos-11.0.3/lib/libml,/home/garth/local/gcc/parmetis-4.0.2/lib/libparmetis.so,libz]"
--prefix=/home/garth/local/gcc/petsc-dev
--with-ptscotch-include=/home/garth/local/gcc/scotch-6.0.0/include
--with-ptscotch-lib="[/home/garth/local/gcc/scotch-6.0.0/lib/libptscotch,/home/garth/local/gcc/scotch-6.0.0/lib/lib/libptesmumps,/home/garth/local/gcc/scotch-6.0.0/lib/libscotch,/home/garth/local/gcc/scotch-6.0.0/lib/libptscotcherr]"
--with-blas-lib="[/home/garth/local/gcc/atlas-latest/lib/libf77blas.a,/home/garth/local/gcc/atlas-latest/lib/libatlas.a]"
--with-lapack-lib="[/home/garth/local/gcc/lapack-latest/lib/liblapack.a]"
--download-superlu --download-superlu_dist
[5]PETSC ERROR:
------------------------------------------------------------------------
[5]PETSC ERROR: MatSetUpMultiply_MPIAIJ() line 129 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mmaij.c
[5]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 702 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
[5]PETSC ERROR: MatAssemblyEnd() line 4896 in
/home/garth/local/src/petsc-dev/src/mat/interface/matrix.c
[5]PETSC ERROR: MatWrapML_MPIAIJ() line 446 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[5]PETSC ERROR: PCSetUp_ML() line 916 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[5]PETSC ERROR: PCSetUp() line 832 in
/home/garth/local/src/petsc-dev/src/ksp/pc/interface/precon.c
[0]PETSC ERROR: Configure run at Mon Feb 18 19:55:45 2013
[0]PETSC ERROR: Configure options --with-shared-libraries=1
--download-hypre=yes --download-umfpack=yes --download-mumps=yes
--download-scalapack=yes --download-blacs=yes
--with-mpi-dir=/home/garth/local/gcc/mpich --with-parmetis
--with-parmetis-dir=/home/garth/local/gcc/parmetis-4.0.2 --with-metis
--with-metis-dir=/home/garth/local/gcc/metis-5.0.2
--with-ml-include=/home/garth/local/gcc/trilinos-11.0.3/include
--with-ml-lib="[/home/garth/local/gcc/trilinos-11.0.3/lib/libml,/home/garth/local/gcc/parmetis-4.0.2/lib/libparmetis.so,libz]"
--prefix=/home/garth/local/gcc/petsc-dev
--with-ptscotch-include=/home/garth/local/gcc/scotch-6.0.0/include
--with-ptscotch-lib="[/home/garth/local/gcc/scotch-6.0.0/lib/libptscotch,/home/garth/local/gcc/scotch-6.0.0/lib/lib/libptesmumps,/home/garth/local/gcc/scotch-6.0.0/lib/libscotch,/home/garth/local/gcc/scotch-6.0.0/lib/libptscotcherr]"
--with-blas-lib="[/home/garth/local/gcc/atlas-latest/lib/libf77blas.a,/home/garth/local/gcc/atlas-latest/lib/libatlas.a]"
--with-lapack-lib="[/home/garth/local/gcc/lapack-latest/lib/liblapack.a]"
--download-superlu --download-superlu_dist
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: MatSetUpMultiply_MPIAIJ() line 129 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mmaij.c
[0]PETSC ERROR: MatAssemblyEnd_MPIAIJ() line 702 in
/home/garth/local/src/petsc-dev/src/mat/impls/aij/mpi/mpiaij.c
[0]PETSC ERROR: MatAssemblyEnd() line 4896 in
/home/garth/local/src/petsc-dev/src/mat/interface/matrix.c
[0]PETSC ERROR: MatWrapML_MPIAIJ() line 446 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[0]PETSC ERROR: PCSetUp_ML() line 916 in
/home/garth/local/src/petsc-dev/src/ksp/pc/impls/ml/ml.c
[0]PETSC ERROR: PCSetUp() line 832 in
/home/garth/local/src/petsc-dev/src/ksp/pc/interface/precon.c


> On Feb 18, 2013, at 3:35 PM, Garth N. Wells <gnw20 at cam.ac.uk> wrote:
>
>> I have some code using ML as a preconditioner, and  it works fines
>> with PETSc 3.3 but crashes with PETSc dev. I'm not setting any of the
>> ML parameters.  Hopefully someone will recognise the error (below) and
>> save me having to bisect the changesets, which is hard because changes
>> in PETSc dev make it hard for me to compile against earlier PETSc dev
>> revisions.
>>
>> Garth
>>
>>
>> [0]PETSC ERROR: --------------------- Error Message
>> ------------------------------------
>> [0]PETSC ERROR: Petsc has generated inconsistent data!
>> [0]PETSC ERROR: Use of blocked not consistant (I am usning blocked)!
>> [0]PETSC ERROR:
>> ------------------------------------------------------------------------
>> [0]PETSC ERROR: Petsc Development HG revision:
>> 96a09d6a701823d69aede247ed949c1dd4e7c8ff  HG Date: Mon Feb 18 11:08:29
>> 2013 -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: Unknown Name on a arch-linux2-c-debug named .......
>> Mon Feb 18 19:25:17 2013
>> [0]PETSC ERROR: Libraries linked from /home/garth/local/gcc/petsc-dev/lib
>> [0]PETSC ERROR:
>> [3]PETSC ERROR: See docs/index.html for manual pages.
>>
>



More information about the petsc-dev mailing list