C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

purify-like tools working also for fortan 90?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
tomekj
Guest





PostPosted: Tue Oct 28, 2003 6:09 am    Post subject: purify-like tools working also for fortan 90? Reply with 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.

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





PostPosted: Wed Oct 29, 2003 8:08 am    Post subject: Re: purify-like tools working also for fortan 90? Reply with quote



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





PostPosted: Wed Oct 29, 2003 10:50 pm    Post subject: Re: purify-like tools working also for fortan 90? Reply with quote




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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.