[petsc-dev] petsc-dev build error in petscsnes.h90
Stephan Kramer
s.kramer at imperial.ac.uk
Mon Apr 23 15:09:46 CDT 2012
Hi all,
When building petsc-dev, configured --with-fortran-interfaces=1, I had to add the following lines to include/finclude/petscsnesdef.h:
diff -r fc934c1d84bc include/finclude/petscsnesdef.h
--- a/include/finclude/petscsnesdef.h Mon Apr 23 11:39:32 2012 -0500
+++ b/include/finclude/petscsnesdef.h Mon Apr 23 21:02:14 2012 +0100
@@ -12,6 +12,13 @@
#define SNESType character*(80)
#define SNESMSType character*(80)
#define SNESConvergedReason PetscEnum
+#define SNESQNRestartType PetscEnum
+#define SNESQNCompositionType PetscEnum
+#define SNESQNScaleType PetscEnum
+#define SNESNCGType PetscEnum
+#define SNESNGMRESRestartType PetscEnum
+#define SNESNGMRESSelectType PetscEnum
+#define SNESNormType PetscEnum
#define SNESLineSearchType PetscEnum
#define MatMFFD PetscFortranAddr
#define MatMFFDType PetscFortranAddr
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?
Cheers
Stephan
More information about the petsc-dev
mailing list