HP Fortran Programmer's Guide (March 2010)

Performance and optimization
Controlling code generation for performance
Chapter 6 177
Controlling code generation for performance
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 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” on page 87.