Included Samples

The samples included with the Intel(R) Fortran compiler are designed to illustrate specific compiler optimizations, features, tools, and programming concepts.

Many of the samples are small, single source files intended to illustrate the associated concept in a general way. The sample sources contain the command line options and, where applicable, environment settings needed for compilation on Linux*, Mac OS* X, and Windows*.

See Included Samples in Optimizing Applications for details on finding complete build instructions for these samples.

Some of these samples are meant to illustrate features during compilation only and do not result in executables.

Compiler Feature

Location

Description

Automatic optimizations ../samples/optimize/

Illustrates how to use the automatic compiler options to quickly change the performance of an application.

Profile-guide Optimization (PGO) ../samples/pgo_samples/

Illustrates profiling an application, generating PGO compiler reports, and using the code-coverage and test-prioritization tools

Interprocedural Optimization (IPO) ../samples/ipo_samples/

Illustrates using multi-file IPO compilation and generating IPO compiler reports.

OpenMP* support ../samples/openmp_samples/

Illustrates using OpenMP* directives to create multi-threaded applications.

Vectorization ../samples/vec_samples/

Illustrates loops that will and will not vectorize on specific architectures. These samples also illustrate using the vectorization reporting features.

Cluster OpenMP* ../samples/cluster/

Demonstrates Cluster OpenMP* support. Can be used on systems based on IA-64 or Intel(R) 64 architectures.

See the README.txt file included with the sample files. Refer to the Cluster OpenMP* User Manual for more information about the configuration files and setting up clusters.