02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

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.

BLAS and libU77 libraries<br />

The libU77 library provides routines that have a <strong>Fortran</strong> 90 interface for system routines in<br />

the libc library. The libU77 routines make it easier to call <strong>HP</strong>-UX system-level routines<br />

from <strong>Fortran</strong> 90 programs because they use <strong>Fortran</strong> 90 argument-passing conventions. The<br />

libU77 routines are also compatible with other <strong>Fortran</strong> implementations that supply these<br />

routines by default.<br />

NOTE Even though system routines use different argument-passing rules from<br />

<strong>HP</strong> <strong>Fortran</strong> programs, you can call these routines from <strong>HP</strong> <strong>Fortran</strong> programs<br />

by using the %VAL and %REF built-in functions to change how arguments are<br />

passed. For more information about %VAL and %REF, see “%VAL and %REF<br />

built-in functions” on page 146.<br />

The Basic Linear Algebra Subroutine (BLAS) library consists of a set of routines that perform<br />

low-level vector and matrix operations. These routines have been tuned for maximum<br />

performance and are callable from <strong>HP</strong> <strong>Fortran</strong> programs. For information about the<br />

background and significance of the BLAS library, refer to the LAPACK User’s Guide, byE.<br />

Anderson et al (SIAM Press, 1992).<br />

The following sections considerations to keep in mind when writing and compiling a program<br />

that calls routines from the BLAS or libU77 library, and briefly describes the routines in the<br />

libraries. For information about other libraries that are shipped with <strong>HP</strong> <strong>Fortran</strong>, including<br />

how to create and link libraries with your programs—refer to the <strong>HP</strong> <strong>Fortran</strong> Programmer’s<br />

Guide.<br />

606<br />

Chapter 12

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

Saved successfully!

Ooh no, something went wrong!