purify-like tools working also for fortan 90?

T

tomekj

Hello Everyone -

I posted this question in Fortran section few days ago, but got no
replies so far - so I post it again here:

I would appreciate if someone could suggest some momory debugging tools
for fortran 90 - analogous to Purify. Actually, Purify works to some
extent with fortran 90 executables, but apparently signals as errors all
memory allocations (as UMR - uninitialized memory read) and
deallocations (as ABR - array bounds read) -- so it is difficult to
isolate the real errors.

Another possibility I tried was Electric Fence, but that usually stops
right away at the first allocation.

I would appreciate any information on commercial or non-commercial tools
of that kind, or maybe some tricks to be played with Purify.

Thomas
 
S

stelios xanthakis

tomekj said:
Hello Everyone -

I posted this question in Fortran section few days ago, but got no
replies so far - so I post it again here:

I would appreciate if someone could suggest some momory debugging tools
for fortran 90 - analogous to Purify. Actually, Purify works to some
extent with fortran 90 executables, but apparently signals as errors all
memory allocations (as UMR - uninitialized memory read) and
deallocations (as ABR - array bounds read) -- so it is difficult to
isolate the real errors.

The 'valgrind' x86 memory error detector is an ass-kicking tool,
it emulates an entire CPU and catches using uninitialized data,
mallocs, frees, etc. Much better than purify.

It will work as long as the executable has debugging information.

It only supports x86 executables and is known to work for the GNU/linux
system. It was developed for KDE.

http://freshmeat.net/projects/valgrind/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top