-qslmtags

Pragma equivalent

None.

Purpose

Controls whether SLM Tags logging tracks compiler license usage.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-noslmtags-.   
>>- -q--+-slmtags---+------------------------------------------><

Defaults

-qnoslmtags

Usage

You can specify -qslmtags to enable license usage tracking. When -qslmtags is in effect, the compiler logs compiler license usage in the SLM Tags format, to a location that you can define by specifying the slm_dir attribute of the configuration file. The default location is /var/opt/ibm/xl-compiler/ for a default installation, or $prefix/var/opt/ibm/xl-compiler/ for a nondefault installation, where $prefix is the nondefault installation path. If you change the default of slm_dir, you must create the target directory and set its permissions to be readable, writable, and executable by all compiler users; for example, you can run the following command:
chmod 777 $slm_dir

The compiler logs each compiler invocation as either a concurrent user or an authorized user invocation, depending on the presence of your uid in a file that lists the authorized users.

Predefined macros

None.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us