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 />

Calling libU77 and BLAS routines<br />

EXTERNAL FLUSH<br />

See “EXTERNAL (statement and attribute)” on page 324 for a description of the EXTERNAL<br />

statement and attribute. As noted in the description, the attribute form of EXTERNAL cannot<br />

be used with subroutines, which must therefore be specified in the statement form.<br />

Man pages<br />

You can get detailed, online information for any libU77 or BLAS routine by using the man<br />

command to display an online reference page for that routine. The command-line syntax for<br />

the man command is:<br />

man section_number routine_name<br />

where section_number is either 3f (for libU77) manpagesor3x (for BLAS); and<br />

routine_name isthenameofthelibU77 or BLAS routine. For example, to display the man<br />

page for the libU77 routine FLUSH, give the command:<br />

$ man 3f flush<br />

TodisplaythemanpagefortheBLASroutineSAXPY, give the command:<br />

$ man 3x saxpy<br />

Two of the BLAS man pages provide general information about the BLAS routines: blas1(3x)<br />

describes basic vector operations, and blas2(3x) describes basic matrix operations.<br />

610<br />

Chapter 12

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

Saved successfully!

Ooh no, something went wrong!