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

Supress remark #6375 message

cean
New Contributor II
1,230 Views

Hi,

I want to Suppress remark #6375 messages temporarily.

From this: Remove -ipo remark messages? - Intel Community

I got  '-diag-disable remark', but this command is not working:

ifort -diag-disable remark -c My.for

What is the right one?

Cheers,

Cean

0 Kudos
3 Replies
Steve_Lionel
Honored Contributor III
1,213 Views

Curiously, -diag-disable is omitted from the documentation. (It's /Qdiag-disable on Windows.) I don't have any help on controlling IPO messages.

cean
New Contributor II
1,204 Views

Seems this work:

 

ifort /Qdiag-disable:6375 -c my.for 

 

How do I use it in VS?

Found this from help:

 

/Qdiag-disable:<v1>[,<v2>,...]
          disable the specified diagnostics or diagnostic groups

          where <vN> may be individual diagnostic numbers or group names.
          where group names include:

              openmp     - diagnostics issued by the OpenMP* parallelizer

              warn       - diagnostics that have "warning" severity level
              error      - diagnostics that have "error" severity level
              remark     - diagnostics that are remarks or comments

              vec        - diagnostics issued by the vectorizer
              par        - diagnostics issued by the auto-parallelizer
              cpu-dispatch
                         - specifies the CPU dispatch remarks

 

Thank you very much.

0 Kudos
Steve_Lionel
Honored Contributor III
1,195 Views

In Visual Studio, use Properties > Fortran > Command Line. Type it in under Additional Options.

0 Kudos
Reply