Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
1890 Discussions

How to disable "optimization" in Linux?

watercube
Beginner
140 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
140 Views
Kevin,

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

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