Intel® Fortran Compiler 17.0 Developer Guide and Reference

watch

Tells the compiler to display certain information to the console output window.

Syntax

Linux and macOS:

-watch[=keyword[, keyword...]]

-nowatch

Windows:

/watch[:keyword[, keyword...]]

/nowatch

Arguments

keyword

Determines what information is displayed. Possible values are:

none

Disables cmd and source.

[no]cmd

Determines whether driver tool commands are displayed and executed.

[no]source

Determines whether the name of the file being compiled is displayed.

mic-cmd

Enables display of compiler options that are passed to the offload compilation. This keyword is only available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner).

all

Enables cmd and source.

Default

nowatch

Pass information and source file names are not displayed to the console output window.

Description

Tells the compiler to display processing information (pass information and source file names) to the console output window.

Option watchkeyword

Description

none

Tells the compiler to not display pass information and source file names to the console output window. This is the same as specifying nowatch.

cmd

Tells the compiler to display and execute driver tool commands.

source

Tells the compiler to display the name of the file being compiled.

mic-cmd

Tells the compiler to display the compiler options that are passed to the offload compilation. Only the options that are automatically passed are displayed. If this keyword is specified on an architecture other than Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), results vary. It may be ignored, have no effect, or produce an error.

all

Tells the compiler to display pass information and source file names to the console output window. This is the same as specifying watch with no keyword. For heterogeneous compilation, the tool commands for the host and the offload compilations will be displayed.

IDE Equivalent

None

Alternate Options

watch cmd

Linux and OS X: -v

Windows: None

See Also