[petsc-dev] Fortran 2003 enum
Blaise Bourdin
bourdin at lsu.edu
Tue Dec 7 11:55:15 CST 2010
On Dec 7, 2010, at 11:41 AM, Jed Brown wrote:
> On Tue, Dec 7, 2010 at 18:38, Barry Smith <bsmith at mcs.anl.gov> wrote:
> We need IBM BG compiler to support this stuff. Cray compiler, PGI, PathScale, Intel, Gfortran, Intel on Windows, what else??
>
> http://fortranwiki.org/fortran/show/Fortran+2003+status
>
> Once they all support it, maybe they already do? Then we can switch and simplify.
>
> Aren't there a number of obsolescent features that were removed? As I understand it, there are still people that write F77. Isn't there one just down the hall from you, Barry? Maybe those people don't need libraries?
>
> Jed
- Fortran 90 supported all fortran77 features, but designated a few features as obsolete, such as arithmetic if, real and double precision DO variables, shared do termination, H edit descriptor, computed GOTO.
- fortran95 deleted the fortran90 obsolete features.
As far as I know, there are no additions to the obsolete / deleted lists
I am not suggesting that the whole fortran binding system be rewritten at this point, but it would be nice to have access to enum from PetscBag and PetscOptions using the compilers that support it (and I wouldn't be surprised if they all do. I am willing to check).
Blaise
--
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
More information about the petsc-dev
mailing list