[petsc-dev] Fortran 2003 enum

Barry Smith bsmith at mcs.anl.gov
Tue Dec 7 11:38:26 CST 2010


On Dec 7, 2010, at 11:34 AM, Jed Brown wrote:

> On Tue, Dec 7, 2010 at 18:24, Matthew Knepley <knepley at gmail.com> wrote:
> It is present and mandated to be interoperable with C enums. Blaise pointed this
> out to me. Do any compilers at MCS support this?
> 
> Gfortran got it in version 4.1, I think, all the major commercial compilers support it.
> 
> http://gcc.gnu.org/wiki/Fortran2003Status
> 
> On that note, calling C functions from Fortran 2003 is much easier and you don't have to play the name mangling game.  How many people use F2003?
> 
> Jed

   We need IBM BG compiler to support this stuff. Cray compiler, PGI, PathScale, Intel, Gfortran, Intel on Windows, what else??

   Once they all support it, maybe they already do? Then we can switch and simplify.

   Barry





More information about the petsc-dev mailing list