[petsc-users] [petsc-announce] Question regarding updating PETSc Fortran examples to embrace post F77 constructs

Pablo M. Carrica pcarrica at engineering.uiowa.edu
Sat Aug 27 08:47:04 CDT 2016


Hi Barry, I believe is fine to move forward with more modern Fortran. All
compilers support at least Fortran 90. Best, Pablo.

-----Original Message-----
From: petsc-announce-bounces at mcs.anl.gov
[mailto:petsc-announce-bounces at mcs.anl.gov] On Behalf Of Barry Smith
Sent: Friday, August 26, 2016 9:54 PM
To: petsc-announce at mcs.anl.gov; PETSc users list
Subject: [petsc-announce] Question regarding updating PETSc Fortran examples
to embrace post F77 constructs


   PETSc users,

    We've always been very conservative in PETSc to keep almost all our
Fortran examples in a format that works with classic FORTRAN 77 constructs:
fixed line format, (72 character limit) and no use of ; to separate
operations on the same line, etc. 

   Is it time to forgo these constructs and use more modern Fortran
conventions in all our examples?

    Any feedback is appreciated

    Barry

Note: it would continue to be possible to use PETSc in the FORTRAN 77 style,
this is just a question about updating the examples.





More information about the petsc-users mailing list