[petsc-dev] Stop breaking my build

Matthew Knepley knepley at gmail.com
Thu Aug 19 12:13:58 CDT 2010


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

-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100819/0a599e9b/attachment.html>


More information about the petsc-dev mailing list