By default, all Fortran source files are separately compiled into individual object files.
If you want to allow full interprocedural optimizations to occur, you must use the -ipo (Linux OS and Mac OS X) or /Qipo (Windows OS) option.
By default, compilation is done with -O2 (Linux OS and Mac OS X) or /O2 (Windows). If you want to see if your code will benefit from some added optimizations, use O3. These aggressive optimizations may or may not improve your code speed.
Copyright © 1996-2010, Intel Corporation. All rights reserved.