Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Brad Lucier <lucier@math.purdue.edu>
To: axp-list@redhat.com
Cc: lucier@math.purdue.edu
Subject: Re: A few questions about compiling code and performance
Date: Wed, 1 Nov 2000 17:26:02 -0500 (EST)	[thread overview]
Message-ID: <200011012226.eA1MQ2I04057@polya.math.purdue.edu> (raw)

> On Wed, 1 Nov 2000, J. Pedro Sousa do Amaral wrote:
> > This FORTRAN code was initially set to compile with the flag
> > -fast, but that wouldn't work in my system (AS 200, RH 5.2 highly modified,
> > latest stable kernel, and pretty recent compilers--g77 version egcs-2.91.66
> > 19990314). Is there an equivalent flag in the GNU FORTRAN compiler?
> 
> -fast is a compiler specific flag.  gnu compilers use -O for general
> optimizations, which will probably make it run faster.  i dont use
> fortran, but with gcc, there are multiple levels of optimization that get
> more aggressive (eg -O6 is more sophisticated than -O2, which may or may
> not mean it runs faster)

use -ffast-math with gcc/g77 where you'd use -fast with ccc/fort




             reply	other threads:[~2000-11-01 22:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-01 22:26 Brad Lucier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-01 20:38 A few questions about compiling code and performance Eugene Chu
2000-11-01 12:02 Custom AXP kernel Greg Lindahl
2000-11-01 14:36 ` A few questions about compiling code and performance J. Pedro Sousa do Amaral
2000-11-01 19:34   ` Ross A Knepper
2000-11-01 19:52   ` arthur m coucouvitis
2000-11-02  0:50     ` W Bauske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox