*BSD News Article 92800


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!rill.news.pipex.net!pipex!netcom.net.uk!nntpfeed.doc.ic.ac.uk!sunsite.doc.ic.ac.uk!lyra.csx.cam.ac.uk!news.ox.ac.uk!nag.co.uk!malcolm
From: malcolm@sedi8.nag.co.uk (Malcolm Cohen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Fortran on FreeBSD
Date: 4 Apr 1997 13:35:00 GMT
Organization: The Numerical Algorithms Group Ltd., Oxford, U.K.
Lines: 27
Message-ID: <5i3024$es3$1@red.nag.co.uk>
References: <5hrd3n$58n@lace.colorado.edu> <5hrkn1$sib@nntp1.u.washington.edu> <5i1mj6$b7c@lace.colorado.edu>
NNTP-Posting-Host: sedi8.nag.co.uk
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38450

In article <5i1mj6$b7c@lace.colorado.edu>,
Frank Crary <fcrary@rintintin.Colorado.EDU> wrote:
>>> Does anyone know where I can find a good fortran compiler for FreBSD

There is NAGWare f90 available.  It is not free (unlike f2c and g77) but does
support the full Fortran 90 language (again, unlike f2c and g77).

[...]
>I disagree about fortran being
>better for straight number crunching. In terms of run times, I
>generally get better results from C code

Well, in general Fortran compilers can produce faster code than C compilers,
but in the case of NAGWare f90, we compile to intermediate C code (which
is then compiled using gcc) so we guarantee not to exceed the speed of a C
program.

That said, our own measurements have it being comparable to f2c/g77.
Performance will improve in the next release, which will support Fortran 95.

For further information contact:
   infodesk@nag.com      (in North America)
   infodesk@nag.co.uk    (in the Rest of the World)

Cheers,
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
                           (malcolm@nag.co.uk)