CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   About "Release" mode (

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

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.



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

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


All times are GMT -4. The time now is 06:55.