2011/3/9 Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Due to the configure.log etc attachments - the original e-mail didn't<br>
make to the list. such emails are best sent to petsc-maint@mcs<br>
<br></blockquote><div><br></div><div>Duly noted.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Pushed a fix [disabling dgmres for complex for now]. Please pull and<br>
retry.<br>
<font color="#888888"><br></font></blockquote><div><br></div><div>Unfortunately the complex GMRES is exactly the reason I'm using PETSc in the first place! Perhaps I should pop back to a few revisions ago?<br><br>Jack</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
On Wed, 9 Mar 2011, Jack Poulson wrote:<br>
<br>
> I ran into the following compilation errors during a build of revision<br>
> 18434:<br>
><br>
> libfast in: /home/jack/Source/petsc-dev/src/ksp/ksp/impls/gmres/dgmres<br>
> In file included from dgmres.c:10:<br>
> dgmresimpl.h:32: error: ‘PetscPetscBLASInt’ has not been declared<br>
> dgmresimpl.h:34: error: ‘PetScalar’ has not been declared<br>
> dgmres.c: In function ‘PetscErrorCode<br>
> KSPDGMRESComputeDeflationData_DGMRES(_p_KSP*)’:<br>
> dgmres.c:777: error: no matching function for call to ‘VecDot(_p_Vec*&,<br>
> _p_Vec*&, PetscReal*)’<br>
> /home/jack/Source/petsc-dev/include/petscvec.h:142: note: candidates are:<br>
> PetscErrorCode VecDot(_p_Vec*, _p_Vec*, PetscScalar*)<br>
> /home/jack/Source/petsc-dev/include/petscvec.h:143: note:<br>
> PetscScalar VecDot(_p_Vec*, _p_Vec*)<br>
> dgmres.c: In function ‘PetscErrorCode<br>
> KSPDGMRESComputeSchurForm_DGMRES(_p_KSP*, PetscInt*)’:<br>
> dgmres.c:943: error: cannot convert ‘PetscReal*’ to ‘PetscScalar*’ for<br>
> argument ‘6’ to ‘void zhseqr_(const char*, const char*, PetscBLASInt*,<br>
> PetscBLASInt*, PetscBLASInt*, PetscScalar*, PetscBLASInt*, PetscScalar*,<br>
> PetscScalar*, PetscBLASInt*, PetscScalar*, PetscBLASInt*, PetscBLASInt*)’<br>
> dgmres.c:992: error: cannot convert ‘PetscReal*’ to ‘PetscScalar*’ for<br>
> argument ‘5’ to ‘void ztrsen_(const char*, const char*, PetscBLASInt*,<br>
> PetscBLASInt*, PetscScalar*, PetscBLASInt*, PetscScalar*, PetscBLASInt*,<br>
> PetscScalar*, PetscBLASInt*, PetscReal*, PetscReal*, PetscScalar*,<br>
> PetscBLASInt*, PetscBLASInt*)’<br>
> dgmres.c: In function ‘PetscErrorCode<br>
> KSPDGMRESApplyDeflation_DGMRES(_p_KSP*, _p_Vec*, _p_Vec*)’:<br>
> dgmres.c:1055: error: cannot convert ‘PetscReal*’ to ‘PetscScalar*’ for<br>
> argument ‘13’ to ‘void zgerfs_(const char*, PetscBLASInt*, PetscBLASInt*,<br>
> PetscScalar*, PetscBLASInt*, PetscScalar*, PetscBLASInt*, PetscBLASInt*,<br>
> PetscScalar*, PetscBLASInt*, PetscScalar*, PetscBLASInt*, PetscScalar*,<br>
> PetscScalar*, PetscScalar*, PetscReal*, PetscBLASInt*)’<br>
> dgmres.c:1059: error: no match for ‘operator/’ in ‘*(dgmres->KSP_DGMRES::x1<br>
> + ((unsigned int)(((unsigned int)i) * 16u))) / lambda’<br>
> dgmres.c: In function ‘PetscErrorCode KSPDGMRESImproveEig_DGMRES(_p_KSP*,<br>
> PetscInt)’:<br>
> dgmres.c:1156: error: cannot convert ‘PetscScalar*’ to ‘PetscReal*’ for<br>
> argument ‘6’ to ‘void zgges_(const char*, const char*, const char*, void**,<br>
> PetscBLASInt*, PetscReal*, int*, PetscReal*, PetscBLASInt*, PetscBLASInt*,<br>
> PetscReal*, PetscReal*, PetscReal*, PetscBLASInt*, PetscReal*,<br>
> PetscBLASInt*, PetscReal*, PetscBLASInt*, PetscBLASInt*, PetscBLASInt*)’<br>
> dgmres.c:1213: error: cannot convert ‘PetscScalar*’ to ‘int*’ for argument<br>
> ‘8’ to ‘void ztgsen_(PetscBLASInt*, PetscBLASInt*, PetscBLASInt*,<br>
> PetscBLASInt*, PetscBLASInt*, PetscScalar*, PetscBLASInt*, int*,<br>
> PetscBLASInt*, PetscScalar*, PetscScalar*, PetscScalar*, PetscBLASInt*,<br>
> PetscScalar*, PetscBLASInt*, PetscBLASInt*, PetscReal*, PetscReal*,<br>
> PetscReal*, PetscReal*, PetscBLASInt*, PetscBLASInt*, PetscBLASInt*,<br>
> PetscBLASInt*)’<br>
> /usr/bin/ar: dgmres.o: No such file or directory<br>
><br>
> Is this a known issue? The commit log for this revision is conspicuously<br>
> related:<br>
> date: Wed Mar 09 15:45:12 2011 -0600<br>
> summary: c++ build fixes for gdmres<br>
><br>
> Jack<br>
> </div></div></blockquote></div><br>