dcl2inc

Semantic checker for Fortran 77 programs

Install

All systems
curl cmd.cat/dcl2inc.sh
Debian Debian
apt-get install ftnchek
Ubuntu
apt-get install ftnchek
image/svg+xml Kali Linux
apt-get install ftnchek
Fedora
dnf install ftnchek
Windows (WSL2)
sudo apt-get update sudo apt-get install ftnchek
Raspbian
apt-get install ftnchek

ftnchek

Semantic checker for Fortran 77 programs

ftnchek (short for Fortran checker) is a tool designed to detect certain errors in a Fortran program that a compiler usually does not, thus assisting users in the debugging of their Fortran programs. Unlike syntax 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 can also be used to provide call-trees, cross-reference of subprogram calls and COMMON blocks usage, source listings, symbol tables and other things you might find useful when debugging a Fortran program.