Optimizer Problem

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Jul 4 22:13:00 GMT 2006


On Tue, Jul 04, 2006 at 05:35:28PM -0400, Stefanos Folias wrote:
> 
> It will take me a little time to find a suitable reduced test case,  
> especially since, at one point, I realized the discrepancy could not  
> only be generated by different array sizes, but also on the inclusion  
> of an irrelevant variable declaration!!!
> 

The above statement imake me think that you certainly have
a memory problem.  Are you passing a default real to a routine
that expects a double precision?  Are you using common blocks
where the data types are mismatched?  Try adding -fbounds-check
to see if you are corrupting memory by stepping of the end of
an array.

Without seeing the code, we really can't be of more help.

-- 
Steve



More information about the Fortran mailing list