Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1696 Discussions

Memory debugging tool for multithreaded applications

rashed_iqbal
Beginner
415 Views
I am looking for a memory debugging tool which supports memory debugging (detection of allocation errors, bound violations, and leaks) on Windows platform.

My application is a large program written in C/C++ (Intel C/C++ compiler) and FORTRAN 90 (Intel FORTRAN compiler) with OpenMP.

We have tried IBM Purify but did not work out very well (too many false signals too often for the mixed language (C/C++ and FORTRAN) code - seems to work fine with C/C++ only code though). Unfortunately MemoryScape is not available on Windows.

Kindly let me know if anyone has used or know of such a tool.

Thank you,

-rashed
0 Kudos
5 Replies
jimdempseyatthecove
Honored Contributor III
415 Views

Hi Rashed,

Many years ago there was a product named BoundsCheckerby a company called NuMega. An excellent product. Some years ago this company was purchased by Compuware and they continuedoffer a product of the same name, but from my understanding, the original development team was not acquired or kept on board. As a resultcontinued development faltered. I have not recently used the Compuware version so I cannot attest for its features or capabilities or ifCompuware has re-assembled a top-notched development team for this product.They may have a trial version for you to use.

If you need any help in locating difficult bugs, maybe I can help you further.

Jim Dempsey

0 Kudos
rashed_iqbal
Beginner
415 Views
Hello Jim,

The product and the company are still alive: http://www.compuware.com/products/devpartner/visualc.htm. In fact one of our teams have used this product. It's tied to C/C++ unfortunately.

At this point in time we are looking specifically for tools. We have used a number of home grown utilities in addition to a couple of products but I thought that with multicore revolution upon us, this largely neglected area might have gotten some attention for mixed language assemblies (C/C++ and FORTRAN) too. It does not appear to be the case.

Thanks so much,

-rashed
0 Kudos
threadguy
Beginner
415 Views
Quoting - rashed_iqbal
Hello Jim,

The product and the company are still alive: http://www.compuware.com/products/devpartner/visualc.htm. In fact one of our teams have used this product. It's tied to C/C++ unfortunately.

At this point in time we are looking specifically for tools. We have used a number of home grown utilities in addition to a couple of products but I thought that with multicore revolution upon us, this largely neglected area might have gotten some attention for mixed language assemblies (C/C++ and FORTRAN) too. It does not appear to be the case.

Thanks so much,

-rashed

Hi Rashed - have you tried some of the tools that are around for cluster developers - like Allinea's DDT (www.allinea.com) - that has a memory debugger for fortran, C and C++ that seems to do just what you ask for. There are other products from other companies too, but I've not tried those.

Threadguy

0 Kudos
srimks
New Contributor II
415 Views
Quoting - rashed_iqbal
I am looking for a memory debugging tool which supports memory debugging (detection of allocation errors, bound violations, and leaks) on Windows platform.

My application is a large program written in C/C++ (Intel C/C++ compiler) and FORTRAN 90 (Intel FORTRAN compiler) with OpenMP.

We have tried IBM Purify but did not work out very well (too many false signals too often for the mixed language (C/C++ and FORTRAN) code - seems to work fine with C/C++ only code though). Unfortunately MemoryScape is not available on Windows.

Kindly let me know if anyone has used or know of such a tool.

Thank you,

-rashed

Hi.

Check TotalView Debugger, it certainly answers more than what you need.

Link: http://www.totalviewtech.com/

~BR

0 Kudos
qn2000
Beginner
415 Views
Quoting - srimks
Quoting - rashed_iqbal
I am looking for a memory debugging tool which supports memory debugging (detection of allocation errors, bound violations, and leaks) on Windows platform.

My application is a large program written in C/C++ (Intel C/C++ compiler) and FORTRAN 90 (Intel FORTRAN compiler) with OpenMP.

We have tried IBM Purify but did not work out very well (too many false signals too often for the mixed language (C/C++ and FORTRAN) code - seems to work fine with C/C++ only code though). Unfortunately MemoryScape is not available on Windows.

Kindly let me know if anyone has used or know of such a tool.

Thank you,

-rashed

Hi.

Check TotalView Debugger, it certainly answers more than what you need.

Link: http://www.totalviewtech.com/

~BR


Check out valgrind at http://www.valgrind.org/
0 Kudos
Reply