Merge release-4-6 into master
[alexxy/gromacs.git] / cmake / legacy_and_external.supp
1 # This suppression file is used to run the CTest Unit Tests
2 # All problems in external libraries are excluded
3 # Memory leaks in the legacy code are excluded
4 # Other problems besides memory leaks should NOT be excluded for legacy code
5
6 {
7    libz
8    Memcheck:Cond
9    fun:inflateReset2
10    fun:inflateInit2_
11 }
12
13 # OpenMPI
14 {
15    MPI_Init/Leak
16    Memcheck:Leak
17    ...
18    fun:PMPI_Init
19 }
20 {
21    MPI_Finalize/Leak
22    Memcheck:Leak
23    fun:malloc
24    fun:ompi_proc_all
25    ...
26    fun:_ZN3gmx8finalizeEv
27 }
28 {
29    MPI_Init/Addr4
30    Memcheck:Addr4
31    ...
32    fun:PMPI_Init
33 }
34 {
35    MPI_Init/Addr8
36    Memcheck:Addr8
37    ...
38    fun:PMPI_Init
39 }
40 {
41    MPI_Init/sched_setaffinity
42    Memcheck:Param
43    sched_setaffinity(mask)
44    ...
45    fun:PMPI_Init
46 }
47 {
48    MPI_Init/writev
49    Memcheck:Param
50    writev(vector[...])
51    ...
52    fun:PMPI_Init
53 }
54
55 {
56    gmx_fio_fopen
57    Memcheck:Leak
58    ...
59    fun:gmx_fio_fopen
60 }
61 {
62    new_symbuf
63    Memcheck:Leak
64    ...
65    fun:new_symbuf
66 }
67 {
68    bTimeSet/tMPI_Thread_mutex_init_once
69    Memcheck:Leak
70    ...
71    fun:tMPI_Thread_mutex_init_once
72    fun:tMPI_Thread_mutex_lock
73    fun:bTimeSet
74 }
75 {
76    gmx_ffclose/tMPI_Thread_mutex_init_once
77    Memcheck:Leak
78    ...
79    fun:tMPI_Thread_mutex_init_once
80    fun:tMPI_Thread_mutex_lock
81    fun:gmx_ffclose
82 }
83
84 {
85    mdrun
86    Memcheck:Leak
87    ...
88    obj:*/mdrun*
89 }
90
91 {
92    strdup/strtod
93    Memcheck:Addr8
94    fun:__GI___strncasecmp_l
95    fun:____strtod_l_internal
96 }
97
98
99 #MacOS rules
100 {
101    dyld_register_image_state_change_handler
102    Memcheck:Leak
103    fun:malloc
104    fun:malloc
105    ...
106    fun:dyld_register_image_state_change_handler
107 }
108
109 {
110    __emutls_get_address
111    Memcheck:Leak
112    ...
113    fun:__emutls_get_address
114 }
115
116 {
117    libSystem_initializer
118    Memcheck:Leak
119    ...
120    fun:libSystem_initializer
121 }
122
123 {
124    atexit
125    Memcheck:Leak
126    fun:malloc
127    fun:atexit_register
128 }
129
130 {
131    unw_set_reg
132    Memcheck:Leak
133    ...
134    fun:unw_set_reg
135    fun:__gxx_personality_v0
136 }
137
138 {
139    printf
140    Memcheck:Leak
141    fun:malloc
142    ...
143    fun:__vfprintf
144 }
145
146 {
147    strtof
148    Memcheck:Leak
149    fun:malloc
150    ...
151    fun:strtof_l
152 }
153
154 {
155    scanf
156    Memcheck:Leak
157    ...
158    fun:__svfscanf_l
159 }
160
161 {
162     localtime
163     Memcheck:Leak
164     ...
165     fun:localtime
166 }
167
168 {
169    __cxa_get_globals
170    Memcheck:Leak
171    fun:malloc
172    fun:__cxa_get_globals
173 }
174 {
175    __cxa_get_globals
176    Memcheck:Leak
177    fun:calloc
178    fun:__cxa_get_globals
179    fun:__cxa_throw
180 }
181
182 {
183    _Unwind_RaiseException
184    Memcheck:Leak
185    fun:malloc
186    ...
187    fun:_Unwind_RaiseException
188    fun:__cxa_throw
189 }
190 {
191    posix_memalign
192    Memcheck:Leak
193    ...
194    fun:posix_memalign
195 }
196
197 # Intel compiler on MacOS
198 {
199    __cilkrts_os_mutex_create
200    Memcheck:Leak
201    fun:malloc
202    fun:__cilkrts_os_mutex_create
203 }
204 # Intel compiler with MKL
205 {
206    dlerror
207    Memcheck:Leak
208    ...
209    fun:_dlerror_run
210 }
211 #Intel
212 {
213    strlen
214    Memcheck:Addr8
215    fun:__intel_sse2_strlen
216 }
217 {
218    strlen2
219    Memcheck:Cond
220    fun:__intel_sse2_strlen
221 }
222 {
223    __kmpc_global_thread_num
224    Memcheck:Param
225    sched_setaffinity(mask)
226    ...
227    fun:__kmpc_global_thread_num
228 }
229 {
230    __kmpc_global_thread_num2
231    Memcheck:Cond
232    ...
233    fun:__kmpc_global_thread_num
234 }
235 {
236    __kmpc_global_thread_num3
237    Memcheck:Leak
238    ...
239    fun:__kmpc_global_thread_num
240 }