[petsc-dev] Stop breaking my build

Satish Balay balay at mcs.anl.gov
Thu Aug 19 12:33:05 CDT 2010


Matt,

Nobody knows how you build stuff. Atleast mention the configure
command used so it can be reproduced and fixed..

Satish

On Thu, 19 Aug 2010, Matthew Knepley wrote:

> libfast in: /PETSc3/petsc/petsc-dev/src/snes/impls/lsvi
> lsvi.c: In function 'PetscErrorCode SNESLSVIComputeMeritFunction(_p_Vec*,
> PetscScalar*)':
> lsvi.c:137: error: no matching function for call to 'VecNormBegin(_p_Vec*&,
> NormType, PetscScalar*)'
> /PETSc3/petsc/petsc-dev/include/petscvec.h:468: note: candidates are:
> PetscErrorCode VecNormBegin(_p_Vec*, NormType, PetscReal*)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:469: note:
> PetscErrorCode VecNormBegin(_p_Vec*, NormType)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:470: note:
> PetscErrorCode VecNormBegin(_p_Vec*)
> lsvi.c:138: error: no matching function for call to 'VecNormEnd(_p_Vec*&,
> NormType, PetscScalar*)'
> /PETSc3/petsc/petsc-dev/include/petscvec.h:471: note: candidates are:
> PetscErrorCode VecNormEnd(_p_Vec*, NormType, PetscReal*)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:472: note:
> PetscReal VecNormEnd(_p_Vec*, NormType)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:473: note:
> PetscReal VecNormEnd(_p_Vec*)
> lsvi.c: In function 'PetscErrorCode SNESLSVIComputeSSFunction(_p_SNES*,
> _p_Vec*, _p_Vec*)':
> lsvi.c:207: error: no match for 'operator<=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + l) <= -1.0e+20'
> lsvi.c:207: error: no match for 'operator>=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + u) >= 1.0e+20'
> lsvi.c:210: error: no match for 'operator<=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + l) <= -1.0e+20'
> lsvi.c:215: error: no match for 'operator>=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + u) >= 1.0e+20'
> lsvi.c: In function 'PetscErrorCode
> SNESLSVIComputeBsubdifferential(_p_SNES*, _p_Vec*, _p_Vec*, _p_Mat*,
> _p_Mat*, MatStructure*)':
> lsvi.c:279: error: no match for 'operator<=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + l) <= -1.0e+20'
> lsvi.c:279: error: no match for 'operator>=' in '*(((PetscScalar*)(((long
> unsigned int)i) * 16ul)) + u) >= 1.0e+20'
> lsvi.c: In function 'PetscErrorCode SNESLSVICheckDescentDirection(_p_SNES*,
> _p_Vec*, _p_Vec*, PetscTruth*)':
> lsvi.c:360: error: no matching function for call to 'VecNormBegin(_p_Vec*&,
> NormType, PetscScalar*)'
> /PETSc3/petsc/petsc-dev/include/petscvec.h:468: note: candidates are:
> PetscErrorCode VecNormBegin(_p_Vec*, NormType, PetscReal*)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:469: note:
> PetscErrorCode VecNormBegin(_p_Vec*, NormType)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:470: note:
> PetscErrorCode VecNormBegin(_p_Vec*)
> lsvi.c:361: error: no matching function for call to 'VecNormEnd(_p_Vec*&,
> NormType, PetscScalar*)'
> /PETSc3/petsc/petsc-dev/include/petscvec.h:471: note: candidates are:
> PetscErrorCode VecNormEnd(_p_Vec*, NormType, PetscReal*)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:472: note:
> PetscReal VecNormEnd(_p_Vec*, NormType)
> /PETSc3/petsc/petsc-dev/include/petscvec.h:473: note:
> PetscReal VecNormEnd(_p_Vec*)
> lsvi.c:365: error: no match for 'operator>' in 'dpsidotY > rhs'
> lsvi.c: In function 'PetscErrorCode SNESSolve_LSVI(_p_SNES*)':
> lsvi.c:469: error: cannot convert 'PetscScalar' to 'PetscReal' in assignment
> lsvi.c:471: error: cannot convert 'PetscScalar' to 'double' in assignment
> lsvi.c:472: error: cannot convert 'PetscScalar' to 'PetscReal' in argument
> passing
> lsvi.c:475: error: cannot convert 'std::complex<double>' to 'PetscReal' in
> assignment
> lsvi.c:477: error: cannot convert 'PetscScalar' to 'PetscReal' in argument
> passing
> lsvi.c:521: error: cannot convert 'PetscScalar' to 'PetscReal' in assignment
> lsvi.c:522: error: cannot convert 'PetscScalar' to 'PetscReal' in argument
> passing
> lsvi.c:523: warning: cannot pass objects of non-POD type 'struct
> PetscScalar' through '...'; call will abort at runtime
> lsvi.c:545: error: cannot convert 'PetscScalar' to 'PetscReal' in assignment
> lsvi.c:551: error: cannot convert 'PetscScalar' to 'PetscReal' in argument
> passing
> ar: lsvi.o: No such file or directory
> 
>    Matt
> 
> 




More information about the petsc-dev mailing list