Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add function call and full location in checker-side transitions
[simgrid.git] / include / smpi / smpi_extended_traces.h
1 // Copyright (c) 2016-2023. The SimGrid Team. All rights reserved.
2
3 // This program is free software; you can redistribute it and/or modify it
4 // under the terms of the license (GNU LGPL) which comes with this package.
5
6 // This file has been automatically generated by the script
7 // in tools/smpi/generate_smpi_defines.pl
8 // DO NOT EDIT MANUALLY. ALL CHANGES WILL BE OVERWRITTEN!
9
10 #define MPI_Init(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Init"), MPI_Init(__VA_ARGS__))
11 #define MPI_Finalize(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Finalize"), MPI_Finalize(__VA_ARGS__))
12 #define MPI_Finalized(...)                                                                                             \
13   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Finalized"), MPI_Finalized(__VA_ARGS__))
14 #define MPI_Init_thread(...)                                                                                           \
15   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Init_thread"), MPI_Init_thread(__VA_ARGS__))
16 #define MPI_Initialized(...)                                                                                           \
17   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Initialized"), MPI_Initialized(__VA_ARGS__))
18 #define MPI_Query_thread(...)                                                                                          \
19   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Query_thread"), MPI_Query_thread(__VA_ARGS__))
20 #define MPI_Is_thread_main(...)                                                                                        \
21   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Is_thread_main"), MPI_Is_thread_main(__VA_ARGS__))
22 #define MPI_Get_version(...)                                                                                           \
23   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_version"), MPI_Get_version(__VA_ARGS__))
24 #define MPI_Get_library_version(...)                                                                                   \
25   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_library_version"), MPI_Get_library_version(__VA_ARGS__))
26 #define MPI_Get_processor_name(...)                                                                                    \
27   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_processor_name"), MPI_Get_processor_name(__VA_ARGS__))
28 #define MPI_Abort(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Abort"), MPI_Abort(__VA_ARGS__))
29 #define MPI_Alloc_mem(...)                                                                                             \
30   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Alloc_mem"), MPI_Alloc_mem(__VA_ARGS__))
31 #define MPI_Free_mem(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Free_mem"), MPI_Free_mem(__VA_ARGS__))
32 #define MPI_Wtime(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Wtime"), MPI_Wtime(__VA_ARGS__))
33 #define MPI_Wtick(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Wtick"), MPI_Wtick(__VA_ARGS__))
34 #define MPI_Buffer_attach(...)                                                                                         \
35   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Buffer_attach"), MPI_Buffer_attach(__VA_ARGS__))
36 #define MPI_Buffer_detach(...)                                                                                         \
37   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Buffer_detach"), MPI_Buffer_detach(__VA_ARGS__))
38 #define MPI_Address(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Address"), MPI_Address(__VA_ARGS__))
39 #define MPI_Get_address(...)                                                                                           \
40   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_address"), MPI_Get_address(__VA_ARGS__))
41 #define MPI_Aint_diff(...)                                                                                             \
42   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Aint_diff"), MPI_Aint_diff(__VA_ARGS__))
43 #define MPI_Aint_add(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Aint_add"), MPI_Aint_add(__VA_ARGS__))
44 #define MPI_Error_class(...)                                                                                           \
45   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Error_class"), MPI_Error_class(__VA_ARGS__))
46 #define MPI_Error_string(...)                                                                                          \
47   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Error_string"), MPI_Error_string(__VA_ARGS__))
48 #define MPI_Attr_delete(...)                                                                                           \
49   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Attr_delete"), MPI_Attr_delete(__VA_ARGS__))
50 #define MPI_Attr_get(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Attr_get"), MPI_Attr_get(__VA_ARGS__))
51 #define MPI_Attr_put(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Attr_put"), MPI_Attr_put(__VA_ARGS__))
52 #define MPI_Keyval_create(...)                                                                                         \
53   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Keyval_create"), MPI_Keyval_create(__VA_ARGS__))
54 #define MPI_Keyval_free(...)                                                                                           \
55   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Keyval_free"), MPI_Keyval_free(__VA_ARGS__))
56 #define MPI_Type_free(...)                                                                                             \
57   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_free"), MPI_Type_free(__VA_ARGS__))
58 #define MPI_Type_size(...)                                                                                             \
59   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_size"), MPI_Type_size(__VA_ARGS__))
60 #define MPI_Type_size_x(...)                                                                                           \
61   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_size_x"), MPI_Type_size_x(__VA_ARGS__))
62 #define MPI_Type_get_extent(...)                                                                                       \
63   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_extent"), MPI_Type_get_extent(__VA_ARGS__))
64 #define MPI_Type_get_extent_x(...)                                                                                     \
65   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_extent_x"), MPI_Type_get_extent_x(__VA_ARGS__))
66 #define MPI_Type_get_true_extent(...)                                                                                  \
67   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_true_extent"), MPI_Type_get_true_extent(__VA_ARGS__))
68 #define MPI_Type_get_true_extent_x(...)                                                                                \
69   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_true_extent_x"),                                     \
70    MPI_Type_get_true_extent_x(__VA_ARGS__))
71 #define MPI_Type_extent(...)                                                                                           \
72   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_extent"), MPI_Type_extent(__VA_ARGS__))
73 #define MPI_Type_lb(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_lb"), MPI_Type_lb(__VA_ARGS__))
74 #define MPI_Type_ub(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_ub"), MPI_Type_ub(__VA_ARGS__))
75 #define MPI_Type_commit(...)                                                                                           \
76   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_commit"), MPI_Type_commit(__VA_ARGS__))
77 #define MPI_Type_hindexed(...)                                                                                         \
78   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_hindexed"), MPI_Type_hindexed(__VA_ARGS__))
79 #define MPI_Type_create_hindexed(...)                                                                                  \
80   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_hindexed"), MPI_Type_create_hindexed(__VA_ARGS__))
81 #define MPI_Type_create_hindexed_block(...)                                                                            \
82   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_hindexed_block"),                                 \
83    MPI_Type_create_hindexed_block(__VA_ARGS__))
84 #define MPI_Type_hvector(...)                                                                                          \
85   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_hvector"), MPI_Type_hvector(__VA_ARGS__))
86 #define MPI_Type_create_hvector(...)                                                                                   \
87   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_hvector"), MPI_Type_create_hvector(__VA_ARGS__))
88 #define MPI_Type_indexed(...)                                                                                          \
89   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_indexed"), MPI_Type_indexed(__VA_ARGS__))
90 #define MPI_Type_create_indexed(...)                                                                                   \
91   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_indexed"), MPI_Type_create_indexed(__VA_ARGS__))
92 #define MPI_Type_create_indexed_block(...)                                                                             \
93   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_indexed_block"),                                  \
94    MPI_Type_create_indexed_block(__VA_ARGS__))
95 #define MPI_Type_struct(...)                                                                                           \
96   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_struct"), MPI_Type_struct(__VA_ARGS__))
97 #define MPI_Type_create_struct(...)                                                                                    \
98   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_struct"), MPI_Type_create_struct(__VA_ARGS__))
99 #define MPI_Type_vector(...)                                                                                           \
100   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_vector"), MPI_Type_vector(__VA_ARGS__))
101 #define MPI_Type_contiguous(...)                                                                                       \
102   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_contiguous"), MPI_Type_contiguous(__VA_ARGS__))
103 #define MPI_Type_create_resized(...)                                                                                   \
104   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_resized"), MPI_Type_create_resized(__VA_ARGS__))
105 #define MPI_Type_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_f2c"), MPI_Type_f2c(__VA_ARGS__))
106 #define MPI_Type_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_c2f"), MPI_Type_c2f(__VA_ARGS__))
107 #define MPI_Get_count(...)                                                                                             \
108   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_count"), MPI_Get_count(__VA_ARGS__))
109 #define MPI_Type_get_attr(...)                                                                                         \
110   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_attr"), MPI_Type_get_attr(__VA_ARGS__))
111 #define MPI_Type_set_attr(...)                                                                                         \
112   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_set_attr"), MPI_Type_set_attr(__VA_ARGS__))
113 #define MPI_Type_delete_attr(...)                                                                                      \
114   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_delete_attr"), MPI_Type_delete_attr(__VA_ARGS__))
115 #define MPI_Type_create_keyval(...)                                                                                    \
116   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_keyval"), MPI_Type_create_keyval(__VA_ARGS__))
117 #define MPI_Type_free_keyval(...)                                                                                      \
118   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_free_keyval"), MPI_Type_free_keyval(__VA_ARGS__))
119 #define MPI_Type_dup(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_dup"), MPI_Type_dup(__VA_ARGS__))
120 #define MPI_Type_set_name(...)                                                                                         \
121   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_set_name"), MPI_Type_set_name(__VA_ARGS__))
122 #define MPI_Type_get_name(...)                                                                                         \
123   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_name"), MPI_Type_get_name(__VA_ARGS__))
124 #define MPI_Pack(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Pack"), MPI_Pack(__VA_ARGS__))
125 #define MPI_Pack_size(...)                                                                                             \
126   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Pack_size"), MPI_Pack_size(__VA_ARGS__))
127 #define MPI_Unpack(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Unpack"), MPI_Unpack(__VA_ARGS__))
128 #define MPI_Op_create(...)                                                                                             \
129   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Op_create"), MPI_Op_create(__VA_ARGS__))
130 #define MPI_Op_free(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Op_free"), MPI_Op_free(__VA_ARGS__))
131 #define MPI_Op_commutative(...)                                                                                        \
132   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Op_commutative"), MPI_Op_commutative(__VA_ARGS__))
133 #define MPI_Op_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Op_f2c"), MPI_Op_f2c(__VA_ARGS__))
134 #define MPI_Op_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Op_c2f"), MPI_Op_c2f(__VA_ARGS__))
135 #define MPI_Group_free(...)                                                                                            \
136   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_free"), MPI_Group_free(__VA_ARGS__))
137 #define MPI_Group_size(...)                                                                                            \
138   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_size"), MPI_Group_size(__VA_ARGS__))
139 #define MPI_Group_rank(...)                                                                                            \
140   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_rank"), MPI_Group_rank(__VA_ARGS__))
141 #define MPI_Group_translate_ranks(...)                                                                                 \
142   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_translate_ranks"),                                      \
143    MPI_Group_translate_ranks(__VA_ARGS__))
144 #define MPI_Group_compare(...)                                                                                         \
145   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_compare"), MPI_Group_compare(__VA_ARGS__))
146 #define MPI_Group_union(...)                                                                                           \
147   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_union"), MPI_Group_union(__VA_ARGS__))
148 #define MPI_Group_intersection(...)                                                                                    \
149   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_intersection"), MPI_Group_intersection(__VA_ARGS__))
150 #define MPI_Group_difference(...)                                                                                      \
151   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_difference"), MPI_Group_difference(__VA_ARGS__))
152 #define MPI_Group_incl(...)                                                                                            \
153   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_incl"), MPI_Group_incl(__VA_ARGS__))
154 #define MPI_Group_excl(...)                                                                                            \
155   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_excl"), MPI_Group_excl(__VA_ARGS__))
156 #define MPI_Group_range_incl(...)                                                                                      \
157   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_range_incl"), MPI_Group_range_incl(__VA_ARGS__))
158 #define MPI_Group_range_excl(...)                                                                                      \
159   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_range_excl"), MPI_Group_range_excl(__VA_ARGS__))
160 #define MPI_Group_f2c(...)                                                                                             \
161   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_f2c"), MPI_Group_f2c(__VA_ARGS__))
162 #define MPI_Group_c2f(...)                                                                                             \
163   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Group_c2f"), MPI_Group_c2f(__VA_ARGS__))
164 #define MPI_Comm_rank(...)                                                                                             \
165   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_rank"), MPI_Comm_rank(__VA_ARGS__))
166 #define MPI_Comm_size(...)                                                                                             \
167   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_size"), MPI_Comm_size(__VA_ARGS__))
168 #define MPI_Comm_get_name(...)                                                                                         \
169   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_get_name"), MPI_Comm_get_name(__VA_ARGS__))
170 #define MPI_Comm_set_name(...)                                                                                         \
171   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_set_name"), MPI_Comm_set_name(__VA_ARGS__))
172 #define MPI_Comm_dup(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_dup"), MPI_Comm_dup(__VA_ARGS__))
173 #define MPI_Comm_dup_with_info(...)                                                                                    \
174   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_dup_with_info"), MPI_Comm_dup_with_info(__VA_ARGS__))
175 #define MPI_Comm_get_attr(...)                                                                                         \
176   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_get_attr"), MPI_Comm_get_attr(__VA_ARGS__))
177 #define MPI_Comm_set_attr(...)                                                                                         \
178   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_set_attr"), MPI_Comm_set_attr(__VA_ARGS__))
179 #define MPI_Comm_delete_attr(...)                                                                                      \
180   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_delete_attr"), MPI_Comm_delete_attr(__VA_ARGS__))
181 #define MPI_Comm_create_keyval(...)                                                                                    \
182   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_create_keyval"), MPI_Comm_create_keyval(__VA_ARGS__))
183 #define MPI_Comm_free_keyval(...)                                                                                      \
184   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_free_keyval"), MPI_Comm_free_keyval(__VA_ARGS__))
185 #define MPI_Comm_group(...)                                                                                            \
186   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_group"), MPI_Comm_group(__VA_ARGS__))
187 #define MPI_Comm_compare(...)                                                                                          \
188   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_compare"), MPI_Comm_compare(__VA_ARGS__))
189 #define MPI_Comm_create(...)                                                                                           \
190   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_create"), MPI_Comm_create(__VA_ARGS__))
191 #define MPI_Comm_create_group(...)                                                                                     \
192   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_create_group"), MPI_Comm_create_group(__VA_ARGS__))
193 #define MPI_Comm_free(...)                                                                                             \
194   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_free"), MPI_Comm_free(__VA_ARGS__))
195 #define MPI_Comm_disconnect(...)                                                                                       \
196   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_disconnect"), MPI_Comm_disconnect(__VA_ARGS__))
197 #define MPI_Comm_split(...)                                                                                            \
198   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_split"), MPI_Comm_split(__VA_ARGS__))
199 #define MPI_Comm_set_info(...)                                                                                         \
200   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_set_info"), MPI_Comm_set_info(__VA_ARGS__))
201 #define MPI_Comm_get_info(...)                                                                                         \
202   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_get_info"), MPI_Comm_get_info(__VA_ARGS__))
203 #define MPI_Comm_split_type(...)                                                                                       \
204   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_split_type"), MPI_Comm_split_type(__VA_ARGS__))
205 #define MPI_Comm_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_f2c"), MPI_Comm_f2c(__VA_ARGS__))
206 #define MPI_Comm_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_c2f"), MPI_Comm_c2f(__VA_ARGS__))
207 #define MPI_Start(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Start"), MPI_Start(__VA_ARGS__))
208 #define MPI_Startall(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Startall"), MPI_Startall(__VA_ARGS__))
209 #define MPI_Request_free(...)                                                                                          \
210   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Request_free"), MPI_Request_free(__VA_ARGS__))
211 #define MPI_Recv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Recv"), MPI_Recv(__VA_ARGS__))
212 #define MPI_Recv_init(...)                                                                                             \
213   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Recv_init"), MPI_Recv_init(__VA_ARGS__))
214 #define MPI_Irecv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Irecv"), MPI_Irecv(__VA_ARGS__))
215 #define MPI_Send(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Send"), MPI_Send(__VA_ARGS__))
216 #define MPI_Send_init(...)                                                                                             \
217   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Send_init"), MPI_Send_init(__VA_ARGS__))
218 #define MPI_Isend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Isend"), MPI_Isend(__VA_ARGS__))
219 #define MPI_Ssend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ssend"), MPI_Ssend(__VA_ARGS__))
220 #define MPI_Ssend_init(...)                                                                                            \
221   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ssend_init"), MPI_Ssend_init(__VA_ARGS__))
222 #define MPI_Issend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Issend"), MPI_Issend(__VA_ARGS__))
223 #define MPI_Bsend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Bsend"), MPI_Bsend(__VA_ARGS__))
224 #define MPI_Bsend_init(...)                                                                                            \
225   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Bsend_init"), MPI_Bsend_init(__VA_ARGS__))
226 #define MPI_Ibsend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ibsend"), MPI_Ibsend(__VA_ARGS__))
227 #define MPI_Rsend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Rsend"), MPI_Rsend(__VA_ARGS__))
228 #define MPI_Rsend_init(...)                                                                                            \
229   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Rsend_init"), MPI_Rsend_init(__VA_ARGS__))
230 #define MPI_Irsend(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Irsend"), MPI_Irsend(__VA_ARGS__))
231 #define MPI_Sendrecv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Sendrecv"), MPI_Sendrecv(__VA_ARGS__))
232 #define MPI_Sendrecv_replace(...)                                                                                      \
233   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Sendrecv_replace"), MPI_Sendrecv_replace(__VA_ARGS__))
234 #define MPI_Test(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Test"), MPI_Test(__VA_ARGS__))
235 #define MPI_Testany(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Testany"), MPI_Testany(__VA_ARGS__))
236 #define MPI_Testall(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Testall"), MPI_Testall(__VA_ARGS__))
237 #define MPI_Testsome(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Testsome"), MPI_Testsome(__VA_ARGS__))
238 #define MPI_Test_cancelled(...)                                                                                        \
239   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Test_cancelled"), MPI_Test_cancelled(__VA_ARGS__))
240 #define MPI_Wait(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Wait"), MPI_Wait(__VA_ARGS__))
241 #define MPI_Waitany(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Waitany"), MPI_Waitany(__VA_ARGS__))
242 #define MPI_Waitall(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Waitall"), MPI_Waitall(__VA_ARGS__))
243 #define MPI_Waitsome(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Waitsome"), MPI_Waitsome(__VA_ARGS__))
244 #define MPI_Iprobe(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iprobe"), MPI_Iprobe(__VA_ARGS__))
245 #define MPI_Probe(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Probe"), MPI_Probe(__VA_ARGS__))
246 #define MPI_Request_f2c(...)                                                                                           \
247   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Request_f2c"), MPI_Request_f2c(__VA_ARGS__))
248 #define MPI_Request_c2f(...)                                                                                           \
249   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Request_c2f"), MPI_Request_c2f(__VA_ARGS__))
250 #define MPI_Cancel(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cancel"), MPI_Cancel(__VA_ARGS__))
251 #define MPI_Bcast(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Bcast"), MPI_Bcast(__VA_ARGS__))
252 #define MPI_Barrier(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Barrier"), MPI_Barrier(__VA_ARGS__))
253 #define MPI_Ibarrier(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ibarrier"), MPI_Ibarrier(__VA_ARGS__))
254 #define MPI_Ibcast(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ibcast"), MPI_Ibcast(__VA_ARGS__))
255 #define MPI_Igather(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Igather"), MPI_Igather(__VA_ARGS__))
256 #define MPI_Igatherv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Igatherv"), MPI_Igatherv(__VA_ARGS__))
257 #define MPI_Iallgather(...)                                                                                            \
258   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iallgather"), MPI_Iallgather(__VA_ARGS__))
259 #define MPI_Iallgatherv(...)                                                                                           \
260   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iallgatherv"), MPI_Iallgatherv(__VA_ARGS__))
261 #define MPI_Iscatter(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iscatter"), MPI_Iscatter(__VA_ARGS__))
262 #define MPI_Iscatterv(...)                                                                                             \
263   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iscatterv"), MPI_Iscatterv(__VA_ARGS__))
264 #define MPI_Ireduce(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ireduce"), MPI_Ireduce(__VA_ARGS__))
265 #define MPI_Iallreduce(...)                                                                                            \
266   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iallreduce"), MPI_Iallreduce(__VA_ARGS__))
267 #define MPI_Iscan(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iscan"), MPI_Iscan(__VA_ARGS__))
268 #define MPI_Iexscan(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Iexscan"), MPI_Iexscan(__VA_ARGS__))
269 #define MPI_Ireduce_scatter(...)                                                                                       \
270   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ireduce_scatter"), MPI_Ireduce_scatter(__VA_ARGS__))
271 #define MPI_Ireduce_scatter_block(...)                                                                                 \
272   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ireduce_scatter_block"),                                      \
273    MPI_Ireduce_scatter_block(__VA_ARGS__))
274 #define MPI_Ialltoall(...)                                                                                             \
275   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ialltoall"), MPI_Ialltoall(__VA_ARGS__))
276 #define MPI_Ialltoallv(...)                                                                                            \
277   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ialltoallv"), MPI_Ialltoallv(__VA_ARGS__))
278 #define MPI_Ialltoallw(...)                                                                                            \
279   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ialltoallw"), MPI_Ialltoallw(__VA_ARGS__))
280 #define MPI_Gather(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Gather"), MPI_Gather(__VA_ARGS__))
281 #define MPI_Gatherv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Gatherv"), MPI_Gatherv(__VA_ARGS__))
282 #define MPI_Allgather(...)                                                                                             \
283   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Allgather"), MPI_Allgather(__VA_ARGS__))
284 #define MPI_Allgatherv(...)                                                                                            \
285   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Allgatherv"), MPI_Allgatherv(__VA_ARGS__))
286 #define MPI_Scatter(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Scatter"), MPI_Scatter(__VA_ARGS__))
287 #define MPI_Scatterv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Scatterv"), MPI_Scatterv(__VA_ARGS__))
288 #define MPI_Reduce(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Reduce"), MPI_Reduce(__VA_ARGS__))
289 #define MPI_Allreduce(...)                                                                                             \
290   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Allreduce"), MPI_Allreduce(__VA_ARGS__))
291 #define MPI_Scan(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Scan"), MPI_Scan(__VA_ARGS__))
292 #define MPI_Exscan(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Exscan"), MPI_Exscan(__VA_ARGS__))
293 #define MPI_Reduce_scatter(...)                                                                                        \
294   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Reduce_scatter"), MPI_Reduce_scatter(__VA_ARGS__))
295 #define MPI_Reduce_scatter_block(...)                                                                                  \
296   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Reduce_scatter_block"), MPI_Reduce_scatter_block(__VA_ARGS__))
297 #define MPI_Alltoall(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Alltoall"), MPI_Alltoall(__VA_ARGS__))
298 #define MPI_Alltoallv(...)                                                                                             \
299   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Alltoallv"), MPI_Alltoallv(__VA_ARGS__))
300 #define MPI_Alltoallw(...)                                                                                             \
301   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Alltoallw"), MPI_Alltoallw(__VA_ARGS__))
302 #define MPI_Reduce_local(...)                                                                                          \
303   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Reduce_local"), MPI_Reduce_local(__VA_ARGS__))
304 #define MPI_Info_create(...)                                                                                           \
305   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_create"), MPI_Info_create(__VA_ARGS__))
306 #define MPI_Info_set(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_set"), MPI_Info_set(__VA_ARGS__))
307 #define MPI_Info_get(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_get"), MPI_Info_get(__VA_ARGS__))
308 #define MPI_Info_free(...)                                                                                             \
309   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_free"), MPI_Info_free(__VA_ARGS__))
310 #define MPI_Info_delete(...)                                                                                           \
311   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_delete"), MPI_Info_delete(__VA_ARGS__))
312 #define MPI_Info_dup(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_dup"), MPI_Info_dup(__VA_ARGS__))
313 #define MPI_Info_get_nkeys(...)                                                                                        \
314   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_get_nkeys"), MPI_Info_get_nkeys(__VA_ARGS__))
315 #define MPI_Info_get_nthkey(...)                                                                                       \
316   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_get_nthkey"), MPI_Info_get_nthkey(__VA_ARGS__))
317 #define MPI_Info_get_valuelen(...)                                                                                     \
318   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_get_valuelen"), MPI_Info_get_valuelen(__VA_ARGS__))
319 #define MPI_Info_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_f2c"), MPI_Info_f2c(__VA_ARGS__))
320 #define MPI_Info_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Info_c2f"), MPI_Info_c2f(__VA_ARGS__))
321 #define MPI_Win_free(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_free"), MPI_Win_free(__VA_ARGS__))
322 #define MPI_Win_create(...)                                                                                            \
323   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_create"), MPI_Win_create(__VA_ARGS__))
324 #define MPI_Win_allocate(...)                                                                                          \
325   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_allocate"), MPI_Win_allocate(__VA_ARGS__))
326 #define MPI_Win_allocate_shared(...)                                                                                   \
327   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_allocate_shared"), MPI_Win_allocate_shared(__VA_ARGS__))
328 #define MPI_Win_create_dynamic(...)                                                                                    \
329   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_create_dynamic"), MPI_Win_create_dynamic(__VA_ARGS__))
330 #define MPI_Win_attach(...)                                                                                            \
331   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_attach"), MPI_Win_attach(__VA_ARGS__))
332 #define MPI_Win_detach(...)                                                                                            \
333   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_detach"), MPI_Win_detach(__VA_ARGS__))
334 #define MPI_Win_set_name(...)                                                                                          \
335   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_set_name"), MPI_Win_set_name(__VA_ARGS__))
336 #define MPI_Win_get_name(...)                                                                                          \
337   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_get_name"), MPI_Win_get_name(__VA_ARGS__))
338 #define MPI_Win_set_info(...)                                                                                          \
339   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_set_info"), MPI_Win_set_info(__VA_ARGS__))
340 #define MPI_Win_get_info(...)                                                                                          \
341   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_get_info"), MPI_Win_get_info(__VA_ARGS__))
342 #define MPI_Win_get_group(...)                                                                                         \
343   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_get_group"), MPI_Win_get_group(__VA_ARGS__))
344 #define MPI_Win_fence(...)                                                                                             \
345   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_fence"), MPI_Win_fence(__VA_ARGS__))
346 #define MPI_Win_get_attr(...)                                                                                          \
347   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_get_attr"), MPI_Win_get_attr(__VA_ARGS__))
348 #define MPI_Win_set_attr(...)                                                                                          \
349   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_set_attr"), MPI_Win_set_attr(__VA_ARGS__))
350 #define MPI_Win_delete_attr(...)                                                                                       \
351   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_delete_attr"), MPI_Win_delete_attr(__VA_ARGS__))
352 #define MPI_Win_create_keyval(...)                                                                                     \
353   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_create_keyval"), MPI_Win_create_keyval(__VA_ARGS__))
354 #define MPI_Win_free_keyval(...)                                                                                       \
355   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_free_keyval"), MPI_Win_free_keyval(__VA_ARGS__))
356 #define MPI_Win_complete(...)                                                                                          \
357   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_complete"), MPI_Win_complete(__VA_ARGS__))
358 #define MPI_Win_post(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_post"), MPI_Win_post(__VA_ARGS__))
359 #define MPI_Win_start(...)                                                                                             \
360   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_start"), MPI_Win_start(__VA_ARGS__))
361 #define MPI_Win_wait(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_wait"), MPI_Win_wait(__VA_ARGS__))
362 #define MPI_Win_lock(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_lock"), MPI_Win_lock(__VA_ARGS__))
363 #define MPI_Win_lock_all(...)                                                                                          \
364   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_lock_all"), MPI_Win_lock_all(__VA_ARGS__))
365 #define MPI_Win_unlock(...)                                                                                            \
366   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_unlock"), MPI_Win_unlock(__VA_ARGS__))
367 #define MPI_Win_unlock_all(...)                                                                                        \
368   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_unlock_all"), MPI_Win_unlock_all(__VA_ARGS__))
369 #define MPI_Win_flush(...)                                                                                             \
370   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_flush"), MPI_Win_flush(__VA_ARGS__))
371 #define MPI_Win_flush_local(...)                                                                                       \
372   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_flush_local"), MPI_Win_flush_local(__VA_ARGS__))
373 #define MPI_Win_flush_all(...)                                                                                         \
374   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_flush_all"), MPI_Win_flush_all(__VA_ARGS__))
375 #define MPI_Win_flush_local_all(...)                                                                                   \
376   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_flush_local_all"), MPI_Win_flush_local_all(__VA_ARGS__))
377 #define MPI_Win_shared_query(...)                                                                                      \
378   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_shared_query"), MPI_Win_shared_query(__VA_ARGS__))
379 #define MPI_Win_sync(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_sync"), MPI_Win_sync(__VA_ARGS__))
380 #define MPI_Win_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_f2c"), MPI_Win_f2c(__VA_ARGS__))
381 #define MPI_Win_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_c2f"), MPI_Win_c2f(__VA_ARGS__))
382 #define MPI_Get(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get"), MPI_Get(__VA_ARGS__))
383 #define MPI_Put(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Put"), MPI_Put(__VA_ARGS__))
384 #define MPI_Accumulate(...)                                                                                            \
385   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Accumulate"), MPI_Accumulate(__VA_ARGS__))
386 #define MPI_Get_accumulate(...)                                                                                        \
387   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_accumulate"), MPI_Get_accumulate(__VA_ARGS__))
388 #define MPI_Rget(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Rget"), MPI_Rget(__VA_ARGS__))
389 #define MPI_Rput(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Rput"), MPI_Rput(__VA_ARGS__))
390 #define MPI_Raccumulate(...)                                                                                           \
391   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Raccumulate"), MPI_Raccumulate(__VA_ARGS__))
392 #define MPI_Rget_accumulate(...)                                                                                       \
393   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Rget_accumulate"), MPI_Rget_accumulate(__VA_ARGS__))
394 #define MPI_Fetch_and_op(...)                                                                                          \
395   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Fetch_and_op"), MPI_Fetch_and_op(__VA_ARGS__))
396 #define MPI_Compare_and_swap(...)                                                                                      \
397   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Compare_and_swap"), MPI_Compare_and_swap(__VA_ARGS__))
398 #define MPI_Cart_coords(...)                                                                                           \
399   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_coords"), MPI_Cart_coords(__VA_ARGS__))
400 #define MPI_Cart_create(...)                                                                                           \
401   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_create"), MPI_Cart_create(__VA_ARGS__))
402 #define MPI_Cart_get(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_get"), MPI_Cart_get(__VA_ARGS__))
403 #define MPI_Cart_rank(...)                                                                                             \
404   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_rank"), MPI_Cart_rank(__VA_ARGS__))
405 #define MPI_Cart_shift(...)                                                                                            \
406   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_shift"), MPI_Cart_shift(__VA_ARGS__))
407 #define MPI_Cart_sub(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_sub"), MPI_Cart_sub(__VA_ARGS__))
408 #define MPI_Cartdim_get(...)                                                                                           \
409   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cartdim_get"), MPI_Cartdim_get(__VA_ARGS__))
410 #define MPI_Dims_create(...)                                                                                           \
411   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Dims_create"), MPI_Dims_create(__VA_ARGS__))
412 #define MPI_Request_get_status(...)                                                                                    \
413   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Request_get_status"), MPI_Request_get_status(__VA_ARGS__))
414 #define MPI_Grequest_start(...)                                                                                        \
415   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Grequest_start"), MPI_Grequest_start(__VA_ARGS__))
416 #define MPI_Grequest_complete(...)                                                                                     \
417   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Grequest_complete"), MPI_Grequest_complete(__VA_ARGS__))
418 #define MPI_Status_set_cancelled(...)                                                                                  \
419   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Status_set_cancelled"), MPI_Status_set_cancelled(__VA_ARGS__))
420 #define MPI_Status_set_elements(...)                                                                                   \
421   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Status_set_elements"), MPI_Status_set_elements(__VA_ARGS__))
422 #define MPI_Status_set_elements_x(...)                                                                                 \
423   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Status_set_elements_x"),                                      \
424    MPI_Status_set_elements_x(__VA_ARGS__))
425 #define MPI_Type_create_subarray(...)                                                                                  \
426   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_subarray"), MPI_Type_create_subarray(__VA_ARGS__))
427 #define MPI_File_open(...)                                                                                             \
428   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_open"), MPI_File_open(__VA_ARGS__))
429 #define MPI_File_close(...)                                                                                            \
430   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_close"), MPI_File_close(__VA_ARGS__))
431 #define MPI_File_delete(...)                                                                                           \
432   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_delete"), MPI_File_delete(__VA_ARGS__))
433 #define MPI_File_get_size(...)                                                                                         \
434   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_size"), MPI_File_get_size(__VA_ARGS__))
435 #define MPI_File_get_group(...)                                                                                        \
436   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_group"), MPI_File_get_group(__VA_ARGS__))
437 #define MPI_File_get_amode(...)                                                                                        \
438   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_amode"), MPI_File_get_amode(__VA_ARGS__))
439 #define MPI_File_set_info(...)                                                                                         \
440   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_set_info"), MPI_File_set_info(__VA_ARGS__))
441 #define MPI_File_get_info(...)                                                                                         \
442   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_info"), MPI_File_get_info(__VA_ARGS__))
443 #define MPI_File_read_at(...)                                                                                          \
444   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_at"), MPI_File_read_at(__VA_ARGS__))
445 #define MPI_File_read_at_all(...)                                                                                      \
446   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_at_all"), MPI_File_read_at_all(__VA_ARGS__))
447 #define MPI_File_write_at(...)                                                                                         \
448   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_at"), MPI_File_write_at(__VA_ARGS__))
449 #define MPI_File_write_at_all(...)                                                                                     \
450   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_at_all"), MPI_File_write_at_all(__VA_ARGS__))
451 #define MPI_File_read(...)                                                                                             \
452   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read"), MPI_File_read(__VA_ARGS__))
453 #define MPI_File_read_all(...)                                                                                         \
454   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_all"), MPI_File_read_all(__VA_ARGS__))
455 #define MPI_File_write(...)                                                                                            \
456   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write"), MPI_File_write(__VA_ARGS__))
457 #define MPI_File_write_all(...)                                                                                        \
458   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_all"), MPI_File_write_all(__VA_ARGS__))
459 #define MPI_File_seek(...)                                                                                             \
460   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_seek"), MPI_File_seek(__VA_ARGS__))
461 #define MPI_File_get_position(...)                                                                                     \
462   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_position"), MPI_File_get_position(__VA_ARGS__))
463 #define MPI_File_read_shared(...)                                                                                      \
464   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_shared"), MPI_File_read_shared(__VA_ARGS__))
465 #define MPI_File_write_shared(...)                                                                                     \
466   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_shared"), MPI_File_write_shared(__VA_ARGS__))
467 #define MPI_File_read_ordered(...)                                                                                     \
468   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_ordered"), MPI_File_read_ordered(__VA_ARGS__))
469 #define MPI_File_write_ordered(...)                                                                                    \
470   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_ordered"), MPI_File_write_ordered(__VA_ARGS__))
471 #define MPI_File_seek_shared(...)                                                                                      \
472   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_seek_shared"), MPI_File_seek_shared(__VA_ARGS__))
473 #define MPI_File_get_position_shared(...)                                                                              \
474   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_position_shared"),                                   \
475    MPI_File_get_position_shared(__VA_ARGS__))
476 #define MPI_File_sync(...)                                                                                             \
477   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_sync"), MPI_File_sync(__VA_ARGS__))
478 #define MPI_File_set_view(...)                                                                                         \
479   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_set_view"), MPI_File_set_view(__VA_ARGS__))
480 #define MPI_File_get_view(...)                                                                                         \
481   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_view"), MPI_File_get_view(__VA_ARGS__))
482 #define MPI_Errhandler_set(...)                                                                                        \
483   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_set"), MPI_Errhandler_set(__VA_ARGS__))
484 #define MPI_Errhandler_create(...)                                                                                     \
485   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_create"), MPI_Errhandler_create(__VA_ARGS__))
486 #define MPI_Errhandler_free(...)                                                                                       \
487   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_free"), MPI_Errhandler_free(__VA_ARGS__))
488 #define MPI_Errhandler_get(...)                                                                                        \
489   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_get"), MPI_Errhandler_get(__VA_ARGS__))
490 #define MPI_Comm_set_errhandler(...)                                                                                   \
491   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_set_errhandler"), MPI_Comm_set_errhandler(__VA_ARGS__))
492 #define MPI_Comm_get_errhandler(...)                                                                                   \
493   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_get_errhandler"), MPI_Comm_get_errhandler(__VA_ARGS__))
494 #define MPI_Comm_create_errhandler(...)                                                                                \
495   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_create_errhandler"),                                     \
496    MPI_Comm_create_errhandler(__VA_ARGS__))
497 #define MPI_Comm_call_errhandler(...)                                                                                  \
498   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_call_errhandler"), MPI_Comm_call_errhandler(__VA_ARGS__))
499 #define MPI_Win_set_errhandler(...)                                                                                    \
500   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_set_errhandler"), MPI_Win_set_errhandler(__VA_ARGS__))
501 #define MPI_Win_get_errhandler(...)                                                                                    \
502   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_get_errhandler"), MPI_Win_get_errhandler(__VA_ARGS__))
503 #define MPI_Win_create_errhandler(...)                                                                                 \
504   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_create_errhandler"),                                      \
505    MPI_Win_create_errhandler(__VA_ARGS__))
506 #define MPI_Win_call_errhandler(...)                                                                                   \
507   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_call_errhandler"), MPI_Win_call_errhandler(__VA_ARGS__))
508 #define MPI_Errhandler_f2c(...)                                                                                        \
509   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_f2c"), MPI_Errhandler_f2c(__VA_ARGS__))
510 #define MPI_Errhandler_c2f(...)                                                                                        \
511   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Errhandler_c2f"), MPI_Errhandler_c2f(__VA_ARGS__))
512 #define MPI_Type_create_f90_integer(...)                                                                               \
513   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_f90_integer"),                                    \
514    MPI_Type_create_f90_integer(__VA_ARGS__))
515 #define MPI_Type_create_f90_real(...)                                                                                  \
516   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_f90_real"), MPI_Type_create_f90_real(__VA_ARGS__))
517 #define MPI_Type_create_f90_complex(...)                                                                               \
518   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_f90_complex"),                                    \
519    MPI_Type_create_f90_complex(__VA_ARGS__))
520 #define MPI_Type_get_contents(...)                                                                                     \
521   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_contents"), MPI_Type_get_contents(__VA_ARGS__))
522 #define MPI_Type_get_envelope(...)                                                                                     \
523   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_get_envelope"), MPI_Type_get_envelope(__VA_ARGS__))
524 #define MPI_File_call_errhandler(...)                                                                                  \
525   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_call_errhandler"), MPI_File_call_errhandler(__VA_ARGS__))
526 #define MPI_File_create_errhandler(...)                                                                                \
527   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_create_errhandler"),                                     \
528    MPI_File_create_errhandler(__VA_ARGS__))
529 #define MPI_File_set_errhandler(...)                                                                                   \
530   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_set_errhandler"), MPI_File_set_errhandler(__VA_ARGS__))
531 #define MPI_File_get_errhandler(...)                                                                                   \
532   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_errhandler"), MPI_File_get_errhandler(__VA_ARGS__))
533 #define MPI_Cart_map(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Cart_map"), MPI_Cart_map(__VA_ARGS__))
534 #define MPI_Graph_create(...)                                                                                          \
535   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graph_create"), MPI_Graph_create(__VA_ARGS__))
536 #define MPI_Graph_get(...)                                                                                             \
537   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graph_get"), MPI_Graph_get(__VA_ARGS__))
538 #define MPI_Graph_map(...)                                                                                             \
539   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graph_map"), MPI_Graph_map(__VA_ARGS__))
540 #define MPI_Graph_neighbors(...)                                                                                       \
541   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graph_neighbors"), MPI_Graph_neighbors(__VA_ARGS__))
542 #define MPI_Graph_neighbors_count(...)                                                                                 \
543   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graph_neighbors_count"),                                      \
544    MPI_Graph_neighbors_count(__VA_ARGS__))
545 #define MPI_Graphdims_get(...)                                                                                         \
546   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Graphdims_get"), MPI_Graphdims_get(__VA_ARGS__))
547 #define MPI_Topo_test(...)                                                                                             \
548   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Topo_test"), MPI_Topo_test(__VA_ARGS__))
549 #define MPI_Add_error_class(...)                                                                                       \
550   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Add_error_class"), MPI_Add_error_class(__VA_ARGS__))
551 #define MPI_Add_error_code(...)                                                                                        \
552   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Add_error_code"), MPI_Add_error_code(__VA_ARGS__))
553 #define MPI_Add_error_string(...)                                                                                      \
554   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Add_error_string"), MPI_Add_error_string(__VA_ARGS__))
555 #define MPI_Comm_test_inter(...)                                                                                       \
556   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_test_inter"), MPI_Comm_test_inter(__VA_ARGS__))
557 #define MPI_Intercomm_create(...)                                                                                      \
558   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Intercomm_create"), MPI_Intercomm_create(__VA_ARGS__))
559 #define MPI_Intercomm_merge(...)                                                                                       \
560   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Intercomm_merge"), MPI_Intercomm_merge(__VA_ARGS__))
561 #define MPI_Comm_remote_group(...)                                                                                     \
562   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_remote_group"), MPI_Comm_remote_group(__VA_ARGS__))
563 #define MPI_Comm_remote_size(...)                                                                                      \
564   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_remote_size"), MPI_Comm_remote_size(__VA_ARGS__))
565 #define MPI_Get_elements(...)                                                                                          \
566   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_elements"), MPI_Get_elements(__VA_ARGS__))
567 #define MPI_Get_elements_x(...)                                                                                        \
568   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Get_elements_x"), MPI_Get_elements_x(__VA_ARGS__))
569 #define MPI_Pcontrol(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Pcontrol"), MPI_Pcontrol(__VA_ARGS__))
570 #define MPI_Type_create_darray(...)                                                                                    \
571   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_create_darray"), MPI_Type_create_darray(__VA_ARGS__))
572 #define MPI_Pack_external_size(...)                                                                                    \
573   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Pack_external_size"), MPI_Pack_external_size(__VA_ARGS__))
574 #define MPI_Pack_external(...)                                                                                         \
575   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Pack_external"), MPI_Pack_external(__VA_ARGS__))
576 #define MPI_Unpack_external(...)                                                                                       \
577   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Unpack_external"), MPI_Unpack_external(__VA_ARGS__))
578 #define MPI_Type_match_size(...)                                                                                       \
579   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Type_match_size"), MPI_Type_match_size(__VA_ARGS__))
580 #define MPI_Comm_connect(...)                                                                                          \
581   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_connect"), MPI_Comm_connect(__VA_ARGS__))
582 #define MPI_Unpublish_name(...)                                                                                        \
583   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Unpublish_name"), MPI_Unpublish_name(__VA_ARGS__))
584 #define MPI_Publish_name(...)                                                                                          \
585   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Publish_name"), MPI_Publish_name(__VA_ARGS__))
586 #define MPI_Lookup_name(...)                                                                                           \
587   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Lookup_name"), MPI_Lookup_name(__VA_ARGS__))
588 #define MPI_Comm_idup(...)                                                                                             \
589   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_idup"), MPI_Comm_idup(__VA_ARGS__))
590 #define MPI_Comm_join(...)                                                                                             \
591   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_join"), MPI_Comm_join(__VA_ARGS__))
592 #define MPI_Open_port(...)                                                                                             \
593   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Open_port"), MPI_Open_port(__VA_ARGS__))
594 #define MPI_Close_port(...)                                                                                            \
595   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Close_port"), MPI_Close_port(__VA_ARGS__))
596 #define MPI_Comm_accept(...)                                                                                           \
597   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_accept"), MPI_Comm_accept(__VA_ARGS__))
598 #define MPI_Comm_spawn(...)                                                                                            \
599   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_spawn"), MPI_Comm_spawn(__VA_ARGS__))
600 #define MPI_Comm_spawn_multiple(...)                                                                                   \
601   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_spawn_multiple"), MPI_Comm_spawn_multiple(__VA_ARGS__))
602 #define MPI_Comm_get_parent(...)                                                                                       \
603   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Comm_get_parent"), MPI_Comm_get_parent(__VA_ARGS__))
604 #define MPI_Dist_graph_create(...)                                                                                     \
605   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Dist_graph_create"), MPI_Dist_graph_create(__VA_ARGS__))
606 #define MPI_Dist_graph_create_adjacent(...)                                                                            \
607   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Dist_graph_create_adjacent"),                                 \
608    MPI_Dist_graph_create_adjacent(__VA_ARGS__))
609 #define MPI_Dist_graph_neighbors(...)                                                                                  \
610   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Dist_graph_neighbors"), MPI_Dist_graph_neighbors(__VA_ARGS__))
611 #define MPI_Dist_graph_neighbors_count(...)                                                                            \
612   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Dist_graph_neighbors_count"),                                 \
613    MPI_Dist_graph_neighbors_count(__VA_ARGS__))
614 #define MPI_Win_test(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Win_test"), MPI_Win_test(__VA_ARGS__))
615 #define MPI_File_c2f(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_c2f"), MPI_File_c2f(__VA_ARGS__))
616 #define MPI_File_f2c(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_f2c"), MPI_File_f2c(__VA_ARGS__))
617 #define MPI_Register_datarep(...)                                                                                      \
618   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Register_datarep"), MPI_Register_datarep(__VA_ARGS__))
619 #define MPI_File_set_size(...)                                                                                         \
620   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_set_size"), MPI_File_set_size(__VA_ARGS__))
621 #define MPI_File_preallocate(...)                                                                                      \
622   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_preallocate"), MPI_File_preallocate(__VA_ARGS__))
623 #define MPI_File_iread_at(...)                                                                                         \
624   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iread_at"), MPI_File_iread_at(__VA_ARGS__))
625 #define MPI_File_iwrite_at(...)                                                                                        \
626   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iwrite_at"), MPI_File_iwrite_at(__VA_ARGS__))
627 #define MPI_File_iread_at_all(...)                                                                                     \
628   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iread_at_all"), MPI_File_iread_at_all(__VA_ARGS__))
629 #define MPI_File_iwrite_at_all(...)                                                                                    \
630   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iwrite_at_all"), MPI_File_iwrite_at_all(__VA_ARGS__))
631 #define MPI_File_iread(...)                                                                                            \
632   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iread"), MPI_File_iread(__VA_ARGS__))
633 #define MPI_File_iwrite(...)                                                                                           \
634   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iwrite"), MPI_File_iwrite(__VA_ARGS__))
635 #define MPI_File_iread_all(...)                                                                                        \
636   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iread_all"), MPI_File_iread_all(__VA_ARGS__))
637 #define MPI_File_iwrite_all(...)                                                                                       \
638   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iwrite_all"), MPI_File_iwrite_all(__VA_ARGS__))
639 #define MPI_File_get_byte_offset(...)                                                                                  \
640   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_byte_offset"), MPI_File_get_byte_offset(__VA_ARGS__))
641 #define MPI_File_iread_shared(...)                                                                                     \
642   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iread_shared"), MPI_File_iread_shared(__VA_ARGS__))
643 #define MPI_File_iwrite_shared(...)                                                                                    \
644   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_iwrite_shared"), MPI_File_iwrite_shared(__VA_ARGS__))
645 #define MPI_File_read_at_all_begin(...)                                                                                \
646   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_at_all_begin"),                                     \
647    MPI_File_read_at_all_begin(__VA_ARGS__))
648 #define MPI_File_read_at_all_end(...)                                                                                  \
649   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_at_all_end"), MPI_File_read_at_all_end(__VA_ARGS__))
650 #define MPI_File_write_at_all_begin(...)                                                                               \
651   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_at_all_begin"),                                    \
652    MPI_File_write_at_all_begin(__VA_ARGS__))
653 #define MPI_File_write_at_all_end(...)                                                                                 \
654   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_at_all_end"),                                      \
655    MPI_File_write_at_all_end(__VA_ARGS__))
656 #define MPI_File_read_all_begin(...)                                                                                   \
657   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_all_begin"), MPI_File_read_all_begin(__VA_ARGS__))
658 #define MPI_File_read_all_end(...)                                                                                     \
659   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_all_end"), MPI_File_read_all_end(__VA_ARGS__))
660 #define MPI_File_write_all_begin(...)                                                                                  \
661   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_all_begin"), MPI_File_write_all_begin(__VA_ARGS__))
662 #define MPI_File_write_all_end(...)                                                                                    \
663   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_all_end"), MPI_File_write_all_end(__VA_ARGS__))
664 #define MPI_File_read_ordered_begin(...)                                                                               \
665   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_ordered_begin"),                                    \
666    MPI_File_read_ordered_begin(__VA_ARGS__))
667 #define MPI_File_read_ordered_end(...)                                                                                 \
668   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_read_ordered_end"),                                      \
669    MPI_File_read_ordered_end(__VA_ARGS__))
670 #define MPI_File_write_ordered_begin(...)                                                                              \
671   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_ordered_begin"),                                   \
672    MPI_File_write_ordered_begin(__VA_ARGS__))
673 #define MPI_File_write_ordered_end(...)                                                                                \
674   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_write_ordered_end"),                                     \
675    MPI_File_write_ordered_end(__VA_ARGS__))
676 #define MPI_File_get_type_extent(...)                                                                                  \
677   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_type_extent"), MPI_File_get_type_extent(__VA_ARGS__))
678 #define MPI_File_set_atomicity(...)                                                                                    \
679   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_set_atomicity"), MPI_File_set_atomicity(__VA_ARGS__))
680 #define MPI_File_get_atomicity(...)                                                                                    \
681   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_File_get_atomicity"), MPI_File_get_atomicity(__VA_ARGS__))
682 #define MPI_Message_f2c(...)                                                                                           \
683   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Message_f2c"), MPI_Message_f2c(__VA_ARGS__))
684 #define MPI_Message_c2f(...)                                                                                           \
685   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Message_c2f"), MPI_Message_c2f(__VA_ARGS__))
686 #define MPI_Mrecv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Mrecv"), MPI_Mrecv(__VA_ARGS__))
687 #define MPI_Mprobe(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Mprobe"), MPI_Mprobe(__VA_ARGS__))
688 #define MPI_Imrecv(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Imrecv"), MPI_Imrecv(__VA_ARGS__))
689 #define MPI_Improbe(...) (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Improbe"), MPI_Improbe(__VA_ARGS__))
690 #define MPI_Neighbor_allgather(...)                                                                                    \
691   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Neighbor_allgather"), MPI_Neighbor_allgather(__VA_ARGS__))
692 #define MPI_Neighbor_allgatherv(...)                                                                                   \
693   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Neighbor_allgatherv"), MPI_Neighbor_allgatherv(__VA_ARGS__))
694 #define MPI_Neighbor_alltoall(...)                                                                                     \
695   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Neighbor_alltoall"), MPI_Neighbor_alltoall(__VA_ARGS__))
696 #define MPI_Neighbor_alltoallv(...)                                                                                    \
697   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Neighbor_alltoallv"), MPI_Neighbor_alltoallv(__VA_ARGS__))
698 #define MPI_Neighbor_alltoallw(...)                                                                                    \
699   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Neighbor_alltoallw"), MPI_Neighbor_alltoallw(__VA_ARGS__))
700 #define MPI_Ineighbor_allgather(...)                                                                                   \
701   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ineighbor_allgather"), MPI_Ineighbor_allgather(__VA_ARGS__))
702 #define MPI_Ineighbor_allgatherv(...)                                                                                  \
703   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ineighbor_allgatherv"), MPI_Ineighbor_allgatherv(__VA_ARGS__))
704 #define MPI_Ineighbor_alltoall(...)                                                                                    \
705   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ineighbor_alltoall"), MPI_Ineighbor_alltoall(__VA_ARGS__))
706 #define MPI_Ineighbor_alltoallv(...)                                                                                   \
707   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ineighbor_alltoallv"), MPI_Ineighbor_alltoallv(__VA_ARGS__))
708 #define MPI_Ineighbor_alltoallw(...)                                                                                   \
709   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Ineighbor_alltoallw"), MPI_Ineighbor_alltoallw(__VA_ARGS__))
710 #define MPI_Status_f2c(...)                                                                                            \
711   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Status_f2c"), MPI_Status_f2c(__VA_ARGS__))
712 #define MPI_Status_c2f(...)                                                                                            \
713   (smpi_trace_set_call_location(__FILE__, __LINE__, "MPI_Status_c2f"), MPI_Status_c2f(__VA_ARGS__))