00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef HAVE_PRAGMA_HP_SEC_DEF
00029
00030
00031
00032 AMPI_CUSTOM_FUNC(int, MPI_File_open, MPI_Comm, char *, int, MPI_Info, MPI_File *)
00033 AMPI_CUSTOM_FUNC(int, MPI_File_close, MPI_File *)
00034 AMPI_CUSTOM_FUNC(int, MPI_File_delete, char *, MPI_Info)
00035 AMPI_CUSTOM_FUNC(int, MPI_File_set_size, MPI_File, MPI_Offset)
00036 AMPI_CUSTOM_FUNC(int, MPI_File_preallocate, MPI_File, MPI_Offset)
00037 AMPI_CUSTOM_FUNC(int, MPI_File_get_size, MPI_File, MPI_Offset *)
00038 AMPI_CUSTOM_FUNC(int, MPI_File_get_group, MPI_File, MPI_Group *)
00039 AMPI_CUSTOM_FUNC(int, MPI_File_get_amode, MPI_File, int *)
00040 AMPI_CUSTOM_FUNC(int, MPI_File_set_info, MPI_File, MPI_Info)
00041 AMPI_CUSTOM_FUNC(int, MPI_File_get_info, MPI_File, MPI_Info *)
00042
00043
00044 AMPI_CUSTOM_FUNC(int, MPI_File_set_view, MPI_File, MPI_Offset, MPI_Datatype,
00045 MPI_Datatype, char *, MPI_Info)
00046 AMPI_CUSTOM_FUNC(int, MPI_File_get_view, MPI_File, MPI_Offset *,
00047 MPI_Datatype *, MPI_Datatype *, char *)
00048
00049
00050 AMPI_CUSTOM_FUNC(int, MPI_File_read_at, MPI_File, MPI_Offset, void *,
00051 int, MPI_Datatype, MPI_Status *)
00052 AMPI_CUSTOM_FUNC(int, MPI_File_read_at_all, MPI_File, MPI_Offset, void *,
00053 int, MPI_Datatype, MPI_Status *)
00054 AMPI_CUSTOM_FUNC(int, MPI_File_write_at, MPI_File, MPI_Offset, void *,
00055 int, MPI_Datatype, MPI_Status *)
00056 AMPI_CUSTOM_FUNC(int, MPI_File_write_at_all, MPI_File, MPI_Offset, void *,
00057 int, MPI_Datatype, MPI_Status *)
00058
00059
00060
00061
00062
00063 AMPI_CUSTOM_FUNC(int, MPI_File_iread_at, MPI_File, MPI_Offset, void *,
00064 int, MPI_Datatype, MPIO_Request *)
00065 AMPI_CUSTOM_FUNC(int, MPI_File_iwrite_at, MPI_File, MPI_Offset, void *,
00066 int, MPI_Datatype, MPIO_Request *)
00067
00068
00069 AMPI_CUSTOM_FUNC(int, MPI_File_read, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00070 AMPI_CUSTOM_FUNC(int, MPI_File_read_all, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00071 AMPI_CUSTOM_FUNC(int, MPI_File_write, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00072 AMPI_CUSTOM_FUNC(int, MPI_File_write_all, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00073
00074
00075
00076
00077
00078 AMPI_CUSTOM_FUNC(int, MPI_File_iread, MPI_File, void *, int, MPI_Datatype, MPIO_Request *)
00079 AMPI_CUSTOM_FUNC(int, MPI_File_iwrite, MPI_File, void *, int, MPI_Datatype, MPIO_Request *)
00080
00081 AMPI_CUSTOM_FUNC(int, MPI_File_seek, MPI_File, MPI_Offset, int)
00082 AMPI_CUSTOM_FUNC(int, MPI_File_get_position, MPI_File, MPI_Offset *)
00083 AMPI_CUSTOM_FUNC(int, MPI_File_get_byte_offset, MPI_File, MPI_Offset, MPI_Offset *)
00084
00085
00086 AMPI_CUSTOM_FUNC(int, MPI_File_read_shared, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00087 AMPI_CUSTOM_FUNC(int, MPI_File_write_shared, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00088 AMPI_CUSTOM_FUNC(int, MPI_File_iread_shared, MPI_File, void *, int, MPI_Datatype, MPIO_Request *)
00089 AMPI_CUSTOM_FUNC(int, MPI_File_iwrite_shared, MPI_File, void *, int,
00090 MPI_Datatype, MPIO_Request *)
00091 AMPI_CUSTOM_FUNC(int, MPI_File_read_ordered, MPI_File, void *, int,
00092 MPI_Datatype, MPI_Status *)
00093 AMPI_CUSTOM_FUNC(int, MPI_File_write_ordered, MPI_File, void *, int,
00094 MPI_Datatype, MPI_Status *)
00095 AMPI_CUSTOM_FUNC(int, MPI_File_seek_shared, MPI_File, MPI_Offset, int)
00096 AMPI_CUSTOM_FUNC(int, MPI_File_get_position_shared, MPI_File, MPI_Offset *)
00097
00098
00099 AMPI_CUSTOM_FUNC(int, MPI_File_read_at_all_begin, MPI_File, MPI_Offset, void *,
00100 int, MPI_Datatype)
00101 AMPI_CUSTOM_FUNC(int, MPI_File_read_at_all_end, MPI_File, void *, MPI_Status *)
00102 AMPI_CUSTOM_FUNC(int, MPI_File_write_at_all_begin, MPI_File, MPI_Offset, void *,
00103 int, MPI_Datatype)
00104 AMPI_CUSTOM_FUNC(int, MPI_File_write_at_all_end, MPI_File, void *, MPI_Status *)
00105 AMPI_CUSTOM_FUNC(int, MPI_File_read_all_begin, MPI_File, void *, int, MPI_Datatype)
00106 AMPI_CUSTOM_FUNC(int, MPI_File_read_all_end, MPI_File, void *, MPI_Status *)
00107 AMPI_CUSTOM_FUNC(int, MPI_File_write_all_begin, MPI_File, void *, int, MPI_Datatype)
00108 AMPI_CUSTOM_FUNC(int, MPI_File_write_all_end, MPI_File, void *, MPI_Status *)
00109 AMPI_CUSTOM_FUNC(int, MPI_File_read_ordered_begin, MPI_File, void *, int, MPI_Datatype)
00110 AMPI_CUSTOM_FUNC(int, MPI_File_read_ordered_end, MPI_File, void *, MPI_Status *)
00111 AMPI_CUSTOM_FUNC(int, MPI_File_write_ordered_begin, MPI_File, void *, int, MPI_Datatype)
00112 AMPI_CUSTOM_FUNC(int, MPI_File_write_ordered_end, MPI_File, void *, MPI_Status *)
00113
00114
00115 AMPI_CUSTOM_FUNC(int, MPI_File_get_type_extent, MPI_File, MPI_Datatype, MPI_Aint *)
00116
00117
00118 AMPI_CUSTOM_FUNC(int, MPI_Register_datarep, char *,
00119 MPI_Datarep_conversion_function *,
00120 MPI_Datarep_conversion_function *,
00121 MPI_Datarep_extent_function *,
00122 void *)
00123
00124
00125 AMPI_CUSTOM_FUNC(int, MPI_File_set_atomicity, MPI_File, int)
00126 AMPI_CUSTOM_FUNC(int, MPI_File_get_atomicity, MPI_File, int *)
00127 AMPI_CUSTOM_FUNC(int, MPI_File_sync, MPI_File)
00128
00129
00130 #ifndef MPICH2
00131
00132 AMPI_CUSTOM_FUNC(int, MPI_File_set_errhandler, MPI_File, MPI_Errhandler )
00133 AMPI_CUSTOM_FUNC(int, MPI_File_get_errhandler, MPI_File, MPI_Errhandler * )
00134 #endif
00135
00136
00137 #ifndef HAVE_MPI_DARRAY_SUBARRAY
00138
00139 AMPI_CUSTOM_FUNC(int, MPI_Type_create_subarray, int, int *, int *, int *, int,
00140 MPI_Datatype, MPI_Datatype *)
00141
00142
00143 AMPI_CUSTOM_FUNC(int, MPI_Type_create_darray, int, int, int,
00144 int *, int *, int *, int *,
00145 int, MPI_Datatype, MPI_Datatype *)
00146 #endif
00147
00148
00149
00150
00151
00152 #if !defined(MPICH_RENAMING_MPI_FUNCS)
00153 #ifdef MPI_File_f2c
00154 #undef MPI_File_f2c
00155 #endif
00156 #ifdef MPI_File_c2f
00157 #undef MPI_File_c2f
00158 #endif
00159 #endif
00160
00161 AMPI_CUSTOM_FUNC(MPI_File, MPI_File_f2c, MPI_Fint)
00162 AMPI_CUSTOM_FUNC(MPI_Fint, MPI_File_c2f, MPI_File)
00163
00164
00165 #ifndef HAVE_MPI_GREQUEST
00166
00167
00168
00169 AMPI_CUSTOM_FUNC(int, MPIO_Test, MPIO_Request *, int *, MPI_Status *)
00170 AMPI_CUSTOM_FUNC(int, MPIO_Wait, MPIO_Request *, MPI_Status *)
00171 AMPI_CUSTOM_FUNC(int, MPIO_Testall, int, MPIO_Request *, int *, MPI_Status *)
00172 AMPI_CUSTOM_FUNC(int, MPIO_Waitall, int, MPIO_Request *, MPI_Status *)
00173 AMPI_CUSTOM_FUNC(int, MPIO_Testany, int, MPIO_Request *, int *, int *, MPI_Status *)
00174 AMPI_CUSTOM_FUNC(int, MPIO_Waitany, int, MPIO_Request *, int *, MPI_Status *)
00175 AMPI_CUSTOM_FUNC(int, MPIO_Waitsome, int, MPIO_Request *, int *, int *, MPI_Status *)
00176 AMPI_CUSTOM_FUNC(int, MPIO_Testsome, int, MPIO_Request *, int *, int *, MPI_Status *)
00177
00178 AMPI_CUSTOM_FUNC(MPI_Fint, MPIO_Request_c2f, MPIO_Request)
00179 AMPI_CUSTOM_FUNC(MPIO_Request, MPIO_Request_f2c, MPI_Fint)
00180 #endif
00181
00182
00183 #ifndef HAVE_MPI_INFO
00184
00185 AMPI_CUSTOM_FUNC(int, MPI_Info_create, MPI_Info *)
00186 AMPI_CUSTOM_FUNC(int, MPI_Info_set, MPI_Info, char *, char *)
00187 AMPI_CUSTOM_FUNC(int, MPI_Info_delete, MPI_Info, char *)
00188 AMPI_CUSTOM_FUNC(int, MPI_Info_get, MPI_Info, char *, int, char *, int *)
00189 AMPI_CUSTOM_FUNC(int, MPI_Info_get_valuelen, MPI_Info, char *, int *, int *)
00190 AMPI_CUSTOM_FUNC(int, MPI_Info_get_nkeys, MPI_Info, int *)
00191 AMPI_CUSTOM_FUNC(int, MPI_Info_get_nthkey, MPI_Info, int, char *)
00192 AMPI_CUSTOM_FUNC(int, MPI_Info_dup, MPI_Info, MPI_Info *)
00193 AMPI_CUSTOM_FUNC(int, MPI_Info_free, MPI_Info *)
00194
00195
00196
00197
00198 #if !defined(MPICH_RENAMING_MPI_FUNCS)
00199 #ifdef MPI_Info_f2c
00200 #undef MPI_Info_f2c
00201 #endif
00202 #ifdef MPI_Info_c2f
00203 #undef MPI_Info_c2f
00204 #endif
00205 #endif
00206
00207 AMPI_CUSTOM_FUNC(MPI_Fint, MPI_Info_c2f, MPI_Info)
00208 AMPI_CUSTOM_FUNC(MPI_Info, MPI_Info_f2c, MPI_Fint)
00209 #endif
00210
00211 #endif
00212
00213
00214
00215
00216
00217
00218 #if 0
00219 AMPI_CUSTOM_FUNC(int, PMPI_File_open, MPI_Comm, char *, int, MPI_Info, MPI_File *)
00220 AMPI_CUSTOM_FUNC(int, PMPI_File_close, MPI_File *)
00221 AMPI_CUSTOM_FUNC(int, PMPI_File_delete, char *, MPI_Info)
00222 AMPI_CUSTOM_FUNC(int, PMPI_File_set_size, MPI_File, MPI_Offset)
00223 AMPI_CUSTOM_FUNC(int, PMPI_File_preallocate, MPI_File, MPI_Offset)
00224 AMPI_CUSTOM_FUNC(int, PMPI_File_get_size, MPI_File, MPI_Offset *)
00225 AMPI_CUSTOM_FUNC(int, PMPI_File_get_group, MPI_File, MPI_Group *)
00226 AMPI_CUSTOM_FUNC(int, PMPI_File_get_amode, MPI_File, int *)
00227 AMPI_CUSTOM_FUNC(int, PMPI_File_set_info, MPI_File, MPI_Info)
00228 AMPI_CUSTOM_FUNC(int, PMPI_File_get_info, MPI_File, MPI_Info *)
00229
00230
00231 AMPI_CUSTOM_FUNC(int, PMPI_File_set_view, MPI_File, MPI_Offset,
00232 MPI_Datatype, MPI_Datatype, char *, MPI_Info)
00233 AMPI_CUSTOM_FUNC(int, PMPI_File_get_view, MPI_File, MPI_Offset *,
00234 MPI_Datatype *, MPI_Datatype *, char *)
00235
00236
00237 AMPI_CUSTOM_FUNC(int, PMPI_File_read_at, MPI_File, MPI_Offset, void *,
00238 int, MPI_Datatype, MPI_Status *)
00239 AMPI_CUSTOM_FUNC(int, PMPI_File_read_at_all, MPI_File, MPI_Offset, void *,
00240 int, MPI_Datatype, MPI_Status *)
00241 AMPI_CUSTOM_FUNC(int, PMPI_File_write_at, MPI_File, MPI_Offset, void *,
00242 int, MPI_Datatype, MPI_Status *)
00243 AMPI_CUSTOM_FUNC(int, PMPI_File_write_at_all, MPI_File, MPI_Offset, void *,
00244 int, MPI_Datatype, MPI_Status *)
00245
00246
00247
00248
00249
00250 AMPI_CUSTOM_FUNC(int, PMPI_File_iread_at, MPI_File, MPI_Offset, void *,
00251 int, MPI_Datatype, MPIO_Request *)
00252 AMPI_CUSTOM_FUNC(int, PMPI_File_iwrite_at, MPI_File, MPI_Offset, void *,
00253 int, MPI_Datatype, MPIO_Request *)
00254
00255
00256 AMPI_CUSTOM_FUNC(int, PMPI_File_read, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00257 AMPI_CUSTOM_FUNC(int, PMPI_File_read_all, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00258 AMPI_CUSTOM_FUNC(int, PMPI_File_write, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00259 AMPI_CUSTOM_FUNC(int, PMPI_File_write_all, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00260
00261
00262
00263
00264
00265 AMPI_CUSTOM_FUNC(int, PMPI_File_iread, MPI_File, void *, int, MPI_Datatype, MPIO_Request *)
00266 AMPI_CUSTOM_FUNC(int, PMPI_File_iwrite, MPI_File, void *, int, MPI_Datatype, MPIO_Request *)
00267
00268 AMPI_CUSTOM_FUNC(int, PMPI_File_seek, MPI_File, MPI_Offset, int)
00269 AMPI_CUSTOM_FUNC(int, PMPI_File_get_position, MPI_File, MPI_Offset *)
00270 AMPI_CUSTOM_FUNC(int, PMPI_File_get_byte_offset, MPI_File, MPI_Offset, MPI_Offset *)
00271
00272
00273 AMPI_CUSTOM_FUNC(int, PMPI_File_read_shared, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00274 AMPI_CUSTOM_FUNC(int, PMPI_File_write_shared, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00275 AMPI_CUSTOM_FUNC(int, PMPI_File_iread_shared, MPI_File, void *, int,
00276 MPI_Datatype, MPIO_Request *)
00277 AMPI_CUSTOM_FUNC(int, PMPI_File_iwrite_shared, MPI_File, void *, int,
00278 MPI_Datatype, MPIO_Request *)
00279 AMPI_CUSTOM_FUNC(int, PMPI_File_read_ordered, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00280 AMPI_CUSTOM_FUNC(int, PMPI_File_write_ordered, MPI_File, void *, int, MPI_Datatype, MPI_Status *)
00281 AMPI_CUSTOM_FUNC(int, PMPI_File_seek_shared, MPI_File, MPI_Offset, int)
00282 AMPI_CUSTOM_FUNC(int, PMPI_File_get_position_shared, MPI_File, MPI_Offset *)
00283
00284
00285 AMPI_CUSTOM_FUNC(int, PMPI_File_read_at_all_begin, MPI_File, MPI_Offset, void *,
00286 int, MPI_Datatype)
00287 AMPI_CUSTOM_FUNC(int, PMPI_File_read_at_all_end, MPI_File, void *, MPI_Status *)
00288 AMPI_CUSTOM_FUNC(int, PMPI_File_write_at_all_begin, MPI_File, MPI_Offset, void *,
00289 int, MPI_Datatype)
00290 AMPI_CUSTOM_FUNC(int, PMPI_File_write_at_all_end, MPI_File, void *, MPI_Status *)
00291 AMPI_CUSTOM_FUNC(int, PMPI_File_read_all_begin, MPI_File, void *, int, MPI_Datatype)
00292 AMPI_CUSTOM_FUNC(int, PMPI_File_read_all_end, MPI_File, void *, MPI_Status *)
00293 AMPI_CUSTOM_FUNC(int, PMPI_File_write_all_begin, MPI_File, void *, int, MPI_Datatype)
00294 AMPI_CUSTOM_FUNC(int, PMPI_File_write_all_end, MPI_File, void *, MPI_Status *)
00295 AMPI_CUSTOM_FUNC(int, PMPI_File_read_ordered_begin, MPI_File, void *, int, MPI_Datatype)
00296 AMPI_CUSTOM_FUNC(int, PMPI_File_read_ordered_end, MPI_File, void *, MPI_Status *)
00297 AMPI_CUSTOM_FUNC(int, PMPI_File_write_ordered_begin, MPI_File, void *, int, MPI_Datatype)
00298 AMPI_CUSTOM_FUNC(int, PMPI_File_write_ordered_end, MPI_File, void *, MPI_Status *)
00299
00300
00301 AMPI_CUSTOM_FUNC(int, PMPI_File_get_type_extent, MPI_File, MPI_Datatype, MPI_Aint *)
00302
00303
00304 AMPI_CUSTOM_FUNC(int, PMPI_Register_datarep, char *,
00305 MPI_Datarep_conversion_function *,
00306 MPI_Datarep_conversion_function *,
00307 MPI_Datarep_extent_function *,
00308 void *)
00309
00310
00311 AMPI_CUSTOM_FUNC(int, PMPI_File_set_atomicity, MPI_File, int)
00312 AMPI_CUSTOM_FUNC(int, PMPI_File_get_atomicity, MPI_File, int *)
00313 AMPI_CUSTOM_FUNC(int, PMPI_File_sync, MPI_File)
00314
00315
00316 #ifndef MPICH2
00317
00318 AMPI_CUSTOM_FUNC(int, PMPI_File_set_errhandler, MPI_File, MPI_Errhandler )
00319 AMPI_CUSTOM_FUNC(int, PMPI_File_get_errhandler, MPI_File, MPI_Errhandler * )
00320 #endif
00321
00322 #ifndef HAVE_MPI_DARRAY_SUBARRAY
00323
00324 AMPI_CUSTOM_FUNC(int, PMPI_Type_create_subarray, int, int *, int *, int *, int,
00325 MPI_Datatype, MPI_Datatype *)
00326
00327
00328 AMPI_CUSTOM_FUNC(int, PMPI_Type_create_darray, int, int, int, int *, int *,
00329 int *, int *, int, MPI_Datatype, MPI_Datatype *)
00330 #endif
00331
00332
00333 AMPI_CUSTOM_FUNC(MPI_File, PMPI_File_f2c, MPI_Fint)
00334 AMPI_CUSTOM_FUNC(MPI_Fint, PMPI_File_c2f, MPI_File)
00335
00336 #ifndef HAVE_MPI_GREQUEST
00337
00338
00339
00340 AMPI_CUSTOM_FUNC(int, PMPIO_Test, MPIO_Request *, int *, MPI_Status *)
00341 AMPI_CUSTOM_FUNC(int, PMPIO_Wait, MPIO_Request *, MPI_Status *)
00342 AMPI_CUSTOM_FUNC(int, PMPIO_Testall, int, MPIO_Request *, int *, MPI_Status *)
00343 AMPI_CUSTOM_FUNC(int, PMPIO_Waitall, int, MPIO_Request *, MPI_Status *)
00344 AMPI_CUSTOM_FUNC(int, PMPIO_Testany, int, MPIO_Request *, int *, int *, MPI_Status *)
00345 AMPI_CUSTOM_FUNC(int, PMPIO_Waitany, int, MPIO_Request *, int *, MPI_Status *)
00346 AMPI_CUSTOM_FUNC(int, PMPIO_Waitsome, int, MPIO_Request *, int *, int *, MPI_Status *)
00347 AMPI_CUSTOM_FUNC(int, PMPIO_Testsome, int, MPIO_Request *, int *, int *, MPI_Status *)
00348 AMPI_CUSTOM_FUNC(MPI_Fint, PMPIO_Request_c2f, MPIO_Request)
00349 AMPI_CUSTOM_FUNC(MPIO_Request, PMPIO_Request_f2c, MPI_Fint)
00350 #endif
00351
00352
00353 #ifndef HAVE_MPI_INFO
00354
00355 AMPI_CUSTOM_FUNC(int, PMPI_Info_create, MPI_Info *)
00356 AMPI_CUSTOM_FUNC(int, PMPI_Info_set, MPI_Info, char *, char *)
00357 AMPI_CUSTOM_FUNC(int, PMPI_Info_delete, MPI_Info, char *)
00358 AMPI_CUSTOM_FUNC(int, PMPI_Info_get, MPI_Info, char *, int, char *, int *)
00359 AMPI_CUSTOM_FUNC(int, PMPI_Info_get_valuelen, MPI_Info, char *, int *, int *)
00360 AMPI_CUSTOM_FUNC(int, PMPI_Info_get_nkeys, MPI_Info, int *)
00361 AMPI_CUSTOM_FUNC(int, PMPI_Info_get_nthkey, MPI_Info, int, char *)
00362 AMPI_CUSTOM_FUNC(int, PMPI_Info_dup, MPI_Info, MPI_Info *)
00363 AMPI_CUSTOM_FUNC(int, PMPI_Info_free, MPI_Info *)
00364
00365 AMPI_CUSTOM_FUNC(MPI_Fint, PMPI_Info_c2f, MPI_Info)
00366 AMPI_CUSTOM_FUNC(MPI_Info, PMPI_Info_f2c, MPI_Fint)
00367 #endif
00368 #endif