Reorganizing analysis of correlation functions.
[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 # Ugly memory leak that depends on global variables being used to pass
7 # information between routines.
8 {
9    nsc_dclm_pbc
10    Memcheck:Leak
11    fun:calloc
12    fun:save_calloc
13    fun:ico_dot_dod
14    fun:make_unsp
15    fun:nsc_dclm_pbc
16 }
17 {
18    libgomp
19    Memcheck:Leak
20    ...
21    obj:*/libgomp.so*
22 }
23 {
24    ctime_r
25    Memcheck:Leak
26    ...
27    fun:ctime_r
28 }
29 {
30    libz
31    Memcheck:Cond
32    fun:inflateReset2
33    fun:inflateInit2_
34 }
35
36 # OpenMPI
37 {
38    MPI_Init/Leak
39    Memcheck:Leak
40    ...
41    fun:PMPI_Init
42 }
43 {
44    MPI_Finalize/Leak
45    Memcheck:Leak
46    fun:malloc
47    fun:ompi_proc_all
48    ...
49    fun:_ZN3gmx8finalizeEv
50 }
51 {
52    MPI_Init/Addr4
53    Memcheck:Addr4
54    ...
55    fun:PMPI_Init
56 }
57 {
58    MPI_Init/Addr8
59    Memcheck:Addr8
60    ...
61    fun:PMPI_Init
62 }
63 {
64    MPI_Init/sched_setaffinity
65    Memcheck:Param
66    sched_setaffinity(mask)
67    ...
68    fun:PMPI_Init
69 }
70 {
71    MPI_Init/writev
72    Memcheck:Param
73    writev(vector[...])
74    ...
75    fun:PMPI_Init
76 }
77
78 {
79    gmx_fio_fopen
80    Memcheck:Leak
81    ...
82    fun:gmx_fio_fopen
83 }
84 {
85    put_symtab
86    Memcheck:Leak
87    ...
88    fun:put_symtab
89 }
90 {
91    bTimeSet/tMPI_Thread_mutex_init_once
92    Memcheck:Leak
93    ...
94    fun:tMPI_Thread_mutex_init_once
95    fun:tMPI_Thread_mutex_lock
96    fun:bTimeSet
97 }
98 {
99    gmx_ffclose/tMPI_Thread_mutex_init_once
100    Memcheck:Leak
101    ...
102    fun:tMPI_Thread_mutex_init_once
103    fun:tMPI_Thread_mutex_lock
104    fun:gmx_ffclose
105 }
106
107 {
108    mdrun
109    Memcheck:Leak
110    ...
111    obj:*/mdrun*
112 }
113
114 {
115    strdup/strtod
116    Memcheck:Addr8
117    fun:__GI___strncasecmp_l
118    fun:____strtod_l_internal
119 }
120
121
122 #MacOS rules
123 {
124    dyld_register_image_state_change_handler
125    Memcheck:Leak
126    fun:malloc
127    fun:malloc
128    ...
129    fun:dyld_register_image_state_change_handler
130 }
131
132 {
133    __emutls_get_address
134    Memcheck:Leak
135    ...
136    fun:__emutls_get_address
137 }
138
139 {
140    libSystem_initializer
141    Memcheck:Leak
142    ...
143    fun:libSystem_initializer
144 }
145
146 {
147    atexit
148    Memcheck:Leak
149    fun:malloc
150    fun:atexit_register
151 }
152
153 {
154    unw_set_reg
155    Memcheck:Leak
156    ...
157    fun:unw_set_reg
158    fun:__gxx_personality_v0
159 }
160
161 {
162    printf
163    Memcheck:Leak
164    fun:malloc
165    ...
166    fun:__vfprintf
167 }
168
169 {
170    printf
171    Memcheck:Leak
172    fun:malloc
173    ...
174    fun:vfprintf_l
175 }
176
177 {
178    strtof
179    Memcheck:Leak
180    fun:malloc
181    ...
182    fun:strtof_l
183 }
184 {
185    strtod
186    Memcheck:Leak
187    fun:malloc
188    ...
189    fun:strtod_l
190 }
191
192 {
193    scanf
194    Memcheck:Leak
195    ...
196    fun:__svfscanf_l
197 }
198
199 {
200     localtime
201     Memcheck:Leak
202     ...
203     fun:localtime
204 }
205
206 {
207    __cxa_get_globals
208    Memcheck:Leak
209    fun:malloc
210    fun:__cxa_get_globals
211 }
212 {
213    __cxa_get_globals
214    Memcheck:Leak
215    fun:calloc
216    fun:__cxa_get_globals
217    fun:__cxa_throw
218 }
219
220 {
221    _Unwind_RaiseException
222    Memcheck:Leak
223    fun:malloc
224    ...
225    fun:_Unwind_RaiseException
226    fun:__cxa_throw
227 }
228 {
229    posix_memalign
230    Memcheck:Leak
231    ...
232    fun:posix_memalign
233 }
234
235 # Intel compiler on MacOS
236 {
237    __cilkrts_os_mutex_create
238    Memcheck:Leak
239    fun:malloc
240    fun:__cilkrts_os_mutex_create
241 }
242 # Intel compiler with MKL
243 {
244    dlerror
245    Memcheck:Leak
246    ...
247    fun:_dlerror_run
248 }
249 #Intel
250 {
251    strlen
252    Memcheck:Addr8
253    fun:__intel_sse2_strlen
254 }
255 {
256    strlen2
257    Memcheck:Cond
258    fun:__intel_sse2_strlen
259 }
260 {
261    __kmpc_global_thread_num
262    Memcheck:Param
263    sched_setaffinity(mask)
264    ...
265    fun:__kmpc_global_thread_num
266 }
267 {
268    __kmpc_global_thread_num2
269    Memcheck:Cond
270    ...
271    fun:__kmpc_global_thread_num
272 }
273 {
274    __kmpc_global_thread_num3
275    Memcheck:Leak
276    ...
277    fun:__kmpc_global_thread_num
278 }
279