[petsc-dev] make all PETSc Fortran examples modern freeform?
Jed Brown
jedbrown at mcs.anl.gov
Thu Nov 7 11:53:04 CST 2013
Barry Smith <bsmith at mcs.anl.gov> writes:
> Add a configure option that causes PETSc to compile Fortran code
> with the free-form option.
Isn't that just FFLAGS=-ffree-form? We currently write everything in
polyglot so it should work, right?
This doesn't do any good for readability of examples or easy of
contributing. I'd be in favor of having all new examples use .F90, and
perhaps more that use --with-fortran-datatypes.
Is there any way we can defer --with-fortran-datatypes to the user's
compile time? Like let them include different headers to decide which
to use? It sucks to require every component in a simulation to make the
same choice here. For example, if you wanted to couple Blaise's code to
someone else's Fortran that didn't use datatypes, you'd be dead in the
water right now.
-------------- 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/96a6b332/attachment.sig>
More information about the petsc-dev
mailing list