How to disable "optimization" in Linux?

How to disable "optimization" in Linux?

Hi allI am working on my Fortran program using Intel Visual Fortran 11.1.038.I diabled the "optimization" for "Release" option in Visual Studio by usingProject-->Properties-->Fortran-->Genetral-->OptimizationDisable (/Od)
Do you know how could I do this in Linux environment?What should I do for the make file?Thanks a lot!Kevin

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Kevin,

You need to add '-O0' to your command line.

Regards!
Dmitry

DmitryIt works!Thanks a lot!Kevin

Leave a Comment

Please sign in to add a comment. Not a member? Join today