[MITgcm-devel] Beaufort experiment on mac os x

Menemenlis, Dimitris (3248) Dimitris.Menemenlis at jpl.nasa.gov
Thu Mar 15 13:27:44 EDT 2012


Martin, from Torge's message:
> same error occurs with -O2
So it looks he may need to reduce optimization level even more.

Torge, could you try to add to NOOPTFILE-list
as per Martin's suggestion, or use "-O0".

I just updated my own copy of code, to get
Jean-Michel's latest gmredi_calc_psi_bvp.F
and I compile/run fine on my older Mac with
older compiler version and standard "-O3" optfile.

Dimitris Menemenlis

On Mar 15, 2012, at 10:21 AM, Martin Losch wrote:

> It looks again like an optimization problem within the compiler.
> 
> Jean-Michel just changed gmredi_calc_psi_bvp.F so maybe you want to put that into the NOOPTFILE-list as well, although I think we should revisit why it has problems after the update. 
> 
> The alternative is (as usual) to reduce to -O2 in general, because gfortran is obviously not bug-free (it's open-source free software, so I don't blame them). You could summit a bugreport (to bugzilla).
> 
> Martin
> 




More information about the MITgcm-devel mailing list