Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Supress remark #6375 message

cean
New Contributor I
310 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
Black Belt Retired Employee
293 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 I
284 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.

Steve_Lionel
Black Belt Retired Employee
275 Views

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

Reply