[petsc-dev] MatSetDA_HYPREStruct error

Barry Smith bsmith at mcs.anl.gov
Sat Mar 12 13:18:19 CST 2011


  Since this was an error introduced in petsc-dev by refactoring the bug report belongs in petsc-dev not petsc-maint

   OK, what caused the bad TAGS file so these uses were not found?

   Barry


Begin forwarded message:

> From: "Mark F. Adams" <mark.adams at columbia.edu>
> Date: March 12, 2011 11:49:14 AM CST
> To: PETSc <petsc-maint at mcs.anl.gov>
> Subject: [petsc-maint #66793] MatSetDA_HYPREStruct error 
> Reply-To: petsc-maint at mcs.anl.gov, "Mark F. Adams" <mark.adams at columbia.edu>
> 
> I' downloaded petsc-dev today and get this error:
> 
> mhyp.c: In function 'PetscErrorCode MatSetDA_HYPREStruct(_p_Mat*, _p_DM*)':
> mhyp.c:408:64: error: cannot convert 'DMDAStencilType*' to 'DMDABoundaryType*' for argument '12' to 'PetscErrorCode DMDAGetInfo(_p_DM*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, DMDABoundaryType*, DMDABoundaryType*, DMDABoundaryType*, DMDAStencilType*)'
> mhyp.c: In function 'PetscErrorCode MatSetDA_HYPRESStruct(_p_Mat*, _p_DM*)':
> mhyp.c:850:64: error: cannot convert 'DMDAStencilType*' to 'DMDABoundaryType*' for argument '12' to 'PetscErrorCode DMDAGetInfo(_p_DM*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, PetscInt*, DMDABoundaryType*, DMDABoundaryType*, DMDABoundaryType*, DMDAStencilType*)'
> /usr/bin/ar: mhyp.o: No such file or directory
> 
> Looks like you forgot to update HYPRE with this new type/
> 
> Mark




More information about the petsc-dev mailing list