24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

threads[=N] | nothreads<br />

threads[=N] runs the number of parallel threads that are available, or as<br />

specified by N. N must be a positive integer. nothreads does not run any<br />

parallel threads. This is equivalent to running one serial thread.<br />

unknown=procedure_names<br />

Specifies a list of procedures that are not compiled with -qipa. Any<br />

procedure specified as “unknown” may make calls to other parts of the<br />

program compiled with -qipa and modify global variables and dummy<br />

arguments.<br />

The primary use of isolated, missing, pure, safe, and unknown is to specify how<br />

much optimization can safely be per<strong>for</strong>med on calls to library routines that are not<br />

compiled with -qipa.<br />

The following compiler options have an effect on the link-time phase of -qipa:<br />

-qlibansi | -qnolibansi<br />

Assumes that all functions with the name of an ANSI C defined library<br />

function are, in fact, the library functions.<br />

-qlibessl | -qnolibessl<br />

Assumes that all functions with the name of an ESSL defined library<br />

function are, in fact, the library functions.<br />

-qlibposix | -qnolibposix<br />

Assumes that all functions with the name of a POSIX 1003.1 defined<br />

library function are, in fact, the system functions.<br />

-qthreaded<br />

Assumes that the compiler will attempt to generate thread-safe code.<br />

Applicable Product Levels<br />

This option is similar but not identical to the -qipa option of <strong>XL</strong> <strong>Fortran</strong> Version 3.<br />

If you have makefiles that already contain the -qipa option, modify them as<br />

needed to use the new suboption names.<br />

Rules<br />

Regular expressions are supported <strong>for</strong> the following suboptions:<br />

exits<br />

inline<br />

lowfreq<br />

noinline<br />

pure<br />

safe<br />

unknown<br />

Syntax rules <strong>for</strong> regular expressions are described below.<br />

Table 15. Regular expression syntax<br />

Expression<br />

string<br />

^string<br />

Description<br />

Matches any of the characters specified in<br />

string. For example, test will match<br />

testimony, latest, intestine.<br />

Matches the pattern specified by string only<br />

if it occurs at the beginning of a line.<br />

<strong>XL</strong> <strong>Fortran</strong> Compiler-Option Reference 185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!