> From [log in to unmask] Thu Oct 15 06:04:57 1998
> I used to check the memory acces of my F77 code with the
> Purify tool form Rational on SUN or SGI workstations. Now I
> am working with F90 and Purify does not support any of
> F90 compilers available on theses platforms.
> Is there anyone out there that knows a sofware with the same
> capabilities as Purify that supports F90 developpement environment ?
Although Rational does not claim to support Purify for F90, I
have found that in fact on SGI it works pretty well. So please
try it.
Bugs are: it complains about something (I forget what) when you
issue an ALLOCATE statement, and there are lots of UMRs that
seem to be red herrings.
But if you suppress UMR, things seem to work well.
My experience was with SGI's 7.2 compilers under IRIX 6.3 on
an r5k O2.
Parasoft has a competing product, by the way, but it is based
on source-code instrumentation analysis and does not support Fortran
at all.
On UNIX, ALLOCATE is probably implemented, underneath, using
malloc(). If so, then linking with one of the debugging malloc
packages (like dbmalloc) would be worth a try; SGI's ProDev
compilers also supply you with such an option, and there's
even special support in CaseVision for analysis of the results;
however, since CaseVision still doesn't work right with F90,
I'm not sure how far this would get you.
Finally, F90 itself gives you some facilities that are missing
from C that supply some of the functionality you need. For
example, if you are always careful to check the return status
of ALLOCATE and DEALLOCATE, you can catch things that, in C,
you could only get from Purify (like attempting to free an already
free-ed array).
If you get anywhere, please tell the list about it.
-P.
*** "Freedom's just another word for nothing left to lose." (B. Yeltsin)***
*Peter Shenkin; Chemistry, Columbia U.; [log in to unmask] (212)854-5143*
*MacroModel WWW page: http://www.columbia.edu/cu/chemistry/mmod/mmod.html *
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|