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/sched_setaffinity
36    Memcheck:Param
37    sched_setaffinity(mask)
38    ...
39    fun:PMPI_Init
40 }
41 {
42    MPI_Init/writev
43    Memcheck:Param
44    writev(vector[...])
45    ...
46    fun:PMPI_Init
47 }
48
49 {
50    gmx_fio_fopen
51    Memcheck:Leak
52    ...
53    fun:gmx_fio_fopen
54 }
55 {
56    new_symbuf
57    Memcheck:Leak
58    ...
59    fun:new_symbuf
60 }
61 {
62    bTimeSet/tMPI_Thread_mutex_init_once
63    Memcheck:Leak
64    ...
65    fun:tMPI_Thread_mutex_init_once
66    fun:tMPI_Thread_mutex_lock
67    fun:bTimeSet
68 }
69 {
70    ffclose/tMPI_Thread_mutex_init_once
71    Memcheck:Leak
72    ...
73    fun:tMPI_Thread_mutex_init_once
74    fun:tMPI_Thread_mutex_lock
75    fun:ffclose
76 }
77
78 {
79    mdrun
80    Memcheck:Leak
81    ...
82    obj:*/mdrun*
83 }
84
85 {
86    strdup/strtod
87    Memcheck:Addr8
88    fun:__GI___strncasecmp_l
89    fun:____strtod_l_internal
90 }
91
92
93 #MacOS rules
94 {
95    dyld_register_image_state_change_handler
96    Memcheck:Leak
97    fun:malloc
98    fun:malloc
99    ...
100    fun:dyld_register_image_state_change_handler
101 }
102
103 {
104    __emutls_get_address
105    Memcheck:Leak
106    ...
107    fun:__emutls_get_address
108 }
109
110 {
111    libSystem_initializer
112    Memcheck:Leak
113    ...
114    fun:libSystem_initializer
115 }
116
117 {
118    atexit
119    Memcheck:Leak
120    fun:malloc
121    fun:atexit_register
122 }
123
124 {
125    unw_set_reg
126    Memcheck:Leak
127    ...
128    fun:unw_set_reg
129    fun:__gxx_personality_v0
130 }
131
132 {
133    printf
134    Memcheck:Leak
135    fun:malloc
136    ...
137    fun:__vfprintf
138 }
139
140 {
141    strtof
142    Memcheck:Leak
143    fun:malloc
144    ...
145    fun:strtof_l
146 }
147
148 {
149    scanf
150    Memcheck:Leak
151    ...
152    fun:__svfscanf_l
153 }
154
155 {
156     localtime
157     Memcheck:Leak
158     ...
159     fun:localtime
160 }
161
162 {
163    __cxa_get_globals
164    Memcheck:Leak
165    fun:malloc
166    fun:__cxa_get_globals
167 }
168 {
169    __cxa_get_globals
170    Memcheck:Leak
171    fun:calloc
172    fun:__cxa_get_globals
173    fun:__cxa_throw
174 }
175
176 {
177    _Unwind_RaiseException
178    Memcheck:Leak
179    fun:malloc
180    ...
181    fun:_Unwind_RaiseException
182    fun:__cxa_throw
183 }
184 {
185    posix_memalign
186    Memcheck:Leak
187    ...
188    fun:posix_memalign
189 }
190
191 # Intel compiler on MacOS
192 {
193    __cilkrts_os_mutex_create
194    Memcheck:Leak
195    fun:malloc
196    fun:__cilkrts_os_mutex_create
197 }
198 # Intel compiler with MKL
199 {
200    dlerror
201    Memcheck:Leak
202    ...
203    fun:_dlerror_run
204 }
205 #Intel
206 {
207    strlen
208    Memcheck:Addr8
209    fun:__intel_sse2_strlen
210 }
211 {
212    strlen2
213    Memcheck:Cond
214    fun:__intel_sse2_strlen
215 }
216 {
217    __kmpc_global_thread_num
218    Memcheck:Param
219    sched_setaffinity(mask)
220    ...
221    fun:__kmpc_global_thread_num
222 }
223 {
224    __kmpc_global_thread_num2
225    Memcheck:Cond
226    ...
227    fun:__kmpc_global_thread_num
228 }
229 {
230    __kmpc_global_thread_num3
231    Memcheck:Leak
232    ...
233    fun:__kmpc_global_thread_num
234 }