TYPE declaration/statement in Fortran 77 code



Hi there,

I have a piece of code (Fortran 77) that contains a lot of these TYPE
declarations:

SUBROUTINE VTXSET( RNBLD, RNPHI, RNPSI, RNSEG, AGL, CDGR,
& IFFRE, IFLAG, KREV, PFRL, RADIUS, RGUP, ROTDIR,
& DAMPF, IUPF, OPTION, ROTATE, SCPSI )

*
C*****************************************************************************
C
IMPLICIT NONE
C
C I/O variable
C
INTEGER*4 NBLD
INTEGER*4 NPHI
INTEGER*4 NPSI
INTEGER*4 NSEG
C
TYPE AGL
TYPE CDGR(1)
TYPE DAMPF
TYPE IFFRE
TYPE IFLAG(30)
TYPE IUPF(3)
TYPE KREV
TYPE OPTION(1)
TYPE PFRL(1)
TYPE RNBLD
TYPE RNPHI
TYPE RNPSI
TYPE RNSEG
TYPE RADIUS
TYPE RGUP
TYPE ROTATE
TYPE ROTDIR
TYPE SCPSI(2,1)

As such, it doesn't compile with any compiler I tried (gfortran, g95
and ifort). Doing
:%s/TYPE/REAL/g
makes it compilable with ifort.

I couldn't find anything related to TYPE declarations in this context,
so I suspect it's not standard fortran.
Anyone knows what they are good for?

Greetings,

Wim
.



Relevant Pages

  • Re: TYPE declaration/statement in Fortran 77 code
    ... I have a piece of code (Fortran 77) that contains a lot of these ... As such, it doesn't compile with any compiler I tried (gfortran, ... makes it compilable with ifort. ... I couldn't find anything related to TYPE declarations in this ...
    (comp.lang.fortran)
  • Re: DFPORT
    ... I am trying to compile some example code written in Fortran77 that uses ... It's a compatibility library from Digital Fortran. ... If you're not using DVF, CVF, or ifort, then the answer to "where can I get it from" depends on your compiler. ... Some compilers include many of the things in IFPORT as intrinsics. ...
    (comp.lang.fortran)
  • Re: Ifort long compilation time
    ... exceptionally long to compile with Ifort -- what sort of code ... found compilation using Ifort to be quite a bit faster than that using ... Sun Fortran, but now it takes maybe 10 or 20 times longer using Ifort ...
    (comp.lang.fortran)
  • Re: intel 8.0 and Matlab 6.5 - mex files
    ... There may be options to turn on and off underscores. ... You do use the "mex" command to compile the Fortran and C files right? ... Another possibility is to still use ifort to link the compiled ...
    (comp.lang.fortran)
  • Re: How to pass information, classes between forms in Windows Application mode [ FINALLY!]
    ... In a WinForms app generated by Visual Studio, ... A constructor in my "book" is the stuff that appears in public ... wouldn't compile as the appropriate constructor signature hasn't been ... declarations, it will compile. ...
    (microsoft.public.dotnet.languages.csharp)