Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Suppress "loop vectorized" etc

bredsj
Novice
501 Views
I am a beginner Fortran programmer in the Linux (Ubuntu) environment. I am sure this is a FAQ but I really appreciate help on this topic.

When compiling in Linux my console is cluttered with "loop vectorized" and similar messages. Is it possible (and advisable) to switch these messages off?

Thanks in advance.
0 Kudos
3 Replies
Ron_Green
Moderator
501 Views
Two ways to turn it off:

-vec-report0

OR use a new compiler, as in 11.1.x the default is -vec-report0. On older compilers the default was -vec-report1

It's just a report trying to tell you where the compiler found optimization opportunities. No harm to turn it off.

ron
0 Kudos
bredsj
Novice
501 Views
Thank you very much, what a quick responce!!!!
0 Kudos
Ron_Green
Moderator
501 Views
You're welcome. We try to answer our questions here quickly, your time is valuable.

ron
0 Kudos
Reply