Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
2022 Discussions

How to disable "optimization" in Linux?

watercube
Beginner
265 Views
Hi all
I am working on my Fortran program using Intel Visual Fortran 11.1.038.
I diabled the "optimization" for "Release" option in Visual Studio by using
Project-->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
0 Kudos
2 Replies
Dmitry_K_Intel2
Employee
265 Views
Kevin,

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

Regards!
Dmitry
watercube
Beginner
265 Views
Dmitry
It works!
Thanks a lot!
Kevin
Reply