Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

How do I turn off vectorization in the 10.1 version of Fortran

crtierney42
New Contributor I
394 Views
According to the release notes for 10.1, under the section "Improved Parallelizer and Vectorizer" it says that vectorization is turned on by default for optimization levels of -O2 and -O3.

How do I turn that off? I want the rest of the options that come along with those levels, but vectorization slows my code down.

Thanks,
Craig
0 Kudos
1 Reply
TimP
Honored Contributor III
394 Views
Where you don't want vectorization, -O1 usually is a good choice.The alternativeis-vec-
0 Kudos
Reply