The samples included with Intel(R) Visual Fortran 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*, 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 Area |
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* pragmas 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. |
These samples are provided as Microsoft Visual Studio .NET 2003* solutions (and can be used with Microsoft Visual Studio 2005*), along with a build file that builds the Fortran (and C where provided) files from the command line. Some of these samples have a readme.txt file included.
Samples Area |
Location |
Sub-Directories and Sample Descriptions |
---|---|---|
Dialogs | ..\sample\dialog\ |
|
DLLs | ..\sample\dll\ |
|
Exception Handling | ..\sample\exceptionhandling\ |
|
Miscellaneous | ..\sample\miscellaneous\ |
|
Mixed Language Support | ..\sample\mixedlanguage\ |
|
OpenGL* | ..\sample\opengl\ |
|
QuickWin Applications | ..\sample\quickwin\ |
|
Win32 Applications | ..\sample\win32\ |
|