|
From: Christopher D. <chr...@ho...> - 2008-06-30 16:11:37
|
Dear Valgrind support, I am interested in using the Helgrind thread error detector tool to detect race conditions in an OpenMP code. It mentions in the valgrind manual: "Runtime support library for GNU OpenMP (part of GCC), at least GCC versions 4.2 and 4.3. With some minor effort of modifying the GNU OpenMP runtime support sources, it is possible to use Helgrind on GNU OpenMP compiled codes. Please contact the Valgrind authors for details." I did not find these instructions in the mailing lists anywhere, so would be grateful to learn how to do this. Please let me know if this is feasible, and whether it is suitable for my particular project. I am working on a mixed Fortran/C MPI code in which we are experimenting with adding OpenMP threads. The program will be compiled using gnu gcc and gfortran, and run in a single MPI process. Regards, Chris _________________________________________________________________ http://clk.atdmt.com/UKM/go/msnnkmgl0010000009ukm/direct/01/ |
|
From: Bart V. A. <bar...@gm...> - 2008-07-01 14:20:34
|
On Mon, Jun 30, 2008 at 6:11 PM, Christopher Daley <chr...@ho...> wrote: > I am interested in using the Helgrind thread error detector tool > to detect race conditions in an OpenMP code. It mentions in the > valgrind manual: Instructions for using Helgrind on OpenMP programs have been posted in March 2008 on the Valgrind developers mailing list. And instructions for detecting data races with exp-drd in OpenMP programs can be found in the exp-drd manual. You can obtain the trunk version of exp-drd and its manual as follows: svn co svn://svn.valgrind.org/valgrind/trunk valgrind cd valgrind ./autogen.sh ./configure --prefix=... make -s make -s install make -C docs -s html-docs konqueror docs/html/drd-manual.html & Bart. |