-
Notifications
You must be signed in to change notification settings - Fork 0
/
sst_mpi_macro.h
319 lines (304 loc) · 14.3 KB
/
sst_mpi_macro.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
/**
Copyright 2009-2023 National Technology and Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government
retains certain rights in this software.
Sandia National Laboratories is a multimission laboratory managed and operated
by National Technology and Engineering Solutions of Sandia, LLC., a wholly
owned subsidiary of Honeywell International, Inc., for the U.S. Department of
Energy's National Nuclear Security Administration under contract DE-NA0003525.
Copyright (c) 2009-2023, NTESS
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Questions? Contact [email protected]
*/
#define MPI_Address(in,out) *out = ((MPI_Aint) in) + 8
#define MPI_Get_address(in,out) MPI_Address(in,out)
#define MPI_Cart_create sst_mpi_cart_create
#define MPI_Cart_get sst_mpi_cart_get
#define MPI_Cart_rank sst_mpi_cart_rank
#define MPI_Cart_shift sst_mpi_cart_shift
#define MPI_Cart_coords sst_mpi_cart_coords
#define MPI_NodeAddress sst_mpi_nodeaddress
#define MPI_Taskid sst_mpi_taskid
#define MPI_Errhandler_set sst_mpi_errhandler_set
#define MPI_Print sst_mpi_print
#define MPI_Init sst_mpi_init
#define MPI_Initialized sst_mpi_initialized
#define MPI_Abort sst_mpi_abort
#define MPI_Finalize sst_mpi_finalize
#define MPI_Wait sst_mpi_wait
#define MPI_Waitall sst_mpi_waitall
#define MPI_Waitany sst_mpi_waitany
#define MPI_Waitsome sst_mpi_waitsome
#define MPI_Get_count sst_mpi_get_count
#define MPI_Test sst_mpi_test
#define MPI_Probe sst_mpi_probe
#define MPI_Cancel sst_mpi_cancel
#define MPI_Request_free sst_mpi_request_free
#define MPI_Comm_dup sst_mpi_comm_dup
#define MPI_Comm_rank sst_mpi_comm_rank
#define MPI_Comm_split sst_mpi_comm_split
#define MPI_Comm_size sst_mpi_comm_size
#define MPI_Comm_free sst_mpi_comm_free
#define MPI_Comm_create sst_mpi_comm_create
#define MPI_Comm_group sst_mpi_comm_group
#define MPI_Group_incl sst_mpi_group_incl
#define MPI_Group_free sst_mpi_group_free
#define MPI_Sendrecv sst_mpi_sendrecv
#define MPI_Send sst_mpi_send
#define MPI_Isend sst_mpi_isend
#define MPI_Recv sst_mpi_recv
#define MPI_Irecv sst_mpi_irecv
#define MPI_Bsend sst_mpi_send
#define MPI_Rsend sst_mpi_send
#define MPI_Ssend sst_mpi_send
#define MPI_Ibsend sst_mpi_isend
#define MPI_Issend sst_mpi_isend
#define MPI_Irsend sst_mpi_isend
#define MPI_Allreduce sst_mpi_allreduce
#define MPI_Reduce sst_mpi_reduce
#define MPI_Barrier sst_mpi_barrier
#define MPI_Bcast sst_mpi_bcast
#define MPI_Scan sst_mpi_scan
#define MPI_Gather sst_mpi_gather
#define MPI_Gatherv sst_mpi_gatherv
#define MPI_Allgather sst_mpi_allgather
#define MPI_Allgatherv sst_mpi_allgatherv
#define MPI_Scatter sst_mpi_scatter
#define MPI_Scatterv sst_mpi_scatterv
#define MPI_Alltoall sst_mpi_alltoall
#define MPI_Iallreduce sst_mpi_iallreduce
#define MPI_Ireduce sst_mpi_ireduce
#define MPI_Ibarrier sst_mpi_ibarrier
#define MPI_Ibcast sst_mpi_ibcast
#define MPI_Iscan sst_mpi_iscan
#define MPI_Igather sst_mpi_igather
#define MPI_Igatherv sst_mpi_igatherv
#define MPI_Iallgather sst_mpi_iallgather
#define MPI_Iallgatherv sst_mpi_iallgatherv
#define MPI_Iscatter sst_mpi_iscatter
#define MPI_Iscatterv sst_mpi_iscatterv
#define MPI_Ialltoall sst_mpi_ialltoall
#define MPI_Ialltoallv sst_mpi_ialltoallv
#define MPI_Ialltoallw sst_mpi_ialltoallw
#define MPI_Wtime sst_mpi_wtime
#define MPI_Disable_Payloads sst_mpi_disable_Payloads
#define MPI_Enable_Payloads sst_mpi_enable_Payloads
#define MPI_Recv_init sst_mpi_recv_init
#define MPI_Startall sst_mpi_startall
#define MPI_Start sst_mpi_start
#define MPI_Testall sst_mpi_testall
#define MPI_Testany sst_mpi_testany
#define MPI_Testsome sst_mpi_testsome
#define MPI_Test_cancelled sst_mpi_test_cancelled
#define MPI_Iprobe sst_mpi_iprobe
#define MPI_Gatherv sst_mpi_gatherv
#define MPI_Alltoallv sst_mpi_alltoallv
#define MPI_Type_contiguous sst_mpi_type_contiguous
#define MPI_Type_commit sst_mpi_type_commit
#define MPI_Type_free sst_mpi_type_free
#define MPI_Wtick sst_mpi_wtick
#define MPI_Type_hvector sst_mpi_type_hvector
#define MPI_Type_vector sst_mpi_type_vector
#define MPI_Type_indexed sst_mpi_type_indexed
#define MPI_Type_extent sst_mpi_type_extent
#define MPI_Type_dup sst_mpi_type_dup
#define MPI_Type_set_name sst_mpi_type_set_name
#define MPI_Type_indexed sst_mpi_type_indexed
#define MPI_Type_size sst_mpi_type_size
#define MPI_Type_get_name sst_mpi_type_get_name
#define MPI_Group_excl sst_mpi_group_excl
#define MPI_Group_range_incl sst_mpi_group_range_incl
#define MPI_Keyval_free sst_mpi_keyval_free
#define MPI_Comm_compare sst_mpi_comm_compare
#define MPI_Type_extent sst_mpi_type_extent
#define MPI_Type_dup sst_mpi_type_dup
#define MPI_Type_set_name sst_mpi_type_set_name
#define MPI_Type_indexed sst_mpi_type_indexed
#define MPI_Type_size sst_mpi_type_size
#define MPI_Type_get_name sst_mpi_type_get_name
#define MPI_Group_excl sst_mpi_group_excl
#define MPI_Testany sst_mpi_testany
#define MPI_Testsome sst_mpi_testsome
#define MPI_Test_cancelled sst_mpi_test_cancelled
#define MPI_Type_indexed sst_mpi_type_indexed
#define MPI_Type_hindexed sst_mpi_type_hindexed
#define MPI_Type_extent sst_mpi_type_extent
#define MPI_Type_size sst_mpi_type_size
#define MPI_Type_lb sst_mpi_type_lb
#define MPI_Type_ub sst_mpi_type_ub
#define MPI_Pack sst_mpi_pack
#define MPI_Unpack sst_mpi_unpack
#define MPI_Pack_size sst_mpi_pack_size
#define MPI_Group_size sst_mpi_group_size
#define MPI_Group_rank sst_mpi_group_rank
#define MPI_Group_range_incl sst_mpi_group_range_incl
#define MPI_Group_compare sst_mpi_group_compare
#define MPI_Group_union sst_mpi_group_union
#define MPI_Group_intersection sst_mpi_group_intersection
#define MPI_Group_difference sst_mpi_group_difference
#define MPI_Group_range_excl sst_mpi_group_range_excl
#define MPI_Keyval_free sst_mpi_keyval_free
#define MPI_Reduce_scatter sst_mpi_reduce_scatter
#define MPI_Finalized sst_mpi_finalized
#define MPI_Type_get_extent sst_mpi_type_get_extent
#define MPI_Type_get_true_extent sst_mpi_type_get_true_extent
#define MPI_Alltoallw sst_mpi_alltoallw
#define MPI_Exscan sst_mpi_exscan
#define MPI_Comm_set_errhandler sst_mpi_comm_set_errhandler
#define MPI_Error_class sst_mpi_error_class
#define MPI_Error_string sst_mpi_error_string
#define MPI_Type_create_struct sst_mpi_type_create_struct
#define MPI_Type_struct sst_mpi_type_create_struct
#define MPI_Buffer_attach sst_mpi_buffer_attach
#define MPI_Buffer_detach sst_mpi_buffer_detach
#define MPI_Init_thread sst_mpi_init_thread
#define MPI_Op_create sst_mpi_op_create
#define MPI_Op_free sst_mpi_op_free
#define MPI_Reduce_scatter_block sst_mpi_reduce_scatter_block
#define MPI_Ireduce_scatter_block sst_mpi_ireduce_scatter_block
#define MPI_Send_init sst_mpi_send_init
#define MPI_Bsend_init sst_mpi_send_init
#define MPI_Rsend_init sst_mpi_send_init
#define MPI_Ssend_init sst_mpi_send_init
#define MPI_Group_translate_ranks sst_mpi_group_translate_ranks
#define MPI_Errhandler_create sst_mpi_errhandler_create
#define MPI_Comm_get_attr sst_mpi_comm_get_attr
#define MPI_Comm_create_group sst_mpi_comm_create_group
#define MPI_Win_flush sst_mpi_win_flush
#define MPI_Win_flush_local sst_mpi_win_flush_local
#define MPI_Win_lock sst_mpi_win_lock
#define MPI_Win_unlock sst_mpi_win_unlock
#define MPI_Win_create sst_mpi_win_create
#define MPI_Win_free sst_mpi_win_free
#define MPI_Get sst_mpi_mpi_get
#define MPI_Put sst_mpi_mpi_put
#define MPI_Intercomm_create error not yet implemented
#define MPI_Comm_remote_size error not yet implemented
#define MPI_Comm_test_inter error not yet implemented
#define MPI_Comm_remote_group error not yet implemented
#define MPI_Intercomm_merge error not yet implemented
#define MPI_Attr_delete error not yet implemented
#define MPI_Dims_create error not yet implemented
#define MPI_Graph_create error not yet implemented
#define MPI_Graphdims_get error not yet implemented
#define MPI_Graph_get error not yet implemented
#define MPI_Cart_sub error not yet implemented
#define MPI_Cart_map error not yet implemented
#define MPI_Graph_map error not yet implemented
#define MPI_Get_processor_name error not yet implemented
#define MPI_Get_version error not yet implemented
#define MPI_Errhandler_get error not yet implemented
#define MPI_Errhandler_free error not yet implemented
#define MPI_Pcontrol error not yet implemented
#define MPI_Close_port error not yet implemented
#define MPI_Comm_accept error not yet implemented
#define MPI_Comm_connect error not yet implemented
#define MPI_Comm_disconnect error not yet implemented
#define MPI_Comm_get_parent error not yet implemented
#define MPI_Comm_join error not yet implemented
#define MPI_Comm_spawn error not yet implemented
#define MPI_Comm_spawn_multiple error not yet implemented
#define MPI_Lookup_name error not yet implemented
#define MPI_Open_port error not yet implemented
#define MPI_Publish_name error not yet implemented
#define MPI_Unpublish_name error not yet implemented
#define MPI_Accumulate error not yet implemented
#define MPI_Win_complete error not yet implemented
#define MPI_Win_fence error not yet implemented
#define MPI_Win_get_group error not yet implemented
#define MPI_Win_post error not yet implemented
#define MPI_Win_start error not yet implemented
#define MPI_Win_test error not yet implemented
#define MPI_Win_wait error not yet implemented
#define MPI_Add_error_class error not yet implemented
#define MPI_Add_error_code error not yet implemented
#define MPI_Add_error_string error not yet implemented
#define MPI_Comm_call_errhandler error not yet implemented
#define MPI_Comm_create_keyval error not yet implemented
#define MPI_Comm_delete_attr error not yet implemented
#define MPI_Comm_free_keyval error not yet implemented
#define MPI_Comm_get_name error not yet implemented
#define MPI_Comm_set_attr error not yet implemented
#define MPI_Comm_set_name error not yet implemented
#define MPI_File_call_errhandler error not yet implemented
#define MPI_Grequest_complete error not yet implemented
#define MPI_Grequest_start error not yet implemented
#define MPI_Is_thread_main error not yet implemented
#define MPI_Query_thread error not yet implemented
#define MPI_Status_set_cancelled error not yet implemented
#define MPI_Status_set_elements error not yet implemented
#define MPI_Type_create_keyval error not yet implemented
#define MPI_Type_delete_attr error not yet implemented
#define MPI_Type_free_keyval error not yet implemented
#define MPI_Type_get_attr error not yet implemented
#define MPI_Type_get_contents error not yet implemented
#define MPI_Type_get_envelope error not yet implemented
#define MPI_Type_set_attr error not yet implemented
#define MPI_Type_match_size error not yet implemented
#define MPI_Win_call_errhandler error not yet implemented
#define MPI_Win_create_keyval error not yet implemented
#define MPI_Win_delete_attr error not yet implemented
#define MPI_Win_free_keyval error not yet implemented
#define MPI_Win_get_attr error not yet implemented
#define MPI_Win_get_name error not yet implemented
#define MPI_Win_set_attr error not yet implemented
#define MPI_Win_set_name error not yet implemented
#define MPI_File_c2f error not yet implemented
#define MPI_Alloc_mem error not yet implemented
#define MPI_Comm_create_errhandler error not yet implemented
#define MPI_Comm_get_errhandler error not yet implemented
#define MPI_File_create_errhandler error not yet implemented
#define MPI_File_get_errhandler error not yet implemented
#define MPI_File_set_errhandler error not yet implemented
#define MPI_Free_mem error not yet implemented
#define MPI_Info_create error not yet implemented
#define MPI_Info_delete error not yet implemented
#define MPI_Info_dup error not yet implemented
#define MPI_Info_free error not yet implemented
#define MPI_Info_get error not yet implemented
#define MPI_Info_get_nkeys error not yet implemented
#define MPI_Info_get_nthkey error not yet implemented
#define MPI_Info_get_valuelen error not yet implemented
#define MPI_Info_set error not yet implemented
#define MPI_Pack_external error not yet implemented
#define MPI_Pack_external_size error not yet implemented
#define MPI_Request_get_status error not yet implemented
#define MPI_Type_create_darray error not yet implemented
#define MPI_Type_create_hindexed error not yet implemented
#define MPI_Type_create_hvector error not yet implemented
#define MPI_Type_create_indexed_block error not yet implemented
#define MPI_Type_create_resized error not yet implemented
#define MPI_Type_create_subarray error not yet implemented
#define MPI_Unpack_external error not yet implemented
#define MPI_Win_create_errhandler error not yet implemented
#define MPI_Win_get_errhandler error not yet implemented
#define MPI_Win_set_errhandler error not yet implemented
#define MPI_Dist_graph_create_adjacent error not yet implemented
#define MPI_Dist_graph_create error not yet implemented
#define MPI_Dist_graph_neighbors_count error not yet implemented
#define MPI_Dist_graph_neighbors error not yet implemented
#define MPI_Intercomm_create error not yet implemented
#define MPI_Sendrecv_replace error not yet implemented
#define MPI_Get_elements error not yet implemented