[Rd] Fortran (Was: Re: [R] linux compile options (64-bit))

From: Göran Broström <gb_at_stat.umu.se>
Date: Fri 26 Aug 2005 - 11:46:50 GMT

On Tue, Aug 02, 2005 at 12:12:08PM +0200, Göran Broström wrote:
> On Tue, Aug 02, 2005 at 10:58:31AM +0100, Prof Brian Ripley wrote:
>
> > The problems we are seeing with gcc4 are mainly (but not
> > entirely) with gfortran: it seems not quite ready for production use.
> > -4.0.1 is already a considerable improvement over -4.0.0.
> >
> > There is another project (www.g95.org) that is using a slightly different
> > version of these sources, and either g95 or gfortran can be used with
> > gcc3 if you want to use F95 sources. However, F95 is unlikely to be
> > suitable for use in distributed R packages for a long time to come.
>
> Thanks; I'll stick to 3.4.4(!) and f77 for the time being.

One short follow-up question on the F77/95 theme: In my CRAN packages, I use the construct "do while ... end do" in my fortran sources. This is AFAIK not strict F77, but an extension in g77, and standard in F95. "-pedantic" does not complain about this; on the other hand "---it finds some non-ANSI practices, but not all" (from 'man g77').

Should I rewrite the "do while...end do" parts? (Please answer NO!:)

Göran



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Aug 26 21:51:05 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:19 GMT