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.

Outline of the Porting Process . . . . . . . . 397<br />

Maintaining FORTRAN 77 Source and Object Code 397<br />

Portability of Directives . . . . . . . . . . 397<br />

NEW . . . . . . . . . . . . . . . 399<br />

Common Industry Extensions That <strong>XL</strong> <strong>Fortran</strong><br />

Supports . . . . . . . . . . . . . . . 400<br />

Mixing Data Types in Statements . . . . . . 400<br />

Date and Time Routines . . . . . . . . . 400<br />

Other libc Routines . . . . . . . . . . 400<br />

Changing the Default Sizes of Data Types . . . 401<br />

Name Conflicts between Your Procedures and<br />

<strong>XL</strong> <strong>Fortran</strong> Intrinsic Procedures . . . . . . 401<br />

Reproducing Results from Other Systems . . . 401<br />

Finding Nonstandard Extensions . . . . . . 401<br />

Answers to Frequently Asked<br />

Questions . . . . . . . . . . . . . 403<br />

Finding the Date and Time . . . . . . . . . 403<br />

Efficient Static Linking . . . . . . . . . . 403<br />

Appendix A. Sample <strong>Fortran</strong><br />

Programs . . . . . . . . . . . . . 405<br />

Example 1 - <strong>XL</strong> <strong>Fortran</strong> Source File . . . . . . 405<br />

Execution Results . . . . . . . . . . . 405<br />

Example 2 - Valid C Routine Source File . . . . 406<br />

Example 3 - Valid <strong>Fortran</strong> SMP Source File . . . 408<br />

Example 4 - Invalid <strong>Fortran</strong> SMP Source File . . . 408<br />

Programming Examples Using the Pthreads<br />

Library Module . . . . . . . . . . . . 409<br />

Appendix B. <strong>XL</strong> <strong>Fortran</strong> Technical<br />

In<strong>for</strong>mation . . . . . . . . . . . . 411<br />

The Compiler Phases . . . . . . . . . . .411<br />

External Names in the<strong>XL</strong> <strong>Fortran</strong>Shared Libraries 411<br />

The <strong>XL</strong> <strong>Fortran</strong> Run-Time Environment. . . . .411<br />

External Names in the Run-Time Environment 412<br />

Technical Details of the -qfloat=hsflt Option . . . 412<br />

Implementation Details <strong>for</strong> -qautodbl Promotion<br />

and Padding . . . . . . . . . . . . . 413<br />

Terminology. . . . . . . . . . . . . 413<br />

Examples of Storage Relationships <strong>for</strong> -qautodbl<br />

Suboptions . . . . . . . . . . . . . 414<br />

Appendix C. Using the Mathematical<br />

Acceleration Subsystem (MASS) . . . 419<br />

Using the Scalar Library. . . . . . . . . . 419<br />

Using the Vector Libraries . . . . . . . . . 420<br />

Consistency of MASS Vector Functions . . . . 422<br />

Compiling and Linking a Program with MASS . . 423<br />

Using libmass.a with the Standard Intrinsic<br />

Functions. . . . . . . . . . . . . . 423<br />

Appendix D. <strong>XL</strong> <strong>Fortran</strong> Internal Limits 425<br />

Notices . . . . . . . . . . . . . . 427<br />

Programming Interface In<strong>for</strong>mation . . . . . . 429<br />

Trademarks and Service Marks . . . . . . . 429<br />

Glossary . . . . . . . . . . . . . 431<br />

INDEX . . . . . . . . . . . . . . 441<br />

Contents<br />

vii

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

Saved successfully!

Ooh no, something went wrong!