 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
tomekj Guest
|
Posted: Tue Oct 28, 2003 6:09 am Post subject: purify-like tools working also for fortan 90? |
|
|
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
--
Posted via http://dbforums.com
|
|
| Back to top |
|
 |
stelios xanthakis Guest
|
Posted: Wed Oct 29, 2003 8:08 am Post subject: Re: purify-like tools working also for fortan 90? |
|
|
tomekj <member45662 (AT) dbforums (DOT) com> wrote
| Quote: | 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/
|
|
| Back to top |
|
 |
tomekj Guest
|
Posted: Wed Oct 29, 2003 10:50 pm Post subject: Re: purify-like tools working also for fortan 90? |
|
|
Originally posted by Stelios Xanthakis
| Quote: | tomekj <member45662 (AT) dbforums (DOT) com> wrote in message
news:<3529991.1067321363 (AT) dbforums (DOT) com>...
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/"]http://freshmeat.net/p-
rojects/valgrind/[/url]
|
Thanks for the advice - I will try it (although I would like to have
something running on Unix, particularly Irix).
Regards,
Thomas
--
Posted via http://dbforums.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|