Skip to content

Commit 4293872

Browse files
committed
Add openmpi valgrind suppression file.
1 parent 9a0a280 commit 4293872

File tree

2 files changed

+110
-0
lines changed

2 files changed

+110
-0
lines changed

share/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
EXTRA_DIST = \
2020
valgrind-python.supp \
21+
valgrind-openmpi.supp \
2122
generateetags.py
2223

2324

share/valgrind-openmpi.supp

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# -*- text -*-
2+
#
3+
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
4+
# University Research and Technology
5+
# Corporation. All rights reserved.
6+
# Copyright (c) 2004-2005 The University of Tennessee and The University
7+
# of Tennessee Research Foundation. All rights
8+
# reserved.
9+
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10+
# University of Stuttgart. All rights reserved.
11+
# Copyright (c) 2004-2005 The Regents of the University of California.
12+
# All rights reserved.
13+
# $COPYRIGHT$
14+
#
15+
# Additional copyrights may follow
16+
#
17+
# $HEADER$
18+
#
19+
20+
###############################################################
21+
#
22+
# OPAL suppressions
23+
#
24+
###############################################################
25+
26+
# weirdness in init routines on Gentoo
27+
{
28+
linux_pthread_init
29+
Memcheck:Leak
30+
fun:calloc
31+
fun:allocate_dtv
32+
fun:_dl_allocate_tls_storage
33+
fun:_dl_allocate_tls
34+
}
35+
{
36+
linux_pthread_init2
37+
Memcheck:Leak
38+
fun:calloc
39+
fun:_dl_tls_setup
40+
fun:__pthread_initialize_minimal
41+
}
42+
{
43+
linux_pthread_init3
44+
Memcheck:Leak
45+
fun:memalign
46+
fun:_dl_allocate_tls_storage
47+
fun:_dl_allocate_tls
48+
fun:__pthread_initialize_minimal
49+
}
50+
51+
# The event library leaves some blocks in use that we should clean up,
52+
# but it would require much changing of the event library, so it
53+
# really isn't worth it...
54+
{
55+
event_lib_poll
56+
Memcheck:Leak
57+
fun:malloc
58+
fun:realloc
59+
fun:opal_realloc
60+
fun:poll_dispatch
61+
}
62+
63+
64+
###############################################################
65+
#
66+
# ORTE suppressions
67+
#
68+
###############################################################
69+
70+
# inet_ntoa on linux mallocs a static buffer. We can't free
71+
# it, so we have to live with it
72+
{
73+
linux_inet_ntoa
74+
Memcheck:Leak
75+
fun:malloc
76+
fun:inet_ntoa
77+
}
78+
{
79+
linux_inet_ntoa_thread
80+
Memcheck:Leak
81+
fun:calloc
82+
fun:pthread_setspecific
83+
fun:inet_ntoa
84+
}
85+
86+
87+
###############################################################
88+
#
89+
# OMPI suppressions
90+
#
91+
###############################################################
92+
93+
94+
###############################################################
95+
#
96+
# Suppressions for various commonly-used packages
97+
#
98+
###############################################################
99+
100+
# Portals reference implementation has a read from invalid issue
101+
{
102+
portals_send
103+
Memcheck:Param
104+
socketcall.send(msg)
105+
fun:send
106+
fun:utcp_sendbytes
107+
fun:utcp_sendto
108+
fun:utcp_msg_wait
109+
}

0 commit comments

Comments
 (0)