[petsc-dev] make all PETSc Fortran examples modern freeform?

Jed Brown jedbrown at mcs.anl.gov
Thu Nov 7 12:51:04 CST 2013


Satish Balay <balay at mcs.anl.gov> writes:
>> Surely we don't need to make *.F90 examples work with -ffixed-form.
>
> yes thats what I meant. [.F90 examples should not run when configured with fixed-form]
>
> Also - I don't see a big need for users to install PETSc with
> FFLAGS=-fixed-form or FFLAGS=-free-form.

I agree that there is no point to FFLAGS=-fixed-form, but
FFLAGS=-free-form might be needed to confirm that all our *.F files
compile correctly as free form.

> The current default build is more univeral - and the users can either
> name their sourcefiles .F or .F90 based on fixed/free form.

Yes, I assume Barry started the thread because it's ugly and error-prone
to write polyglots.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131107/784a2af9/attachment.sig>


More information about the petsc-dev mailing list