Are there any FORTRAN compilers/viewers that let you see the dependencies of a given module? (or a type within a module)?

Not a compiler, but there is SciTools Understand, which supports several languages, Fortran included (they also keep up with the times in respect to the latest Standards). If I'm understanding your question right, it is a specialized tool for precisely that kind of analysis.

Cool - thanks! Yeah, I don't need a compiler - just a viewer. I'm trying it out right now, but the full program costs $995.

=/ – InquilineKea Sep 3 at 23:43 1 @InquilineKea - I used to use an old version (not sure which one but it was some 5 years ago so I could hazard a guess) and for rewriting/maintaining large projects it's a lifesaver (modernizing f77/90 to more modern form of f2003+intel's compiler extensions as well as adding some functionality). We had a few licenses at the office, and it is well worth its price. True, it is a little high price for personal needs, but nowadays what software price isn't?

And if the business model is solid, the price of software tools isn't usually hard to justify. – Rook Sep 4 at 0:07 If your codebase isn't too big, you could do this kind of job by hand (get yourself a big sheet of paper and literally draw it down). – Rook Sep 4 at 0:13 1 @InquilineKea - Download and reuse trial versions?

– Rook Sep 6 at 23:10 1 @InquilineKea - Well, it seems to me you've got three options: a) buy a copy b) fiddle with the trial copy or c) find somewhere an illegal copy (I wouldn't recommend the last one, but I realize it is an option for some). I unfortunatelly don't know of any alternative programs of the kind, sorry ... – Rook Sep 6 at 23:36.

A UNIX and Linux Forums post suggests ftnchek, which may not be the most user-friendly way to accomplish this task but has the advantage of being free.

Also, a bit outdated. It does not support modern Fortran features; well, at least it didn't the last time I tried it; and the above is clearly one of the newer flavours. +1 nevertheless, for it's good that it's here, at least as a reference to those working with f77 code.

– Rook Sep 6 at 22:30 Oh - thanks very much! I think my code is f90, but I'll look more into it. – InquilineKea Sep 6 at 22:57 1 @InquilineKea - Your code is definitely of f90 variety or newer (depending on what features you use).

Nt: MODULE – Rook Sep 6 at 23:10.

Hmm - I just found something: Fortran 90 to HTML. It produces some interesting results, which you can see at cesm.ucar.edu/models/atm-cam/docs/cam3.0... . Not a perfect emulation to SciTools understand, but a lot better than nothing.

I'm using PowerGREP to find all the dependencies of a module and of module variables of a Fortran code, but it's not an interface that's idealized for this. Can anyone suggest any other tools for this? For example, I'd like to see every .

F90 file where the type with the day label is used (see code below). I use Windows 7, but feel free to mention anything that works on Linux too.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions