Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Fortran 90 Compiler for HP-UX: Fortran 90 Programmer's Guide > Chapter 6 Performance and optimization

Controlling code generation for performance

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

For optimum performance, the executable program should consist of code that can take advantage of the hardware features of the machine on which the program will run. If your program will run on the same machine as you use to compile it, code generation is not an issue. By default, the HP Fortran 90 compiler generates code for the model of the machine on which you are running the compiler.

However, if you are compiling on a different machine from the one on which the program will run, you should use the +DAmodel option to ensure that the compiler generates code based on the target architecture. For information about using this option, see “Compiling for different PA-RISC machines”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.