Hi,
I searched the archive and found nothing about my problem.
I must verify (in terms of algorithms, project standard, ....)
some source codes written in fortran 90, and I need
to be sure that all variables used in the code are initialized
before use, especially for tables and derived type.
I have access to several compilers:
- Sun Workshop with f90 versions 1.2 and 2.0
- HP-UX with f90 v2.3 (I know less about this kind of machine
and compiler, but enough to compile my codes ...)
I search among the man pages of these compilers, but found nothing
(I was not able to find an appropriate option) ...
As anybody a clue to perform such check (with the use of an appropriate
option of compilation for instance)?
I suppose that a tool will be only able to check out if the variable
is on the left side of the equal sign "=", and will not be able
to analyse the structure of the code (if or while structure for example),
but it will be useful anyway ....
For my fortran 77 codes, I used ftnchek.
Thanks.
Guylaine Prat
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|