The following lists some of the most basic problems you can encounter during application development and gives suggestions for troubleshooting:
Source code does not compile correctly.
If your source code fails to compile, check for unsupported language extensions. Typically, these produce a syntax error. The best way to resolve problems of this nature is to rewrite the source code so it conforms to the supported Fortran standards and does not contain unsupported extensions.
Program does not run produce expected results.
Use test scenarios that ensure the output matches your expectations. If a test fails, try compiling the files using the -O0 (Linux* OS and Mac OS* X) or /Od (Windows* OS) option, which turns off the optimizer. If the test still fails, it is likely that the source code contains a problem. If your program runs successfully with -O0 (Linux OS and Mac OS X) or /Od (Windows OS), but fails with the default -O2 (Linux OS and Mac OS X) or /O2 (Windows OS), you need to determine which file or files are causing the problem.
Program runs slowly.
Try to determine where your program spends most of its time. Such an analysis will show you which lines of your program are using the most execution time.
Copyright © 1996-2010, Intel Corporation. All rights reserved.