Running results are different for an application from compiling -O0 option and -O3 option

Running results are different for an application from compiling -O0 option and -O3 option

Hi,

    I am running some climate models and met an annoying problem. If the climate model was compiled wih debug mode -O0 (using intel/12.1.9.293 and openmpi 1.4.3), then the running result is totally different from that running model compiled with -O3 option.

    Could someone please tell me if this is normal?  Should a model compiled with debug mode be used in production runs?

     Many thanks.

Cheers,

Lyndon.

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hello Lyndon,

There are intel compiler folks at the C++ forum: Intel® C++ Compiler forum - Intel® Developer Zone

There is a fortran compiler forum at Intel® Fortran Compiler for Linux* and Mac OS X* | Intel® Developer . and Intel Visual Fortran Compiler for Windows forum - Intel® Developer .. 

If you submit your post there, you'll get (IMO) better advice since it looks like a compiler question.

Pat

I re-sbumit my posts there. Thanks Pat...

-Lyndon

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya