Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Compiler flag on Mira

azamat@anl_gov

New Member
Does the '-Q' compiler flag on Mira and xlf compiler do anything? I couldn't find any documentation for it. Can it be removed without any impact on run-time?
 

jedwards

CSEG and Liaisons
Staff member
This is from an older xlf document, I cannot find anything in recent bluegene specific documents. Try removing it and see if it has any effect.

-Q, -Q!, -Q+, -Q-
Specifies whether internal procedures are inlined or only the internal procedures
identifed in , are inlined or are exempt from inlining. is a list of
internal procedure names that are separated by colons. You must specify at least an
optimization level of -O2 for inlining to take effect with -Q. To turn on inline
expansion for calls to procedures in different scopes, you must also use the
-qipa=inline. The default is no inlining.
 

azamat@anl_gov

New Member
Yes, removing works. The default at -O2 and higher is -qinline=auto. The -qinline flag appears to be a replacement for -Q. It'd be good to omit -Q from Macros to avoid any possible confusion. Thanks.
 
Top