The documentation for the Valgrind thread error detection tool Helgrind, found here
warns that, if you use GCC to compile your OpenMP code, GCC\'s OpenMP runtime lib
Steps which will make it work:
--disable-linux-futex
GCC-OBJ-DIR/PLATFORM/libgomp/.libs
). For example by setting the LD_LIBRARY_PATH
environment variable:export LD_LIBRARY_PATH=~/gcc-4.8.1-nofutex/x86_64-unknown-linux-gnu/libgomp/.libs: