[Mitgcm-support] Re: SUN compiler at Scripps
mitgcm-support at dev.mitgcm.org
mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:51:13 EDT 2003
Correction for IBM SP3 (blue horizon):
Gradient checks devastating AND
NaN's for 240 timestep (10 day) run.
Occurrence of NaN's at timestep 204 (vs 214 on Scripps SUN).
Suggests a similar structure of the problem on these platforms.
On IBM -O option had been removed, -g option instead.
Patrick Heimbach wrote:
>
> verification/natl_box_adjoint/
> with ecco_c44_e19 and latest merged code:
>
> - OK under Linux
> (Linux twain.lcs.mit.edu 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686)
> - OK on MIT SUN's, e.g. fjord
> (SunOS fjord.mit.edu 5.8 Generic_108528-09 sun4u sparc
> SUNW,Sun-Blade-1000)
> - NaN's on Scripps SUN's after ~50 timesteps with current compiler
> settings
> (SunOS rain.ucsd.edu 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80)
> - No NaN's on IBM SP3 (blue horizon), but devastating
> gradient checks
> NB: code is identical, scp-ed between different platforms
>
> Trouble with "-g" option on Scripps SUN's:
>
> * Using -xtypemap=real:64,double:64,integer:32 with -g:
> f77: Warning: illegal option -xtypemap=real:64,double:64,integer:32
> ignored
> f77: Warning: Optimizer level changed from 0 to 3 to support
> parallelized code
> f77: Warning: -parallel conflicts with -g. -parallel turned off.
> ild: (bad file) Input file /usr/lib/libm.a contains 32-bit relocatable,
> but producing a 64-bit file.
>
> * Using -r8 -i4 with -g:
> f77: Warning: Use -xtypemap for obsolescent -r8 or -dbl; see f77 man
> page.
> f77: Warning: Optimizer level changed from 0 to 3 to support
> parallelized code
> f77: Warning: -parallel conflicts with -g. -parallel turned off.
> ild: (bad file) Input file /usr/lib/libm.a contains 32-bit relocatable,
> but producing a 64-bit file.
>
> * Switching off -stackvar -explicitpar :
> Note: IEEE floating-point exception flags raised:
> Inexact; Underflow; Invalid Operation;
> (code goes wild)
>
> --
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Patrick Heimbach Scripps Institution of Oceanography
> Tel: +1/858/822-4062 Physical Oceanography Research Division
> Fax: +1/858/534-9820 Nierenberg Hall, Room 445
> http://www.sio.ucsd.edu 8605 La Jolla Shores Dr.
> mailto:heimbach at fjord.ucsd.edu La Jolla, CA 92093, USA
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Patrick Heimbach Scripps Institution of Oceanography
Tel: +1/858/822-4062 Physical Oceanography Research Division
Fax: +1/858/534-9820 Nierenberg Hall, Room 445
http://www.sio.ucsd.edu 8605 La Jolla Shores Dr.
mailto:heimbach at fjord.ucsd.edu La Jolla, CA 92093, USA
More information about the MITgcm-support
mailing list