[comp.lang.fortran] Fortran compiler for 486 machine

pindor@gpu.utcs.utoronto.ca (Andrzej Pindor) (03/21/91)

I would appreciate recommendations for a Fortran compiler for a 486 machine.
Thanks in advance.
Andrzej Pindor
pindor@gpu.utcs.utoronto.ca
University of Toronto 
Computing Services

-- 
Andrzej Pindor
University of Toronto
Computing Services
pindor@gpu.utcs.utoronto.ca

ilan343@violet.berkeley.edu (Geraldo Veiga) (03/21/91)

In article <1991Mar20.205052.24375@gpu.utcs.utoronto.ca> pindor@gpu.utcs.utoronto.ca (Andrzej Pindor) writes:
>
>I would appreciate recommendations for a Fortran compiler for a 486 machine.

f2c, of course.  It works and it is free.


Seriously, I have been using f2c on an AT/486 machine under Unix/386
for all my FORTRAN compiling.  I am quite please with my set up.  It
makes it very easy to mix FORTRAN and C code and allows me to use the
standard UNIX debugger.

However, I don't have a clear idea on how it stacks up against native
386 compilers.  I had a chance of comparing the f2c/cc (and gcc) combo
against an older version of NDP's Fortran for Unix/386.  I don't have
the numbers here handy, but f2c produced much faster in the LINPACK and
Whetstone benchmarks.

Does anyone have benchmarks on the several the several FORTRAN
compilers for the 386/486?

carroll@ssc-vax (Jeff Carroll) (03/22/91)

In article <1991Mar20.222730.22597@agate.berkeley.edu> ilan343@violet.berkeley.edu (Geraldo Veiga) writes:
>Seriously, I have been using f2c on an AT/486 machine under Unix/386
>for all my FORTRAN compiling.  I am quite please with my set up.  It
>makes it very easy to mix FORTRAN and C code and allows me to use the
>standard UNIX debugger.

	I thought you had to link f2c-generated code to both the FORTRAN
and the C libraries. This would be tough for someone (i.e., me) who 
doesn't have FORTRAN on his current favorite machine.

	Also, from cursory inspection of the output of f2c on fairly
simplistic code, it's hard for me to believe that you wouldn't get
dramatically better performance from a direct FORTRAN compiler. I haven't
benchmarked it though.

	I don't have a favorite x86 FORTRAN. I have only used Microsoft's
under DOS, though I know people who use Lahey and like it. Green Hills is
well-behaved in the 386 Unix environments I've used.


-- 
Jeff Carroll
carroll@ssc-vax.boeing.com