> > > Which modifications do we need to use Helgrind on OpenMP. Is there > > > any patch to use? > > > > The attached tarball gives details of how to use GNU OpenMP in > > gcc-4.2.3.
> Is it correct that OpenMP uses a lot of POSIX threads barriers ? It uses a lot of barriers but these are not done using pthread_barrier_wait as that is too restrictive -- it uses its own implementation. As detailed in the README in the tarball I posted. So in fact, providing you follow the directions in the README, it is possible to successfully check programs compiled by gcc-4.2.3 using Helgrind. > that case I think you better verify the barrier implementation in > Helgrind first. Helgrind doesn't support pthread barriers right now, although that will change in future -- should be relatively straightforward. J ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers