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