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

Why does -cm not suppress comments?

mbkennel
Beginner
394 Views
I am trying to figure out what the -cm option does.

For instance if I compile something with -cm, I still
get lines like

module SUBMOD
program MAIN

22 Lines Compiled

-----
This is unlike C compilers, e.g., which are quiet when given error free programs.


I have a Makefile which ends up compiling things many times , and in my circumstance this results in a very long megilla of messages like the above. I want to suppress them so that it is much easier to see actual error messages when they occur.

How can I get such messages to be suppressed?
0 Kudos
2 Replies
cp_jain
Beginner
394 Views
Hi
As mentioned in users guide:
-cm option disables "messages that indicate valid but unadvisable use of the language being compiled"

"# lines compiled" kind of message does not come under this category and hence not disabled with this option.

AFAIK there is no option to disable such messages.
You can redirect your output to some file and process it to get actual errors.



cp
0 Kudos
Steven_L_Intel1
Employee
394 Views
I believe these "progress" messages will go away in a future version.

Steve
0 Kudos
Reply