<div class="gmail_extra">The fix is pushed.<br><br>- Peter<br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 3:14 PM, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de" target="_blank">agrayver@gfz-potsdam.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I also have this problem and solve it by editing this file manually.<br><br>Regards,<br>Alexander<div class="HOEnZb"><div class="h5">
<br><br>----- Reply message -----<br>From: "Stephan Kramer" <<a href="mailto:s.kramer@imperial.ac.uk" target="_blank">s.kramer@imperial.ac.uk</a>><br>To: "For users of the development version of PETSc" <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>><br>
Subject: [petsc-dev] petsc-dev build error in petscsnes.h90<br>Date: Mon, Apr 23, 2012 22:09<br><br><br>Hi all,<br><br>When building petsc-dev, configured --with-fortran-interfaces=1, I had to add the following lines to include/finclude/petscsnesdef.h:<br>
<br>diff -r fc934c1d84bc include/finclude/petscsnesdef.h<br>--- a/include/finclude/petscsnesdef.h Mon Apr 23 11:39:32 2012 -0500<br>+++ b/include/finclude/petscsnesdef.h Mon Apr 23 21:02:14 2012 +0100<br>@@ -12,6 +12,13 @@<br>
#define SNESType character*(80)<br> #define SNESMSType character*(80)<br> #define SNESConvergedReason PetscEnum<br>+#define SNESQNRestartType PetscEnum<br>+#define SNESQNCompositionType PetscEnum<br>+#define SNESQNScaleType PetscEnum<br>
+#define SNESNCGType PetscEnum<br>+#define SNESNGMRESRestartType PetscEnum<br>+#define SNESNGMRESSelectType PetscEnum<br>+#define SNESNormType PetscEnum<br> #define SNESLineSearchType PetscEnum<br> #define MatMFFD PetscFortranAddr<br>
#define MatMFFDType PetscFortranAddr<br><br>to avoid compile errors in include/finclude/ftn-auto/petscsnes.h90 (included from include/finclude/petscsnes.h90). Is this a bug, or did something else go wrong?<br><br>Cheers<br>
Stephan<br></div></div></blockquote></div><br></div>