purify-like tools working also for fortan 90?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tomekj

    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
  • stelios xanthakis

    #2
    Re: purify-like tools working also for fortan 90?

    tomekj <member45662@db forums.com> wrote in message news:<3529991.1 067321363@dbfor ums.com>...[color=blue]
    > 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.
    >[/color]

    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.

    Free, secure and fast downloads from the largest Open Source applications and software directory - SourceForge.net

    Comment

    • tomekj

      #3
      Re: purify-like tools working also for fortan 90?


      Originally posted by Stelios Xanthakis
      [color=blue]
      > tomekj <member45662@db forums.com> wrote in message
      > news:<3529991.1 067321363@dbfor ums.com>...[/color]
      [color=blue][color=green]
      > > Hello Everyone -[/color][/color]
      [color=blue][color=green]
      > >[/color][/color]
      [color=blue][color=green]
      > > I posted this question in Fortran section few days ago, but got[/color]
      > no[/color]
      [color=blue][color=green]
      > > replies so far - so I post it again here:[/color][/color]
      [color=blue][color=green]
      > >[/color][/color]
      [color=blue][color=green]
      > > I would appreciate if someone could suggest some momory[/color]
      > debugging tools[/color]
      [color=blue][color=green]
      > > for fortran 90 - analogous to Purify. Actually, Purify works to[/color]
      > some[/color]
      [color=blue][color=green]
      > > extent with fortran 90 executables, but apparently signals as[/color]
      > errors all[/color]
      [color=blue][color=green]
      > > memory allocations (as UMR - uninitialized memory read) and[/color][/color]
      [color=blue][color=green]
      > > deallocations (as ABR - array bounds read) -- so it is difficult[/color]
      > to[/color]
      [color=blue][color=green]
      > > isolate the real errors.[/color][/color]
      [color=blue][color=green]
      > >[/color][/color]
      [color=blue]
      >[/color]
      [color=blue]
      > The 'valgrind' x86 memory error detector is an ass-kicking tool,[/color]
      [color=blue]
      > it emulates an entire CPU and catches using uninitialized data,[/color]
      [color=blue]
      > mallocs, frees, etc. Much better than purify.[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > It will work as long as the executable has debugging information.[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > It only supports x86 executables and is known to work for the
      > GNU/linux[/color]
      [color=blue]
      > system. It was developed for KDE.[/color]
      [color=blue]
      >[/color]
      [color=blue]
      > http://freshmeat.net/projects/valgrind/"]http://freshmeat.net/p-
      > rojects/valgrind/[/url][/color]



      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

      Comment

      Working...