HP Fortran Programmer's Guide (B3908-90031; September 2011)

Chapter 6 141
6 Performance and optimization
This chapter describes how to use different features of HP Fortran to tune your program for optimum
performance. The most important of these features is the optimizer. You invoke the optimizer when
compiling your program by specifying either +On (where n represents the level of optimization to be applied
to your program) or the -O option for the default level of optimization (level 2). The -O option is provided