This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Gfortran (mis)information in the Polyhedron site.
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: john dot appleyard at polyhedron dot com
- Cc: fortran at gcc dot gnu dot org
- Date: Fri, 23 Jun 2006 15:33:55 -0700
- Subject: Gfortran (mis)information in the Polyhedron site.
John,
First, thanks for including gfortran in Polyhedron Fortran
comparison charts. I noticed that the Language Comparison
chart has some misinformation.
(1) gfortran has OpenMP support in version 4.2.0, which requires
the -fopenmp option and an operating system with pthreads.
(2) Although I can't find Polyhedron's description of the
the "VAX style debug (D) lines". gfortran has two
options -fd-lines-as-code and -fd-lines-as-comments that
are probably applicable.
(3) "Get Command Line". Gfortran has getarg/iargc as well as
the F2003 command_argument_count, get_command, and
get_command_argument
(4) "Get Environment Variable". Gfortran has get_environment_variable.
(5) "Invoke External command". Gfortran has the system() subroutine
for invoking commands.
(6) "Get Files in Directory". I'm not sure what intrinsic procedure
this description is suppose to invoke.
(7) "Get File Size, Date, Attributes". This appears to be operating
system specific (which one?), because ....
(8) "Unix style system library (getenv, etime etc.)" gfortran implements
a large collection of the Unix style intrinsic procedures that can
be used to "Get File Size, Date, Attributes". Note, however, that for
example if your program does
PROGRAM A
REAL T(2)
EXTERNAL ETIME
call ETIME(T)
END
gfortran will not supply its version of etime because your program
has promised gfortran that etime is an EXTERNALly supplied routine.
Remove the EXTERNAL and gfortran will supply etime.
Yes, gfortran's documentation is fairly weak in describing all of
the above. So, it is understandable why the chart has the inaccuracies.
Hopefully, you can correct the chart at your convenience.
--
Steve