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