[petsc-dev] petsc-dev build error in petscsnes.h90
Peter Brune
prbrune at gmail.com
Mon Apr 23 15:12:57 CDT 2012
It's a mistake. I'll push a fix.
- Peter
On Mon, Apr 23, 2012 at 3:09 PM, Stephan Kramer <s.kramer at imperial.ac.uk>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120423/03329be6/attachment.html>
More information about the petsc-dev
mailing list