CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   About "Release" mode (http://www.cfd-online.com/Forums/main/10379-about-release-mode.html)

Alex November 29, 2005 08:11

About "Release" mode
 
I use Fortran powerstation. Although the code runs O.K. under "Debug" mode, there are strange mistakes occuring under "Release" mode. Has anybody met such situation?

buch November 29, 2005 10:30

Re: About "Release" mode
 
Hi,

You should carefully check all the options you use in the release mode. In particular, the reordering of operations or the loop transformation can induce errors.

Regards

Buch

Alex November 29, 2005 20:54

Re: About "Release" mode
 
Thank! But why in "debug" mode, we cannot see the mistake?


buch November 30, 2005 05:24

Re: About "Release" mode
 
Hi,

Usually in the debug mode you do not see the mistakes due to the optimizations simply because the optimisation options are turned off ;-)

You may try to use the release mode, increasing the number of compilation options asked for efficiency.

I think your compiler manual will be of great help to identify, and possibly turn off, which optimisation options are the most "agressive".

Good luck

Buch


All times are GMT -4. The time now is 19:16.