Merge branch 'release-4-6'
[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:gmx_finalize_par
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    __cxa_get_globals
157    Memcheck:Leak
158    fun:malloc
159    fun:__cxa_get_globals
160 }
161 {
162    __cxa_get_globals
163    Memcheck:Leak
164    fun:calloc
165    fun:__cxa_get_globals
166    fun:__cxa_throw
167 }
168
169 {
170    _Unwind_RaiseException
171    Memcheck:Leak
172    fun:malloc
173    ...
174    fun:_Unwind_RaiseException
175    fun:__cxa_throw
176 }
177 {
178    posix_memalign
179    Memcheck:Leak
180    ...
181    fun:posix_memalign
182 }
183
184 # Intel compiler on MacOS
185 {
186    __cilkrts_os_mutex_create
187    Memcheck:Leak
188    fun:malloc
189    fun:__cilkrts_os_mutex_create
190 }
191 # Intel compiler with MKL
192 {
193    dlerror
194    Memcheck:Leak
195    ...
196    fun:_dlerror_run
197 }
198 #Intel
199 {
200    strlen
201    Memcheck:Addr8
202    fun:__intel_sse2_strlen
203 }
204 {
205    strlen2
206    Memcheck:Cond
207    fun:__intel_sse2_strlen
208 }
209 {
210    __kmpc_global_thread_num
211    Memcheck:Param
212    sched_setaffinity(mask)
213    ...
214    fun:__kmpc_global_thread_num
215 }
216 {
217    __kmpc_global_thread_num2
218    Memcheck:Cond
219    ...
220    fun:__kmpc_global_thread_num
221 }
222 {
223    __kmpc_global_thread_num3
224    Memcheck:Leak
225    ...
226    fun:__kmpc_global_thread_num
227 }