Optimizer Problem
Ray Nachlinger
ray@ultramarine.com
Mon Jul 3 22:37:00 GMT 2006
On Mon, 3 Jul 2006, Stefanos Folias wrote:
> To whom it may concern,
>
> I have been using gfortran on Mac running Tiger. I have been wrestling with a
> horrible discrepancy between the use of optimizers and not. I have tried
> omitting certain flags to determine what may be causing the problem to no
> avail. The discrepancy is a function of one of the dimension of the array,
> i.e., there is a threshold length where one type of result occurs below and
> another occurs above. However, the result shouldn't at all be dependent on
> the length of the array. With no optimizers, the same result occurs, and
> matches the result as generated by f95 on a server running unix. Thus, the
> optimizers have an inherent problem.
>
> Could you forward this email, or provide me with a contact for someone who may
> be able to help me with this problem.
I have a large program with runs quite nicely with -O3 on OSX 10.4
using gfortran4.1.1. Perhaps you are using a previous versions. If
so you really need to upgrade. The older ones do, in fact, have bugs.
More information about the Fortran
mailing list