[petsc-dev] fortran compiler option
Satish Balay
balay at mcs.anl.gov
Wed May 21 16:17:39 CDT 2014
On Wed, 14 May 2014, Barry Smith wrote:
>
> On May 14, 2014, at 6:54 PM, Jed Brown <jed at jedbrown.org> wrote:
>
> > Barry Smith <bsmith at mcs.anl.gov> writes:
> >
> >> add the gfortran flag as I requested and turn gfortran into true
> >> free-form. And check the others for options also.
> >
> > Is this only for PETSc source files or for headers to be included by
> > Fortran callers?
>
> No PETSc fortran headers would still be “universal”
>
> > It would be rather an imposition on users to require
> > them to pass suitable dialect flags.
>
> Not sure what you mean by this. If users prefer some absurd “limited” free-format that is their own business. We don’t impose this.
>
I've added this option and pushed to next [for now]
https://bitbucket.org/petsc/petsc/commits/5410928270298035282f027b2c1f9416831ec283
However - I would prefer the PETSc *.F90 sources/examples to be
universal [wrt this 132/no-char-limit freeform] - simialr to our .F
sources/examples [which comply with both fixed/free form].
Satish
More information about the petsc-dev
mailing list