# qopt-report-annotate-position, Qopt-report-annotate-position

Enables the annotated source listing feature and specifies the site where optimization messages appear in the annotated source in inlined cases of loop optimizations. This feature is only available for ifort.

## Syntax

Linux: | -qopt-report-annotate-position=keyword

macOS: | -qopt-report-annotate-position=keyword

Windows: | /Qopt-report-annotate-position:keyword

## Arguments

keyword | Specifies the site where optimization messages appear in the annotated source. You can specify one of the following:
caller | Indicates that the messages should appear in the caller site.
callee | Indicates that the messages should appear in the callee site.
both | Indicates that the messages should appear in both the caller and the callee sites.

## Default

OFF | No annotated source listing is generated

## Description

This option enables the annotated source listing feature and specifies the site where optimization messages appear in the annotated source in inlined cases of loop optimizations.

This option enables option [q or Q]opt-report-annotate if it is not explicitly specified.

If annotated source listing is enabled and this option is not passed to compiler, loop optimizations are placed in caller position by default.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Optimization Report Options

## See Also

qopt-report, Qopt-report compiler option (ifort)
qopt-report-annotate, Qopt-report-annotate compiler option