-
Notifications
You must be signed in to change notification settings - Fork 12
DebuggingTips
Sebastian Schmieschek edited this page Aug 12, 2015
·
2 revisions
Typical OSX invocation
valgrind --leak-check=yes --dsymutil=yes --track-origins=yes ./unittests_hemelb
When using Valgrind to debug HemeLB, there can be noise due to issue https://bugs.kde.org/show_bug.cgi?id=196528 -- the suppression added in that bug report only works for Leopard, now Snow Leopard, sadly. The following generated suppression can be added to your local valgrind suppresions file:
{
snow_leopard_pthread_rwlock_fix
Memcheck:Cond
fun:pthread_rwlock_init
}
There is also an OpenMPI suppressions file which is supplied with openmpi: use
--suppressions=/opt/local/share/openmpi/openmpi-valgrind.supp