Supported Fortran Language Extensions: Intel/Linux

Language Feature Absoft g95 gfortran Intel Lahey NAG Pathscale PGI Oracle
Fortran 95 Yes Yes Yes Yes Yes Yes Yes Yes Yes
TR15581 (Allocatable dummy arguments, derived type components etc.) Yes Yes Yes Yes Yes Yes Yes Yes Yes
Fortran 2003 Support2 Partial Partial Partial Yes No Yes No Yes Yes
Fortran 2008 Support2 No No Partial Partial No Partial No No No
OpenMP Yes No Yes Yes Yes Yes Yes Yes Yes
Tabbed source form Yes Yes Yes Yes Yes Yes Yes Yes Yes
Symbolic names with $ Yes Option Option Yes Yes Yes Yes Yes Yes
Hollerith data Yes Yes Yes Yes Yes Yes Yes Yes Yes
DOUBLE COMPLEX Yes Yes Yes Yes Yes Yes Yes Yes Yes
Varying length for named COMMON Yes Yes Yes Yes Yes No Yes Yes Yes
Mix numeric and character in COMMON and EQUIVALENCE Yes Yes Yes Yes Yes Yes Yes Yes Yes
INTEGER*n 1,2,4,8 1,2,4,8 1,2,4,8,16 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8
LOGICAL*n 1,2,4,8 1,2,4,8 1,2,4,8,16 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8 1,2,4,8
REAL*n 4,8,16 4,8,10 4,8,10,16 4,8,16 4,8,16 4,8,16 4,8 4,8 4,8,16
Language Feature Absoft g95 gfortran Intel Lahey NAG Pathscale PGI Oracle
VAX style debug (D) lines Yes Yes Yes Yes No1 No Yes Yes Yes
C style string constants (e.g. ‘hello \n world’) Option Option Option Option No No No Option Option
VAX style STRUCTURE, RECORD, UNION etc. Yes No No Yes Yes No No Yes Yes
Initialization in TYPE statements Yes No Yes Yes Yes No Yes Yes Yes
ENCODE and DECODE Yes No No Yes Yes No Yes Yes Yes
variable format expressions using <> Yes No No Yes Yes No No No Yes
\ edit descriptor Yes Yes No Yes Yes No Yes No No
Q edit descriptor Yes No No Yes Yes No Yes Yes Yes
$ edit descriptor Yes Yes Yes Yes Yes No Yes Yes Yes
in line assembler No No No No No No No No Partial
CRAY Pointers Yes No Yes Yes Yes No Yes Yes Yes
OPEN for “Transparent” or stream I/O (e.g. FORM=’BINARY’) Yes Yes Yes Yes Yes Yes Yes Yes Yes
Language Feature Absoft g95 gfortran Intel Lahey NAG Pathscale PGI Oracle
Get Command Line Yes Yes Yes Yes Yes Yes Yes Yes Yes
Get Environment Variable Yes Yes Yes Yes Yes Yes Yes Yes Yes
Invoke External command Yes Yes Yes Yes Yes Yes Yes Yes Yes
Get Files in Directory No No No Yes No Yes Yes No No
Get File Size, Date, Attributes Yes Yes Yes Yes Yes Yes Yes Yes Yes
VAX style system intrinsics (SECNDS etc.) Yes Yes Yes Yes Yes No Yes Yes Yes
Unix style system library (getenv, etime etc.) Yes Yes Yes Yes Yes Yes Yes Yes Yes
Posix style library
(pxfputc, pxfopen etc.)
No No No Yes No No Yes No No

 

Notes
1 D lines treated as comments
2 See here for a detailed feature by feature breakdown compiled by Ian Chivers and Jane Sleightholme

 

Return to Fortran Compiler Comparisons homepage