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 {
14    gmx_fio_fopen
15    Memcheck:Leak
16    ...
17    fun:gmx_fio_fopen
18 }
19 {
20    new_symbuf
21    Memcheck:Leak
22    ...
23    fun:new_symbuf
24 }
25 {
26    bTimeSet/tMPI_Thread_mutex_init_once
27    Memcheck:Leak
28    ...
29    fun:tMPI_Thread_mutex_init_once
30    fun:tMPI_Thread_mutex_lock
31    fun:bTimeSet
32 }
33 {
34    ffclose/tMPI_Thread_mutex_init_once
35    Memcheck:Leak
36    ...
37    fun:tMPI_Thread_mutex_init_once
38    fun:tMPI_Thread_mutex_lock
39    fun:ffclose
40 }
41
42 {
43    mdrun
44    Memcheck:Leak
45    ...
46    obj:*/mdrun*
47 }
48
49
50 #MacOS rules
51 {
52    dyld_register_image_state_change_handler
53    Memcheck:Leak
54    fun:malloc
55    fun:malloc
56    ...
57    fun:dyld_register_image_state_change_handler
58 }
59
60 {
61    __emutls_get_address
62    Memcheck:Leak
63    ...
64    fun:__emutls_get_address
65 }
66
67 {
68    libSystem_initializer
69    Memcheck:Leak
70    ...
71    fun:libSystem_initializer
72 }
73
74 {
75    atexit
76    Memcheck:Leak
77    fun:malloc
78    fun:atexit_register
79 }
80
81 {
82    unw_set_reg
83    Memcheck:Leak
84    ...
85    fun:unw_set_reg
86    fun:__gxx_personality_v0
87 }
88
89 {
90    printf
91    Memcheck:Leak
92    fun:malloc
93    ...
94    fun:__vfprintf
95 }
96
97 {
98    strtof
99    Memcheck:Leak
100    fun:malloc
101    ...
102    fun:strtof_l
103 }
104
105 {
106    scanf
107    Memcheck:Leak
108    ...
109    fun:__svfscanf_l
110 }
111
112 {
113    __cxa_get_globals
114    Memcheck:Leak
115    fun:malloc
116    fun:__cxa_get_globals
117 }
118 {
119    __cxa_get_globals
120    Memcheck:Leak
121    fun:calloc
122    fun:__cxa_get_globals
123    fun:__cxa_throw
124 }
125
126 {
127    _Unwind_RaiseException
128    Memcheck:Leak
129    fun:malloc
130    ...
131    fun:_Unwind_RaiseException
132    fun:__cxa_throw
133 }
134 {
135    posix_memalign
136    Memcheck:Leak
137    ...
138    fun:posix_memalign
139 }
140
141 # Intel compiler on MacOS
142 {
143    __cilkrts_os_mutex_create
144    Memcheck:Leak
145    fun:malloc
146    fun:__cilkrts_os_mutex_create
147 }
148 # Intel compiler with MKL
149 {
150    dlerror
151    Memcheck:Leak
152    ...
153    fun:_dlerror_run
154 }
155 #Intel
156 {
157    strlen
158    Memcheck:Addr8
159    fun:__intel_sse2_strlen
160 }
161 {
162    strlen2
163    Memcheck:Cond
164    fun:__intel_sse2_strlen
165 }
166 {
167    __kmpc_global_thread_num
168    Memcheck:Param
169    sched_setaffinity(mask)
170    ...
171    fun:__kmpc_global_thread_num
172 }
173 {
174    __kmpc_global_thread_num2
175    Memcheck:Cond
176    ...
177    fun:__kmpc_global_thread_num
178 }
179 {
180    __kmpc_global_thread_num3
181    Memcheck:Leak
182    ...
183    fun:__kmpc_global_thread_num
184 }