CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Ftnchek

Ftnchek

From CFD-Wiki

(Difference between revisions)
Jump to: navigation, search
(Reworked text that had been copied from the website)
 
Line 1: Line 1:
-
ftnchek is a static analyzer for Fortran 77 programs. It is designed to detect certain errors in a Fortran program that a compiler usually does not. ftnchek is not primarily intended to detect syntax errors. Its purpose is to assist the user in finding semantic errors. Semantic errors are legal in the Fortran language but are wasteful or may cause incorrect operation. For example, variables which are never used may indicate some omission in the program; uninitialized variables contain garbage which may cause incorrect results to be calculated; and variables which are not declared may not have the intended type. ftnchek is intended to assist users in the debugging of their Fortran program. It is not intended to catch all syntax errors. This is the function of the compiler. Prior to using ftnchek, the user should verify that the program compiles correctly.
+
ftnchek is a static analyzer for Fortran 77 programs. It intended to detect defects in Fortran code that are legal but may cause problems. As such, it is not a debugger, but will find issues like
 +
* unused variables
 +
* uninitialized variables
 +
The program will not catch all syntax errors, so it should be used in conjunction with a compiler.
==External Link==
==External Link==
*[http://www.dsm.fordham.edu/~ftnchek/ Ftnchek homepage]
*[http://www.dsm.fordham.edu/~ftnchek/ Ftnchek homepage]

Latest revision as of 19:06, 7 June 2007

ftnchek is a static analyzer for Fortran 77 programs. It intended to detect defects in Fortran code that are legal but may cause problems. As such, it is not a debugger, but will find issues like

  • unused variables
  • uninitialized variables

The program will not catch all syntax errors, so it should be used in conjunction with a compiler.

External Link

My wiki