33 ret = PMPI_Init(argc , argv );
49 if( (ret = PMPI_Init_thread(argc, argv, required, provided)) != MPI_SUCCESS )
65 ret = PMPI_Finalize();
77 int ret = PMPI_Abort( comm, errorcode );
80 int MPI_Accumulate(
void * origin_addr,
int origin_count, MPI_Datatype origin_datatype,
int target_rank, MPI_Aint target_disp,
int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win )
84 int ret = PMPI_Accumulate( origin_addr, origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, op, win );
91 int ret = PMPI_Add_error_class( errorclass );
98 int ret = PMPI_Add_error_code( errorclass, errorcode );
105 int ret = PMPI_Add_error_string( errorcode,
string );
112 int ret = PMPI_Address( location, address );
115 int MPI_Allgather(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int recvcount, MPI_Datatype recvtype, MPI_Comm comm )
119 int ret = PMPI_Allgather( sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm );
122 int MPI_Allgatherv(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int * recvcounts,
int * displs, MPI_Datatype recvtype, MPI_Comm comm )
126 int ret = PMPI_Allgatherv( sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, comm );
133 int ret = PMPI_Alloc_mem( size, info, baseptr );
136 int MPI_Allreduce(
void * sendbuf,
void * recvbuf,
int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm )
140 int ret = PMPI_Allreduce( sendbuf, recvbuf, count, datatype, op, comm );
143 int MPI_Alltoall(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int recvcount, MPI_Datatype recvtype, MPI_Comm comm )
147 int ret = PMPI_Alltoall( sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, comm );
150 int MPI_Alltoallv(
void * sendbuf,
int * sendcounts,
int * sdispls, MPI_Datatype sendtype,
void * recvbuf,
int * recvcounts,
int * rdispls, MPI_Datatype recvtype, MPI_Comm comm )
154 int ret = PMPI_Alltoallv( sendbuf, sendcounts, sdispls, sendtype, recvbuf, recvcounts, rdispls, recvtype, comm );
157 int MPI_Alltoallw(
void * sendbuf,
int * sendcounts,
int * sdispls, MPI_Datatype * sendtypes,
void * recvbuf,
int * recvcounts,
int * rdispls, MPI_Datatype * recvtypes, MPI_Comm comm )
161 int ret = PMPI_Alltoallw( sendbuf, sendcounts, sdispls, sendtypes, recvbuf, recvcounts, rdispls, recvtypes, comm );
168 int ret = PMPI_Attr_delete( comm, keyval );
171 int MPI_Attr_get( MPI_Comm comm,
int keyval,
void * attribute_val,
int * flag )
175 int ret = PMPI_Attr_get( comm, keyval, attribute_val, flag );
182 int ret = PMPI_Attr_put( comm, keyval, attribute_val );
189 int ret = PMPI_Barrier( comm );
192 int MPI_Bcast(
void * buffer,
int count, MPI_Datatype datatype,
int root, MPI_Comm comm )
196 int ret = PMPI_Bcast( buffer, count, datatype, root, comm );
199 int MPI_Bsend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm )
203 int ret = PMPI_Bsend( buf, count, datatype, dest, tag, comm );
206 int MPI_Bsend_init(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
210 int ret = PMPI_Bsend_init( buf, count, datatype, dest, tag, comm, request );
217 int ret = PMPI_Buffer_attach( buffer, size );
224 int ret = PMPI_Buffer_detach( buffer, size );
231 int ret = PMPI_Cancel( request );
238 int ret = PMPI_Cart_coords( comm, rank, maxdims, coords );
241 int MPI_Cart_create( MPI_Comm old_comm,
int ndims,
int * dims,
int * periods,
int reorder, MPI_Comm * comm_cart )
245 int ret = PMPI_Cart_create( old_comm, ndims, dims, periods, reorder, comm_cart );
248 int MPI_Cart_get( MPI_Comm comm,
int maxdims,
int * dims,
int * periods,
int * coords )
252 int ret = PMPI_Cart_get( comm, maxdims, dims, periods, coords );
255 int MPI_Cart_map( MPI_Comm comm,
int ndims,
int * dims,
int * periods,
int * newrank )
259 int ret = PMPI_Cart_map( comm, ndims, dims, periods, newrank );
266 int ret = PMPI_Cart_rank( comm, coords, rank );
269 int MPI_Cart_shift( MPI_Comm comm,
int direction,
int disp,
int * rank_source,
int * rank_dest )
273 int ret = PMPI_Cart_shift( comm, direction, disp, rank_source, rank_dest );
276 int MPI_Cart_sub( MPI_Comm comm,
int * remain_dims, MPI_Comm * new_comm )
280 int ret = PMPI_Cart_sub( comm, remain_dims, new_comm );
287 int ret = PMPI_Cartdim_get( comm, ndims );
294 int ret = PMPI_Close_port( port_name );
297 int MPI_Comm_accept(
char * port_name, MPI_Info info,
int root, MPI_Comm comm, MPI_Comm * newcomm )
301 int ret = PMPI_Comm_accept( port_name, info, root, comm, newcomm );
308 int ret = PMPI_Comm_c2f( comm );
315 int ret = PMPI_Comm_call_errhandler( comm, errorcode );
322 int ret = PMPI_Comm_compare( comm1, comm2, result );
325 int MPI_Comm_connect(
char * port_name, MPI_Info info,
int root, MPI_Comm comm, MPI_Comm * newcomm )
329 int ret = PMPI_Comm_connect( port_name, info, root, comm, newcomm );
336 int ret = PMPI_Comm_create_errhandler(
function, errhandler );
339 int MPI_Comm_create_keyval( MPI_Comm_copy_attr_function * comm_copy_attr_fn, MPI_Comm_delete_attr_function * comm_delete_attr_fn,
int * comm_keyval,
void * extra_state )
343 int ret = PMPI_Comm_create_keyval( comm_copy_attr_fn, comm_delete_attr_fn, comm_keyval, extra_state );
350 int ret = PMPI_Comm_create( comm, group, newcomm );
357 int ret = PMPI_Comm_delete_attr( comm, comm_keyval );
364 int ret = PMPI_Comm_disconnect( comm );
371 int ret = PMPI_Comm_dup( comm, newcomm );
378 int ret = PMPI_Comm_free_keyval( comm_keyval );
385 int ret = PMPI_Comm_free( comm );
392 int ret = PMPI_Comm_get_attr( comm, comm_keyval, attribute_val, flag );
399 int ret = PMPI_Comm_get_errhandler( comm, erhandler );
406 int ret = PMPI_Comm_get_name( comm, comm_name, resultlen );
413 int ret = PMPI_Comm_get_parent( parent );
420 int ret = PMPI_Comm_group( comm, group );
427 int ret = PMPI_Comm_join( fd, intercomm );
434 int ret = PMPI_Comm_rank( comm, rank );
441 int ret = PMPI_Comm_remote_group( comm, group );
448 int ret = PMPI_Comm_remote_size( comm, size );
455 int ret = PMPI_Comm_set_attr( comm, comm_keyval, attribute_val );
462 int ret = PMPI_Comm_set_errhandler( comm, errhandler );
469 int ret = PMPI_Comm_set_name( comm, comm_name );
476 int ret = PMPI_Comm_size( comm, size );
479 int MPI_Comm_spawn(
char * command,
char ** argv,
int maxprocs, MPI_Info info,
int root, MPI_Comm comm, MPI_Comm * intercomm,
int * array_of_errcodes )
483 int ret = PMPI_Comm_spawn( command, argv, maxprocs, info, root, comm, intercomm, array_of_errcodes );
486 int MPI_Comm_spawn_multiple(
int count,
char ** array_of_commands,
char *** array_of_argv,
int * array_of_maxprocs, MPI_Info * array_of_info,
int root, MPI_Comm comm, MPI_Comm * intercomm,
int * array_of_errcodes )
490 int ret = PMPI_Comm_spawn_multiple( count, array_of_commands, array_of_argv, array_of_maxprocs, array_of_info, root, comm, intercomm, array_of_errcodes );
497 int ret = PMPI_Comm_split( comm, color, key, newcomm );
504 int ret = PMPI_Comm_test_inter( comm, flag );
511 int ret = PMPI_Dims_create( nnodes, ndims, dims );
518 int ret = PMPI_Errhandler_c2f( errhandler );
525 int ret = PMPI_Errhandler_create(
function, errhandler );
532 int ret = PMPI_Errhandler_free( errhandler );
539 int ret = PMPI_Errhandler_get( comm, errhandler );
546 int ret = PMPI_Errhandler_set( comm, errhandler );
553 int ret = PMPI_Error_class( errorcode, errorclass );
560 int ret = PMPI_Error_string( errorcode,
string, resultlen );
563 int MPI_Exscan(
void * sendbuf,
void * recvbuf,
int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm )
567 int ret = PMPI_Exscan( sendbuf, recvbuf, count, datatype, op, comm );
574 int ret = PMPI_File_c2f( file );
581 int ret = PMPI_File_call_errhandler( fh, errorcode );
588 int ret = PMPI_File_create_errhandler(
function, errhandler );
595 int ret = PMPI_File_set_errhandler( file, errhandler );
602 int ret = PMPI_File_get_errhandler( file, errhandler );
605 int MPI_File_open( MPI_Comm comm,
char * filename,
int amode, MPI_Info info, MPI_File * fh )
609 int ret = PMPI_File_open( comm, filename, amode, info, fh );
616 int ret = PMPI_File_close( fh );
623 int ret = PMPI_File_delete( filename, info );
630 int ret = PMPI_File_set_size( fh, size );
637 int ret = PMPI_File_preallocate( fh, size );
644 int ret = PMPI_File_get_size( fh, size );
651 int ret = PMPI_File_get_group( fh, group );
658 int ret = PMPI_File_get_amode( fh, amode );
665 int ret = PMPI_File_set_info( fh, info );
672 int ret = PMPI_File_get_info( fh, info_used );
675 int MPI_File_set_view( MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype,
char * datarep, MPI_Info info )
679 int ret = PMPI_File_set_view( fh, disp, etype, filetype, datarep, info );
682 int MPI_File_get_view( MPI_File fh, MPI_Offset * disp, MPI_Datatype * etype, MPI_Datatype * filetype,
char * datarep )
686 int ret = PMPI_File_get_view( fh, disp, etype, filetype, datarep );
689 int MPI_File_read_at( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
693 int ret = PMPI_File_read_at( fh, offset, buf, count, datatype, status );
696 int MPI_File_read_at_all( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
700 int ret = PMPI_File_read_at_all( fh, offset, buf, count, datatype, status );
703 int MPI_File_write_at( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
707 int ret = PMPI_File_write_at( fh, offset, buf, count, datatype, status );
710 int MPI_File_write_at_all( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
714 int ret = PMPI_File_write_at_all( fh, offset, buf, count, datatype, status );
717 int MPI_File_iread_at( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Request * request )
721 int ret = PMPI_File_iread_at( fh, offset, buf, count, datatype, request );
724 int MPI_File_iwrite_at( MPI_File fh, MPI_Offset offset,
void * buf,
int count, MPI_Datatype datatype, MPI_Request * request )
728 int ret = PMPI_File_iwrite_at( fh, offset, buf, count, datatype, request );
731 int MPI_File_read( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
735 int ret = PMPI_File_read( fh, buf, count, datatype, status );
738 int MPI_File_read_all( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
742 int ret = PMPI_File_read_all( fh, buf, count, datatype, status );
745 int MPI_File_write( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
749 int ret = PMPI_File_write( fh, buf, count, datatype, status );
752 int MPI_File_write_all( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Status * status )
756 int ret = PMPI_File_write_all( fh, buf, count, datatype, status );
759 int MPI_File_iread( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Request * request )
763 int ret = PMPI_File_iread( fh, buf, count, datatype, request );
766 int MPI_File_iwrite( MPI_File fh,
void * buf,
int count, MPI_Datatype datatype, MPI_Request * request )
770 int ret = PMPI_File_iwrite( fh, buf, count, datatype, request );
777 int ret = PMPI_File_seek( fh, offset, whence );
784 int ret = PMPI_File_get_position( fh, offset );
791 int ret = PMPI_File_get_byte_offset( fh, offset, disp );
798 int ret = PMPI_File_read_shared( fh, buf, count, datatype, status );
805 int ret = PMPI_File_write_shared( fh, buf, count, datatype, status );
812 int ret = PMPI_File_iread_shared( fh, buf, count, datatype, request );
819 int ret = PMPI_File_iwrite_shared( fh, buf, count, datatype, request );
826 int ret = PMPI_File_read_ordered( fh, buf, count, datatype, status );
833 int ret = PMPI_File_write_ordered( fh, buf, count, datatype, status );
840 int ret = PMPI_File_seek_shared( fh, offset, whence );
847 int ret = PMPI_File_get_position_shared( fh, offset );
854 int ret = PMPI_File_read_at_all_begin( fh, offset, buf, count, datatype );
861 int ret = PMPI_File_read_at_all_end( fh, buf, status );
868 int ret = PMPI_File_write_at_all_begin( fh, offset, buf, count, datatype );
875 int ret = PMPI_File_write_at_all_end( fh, buf, status );
882 int ret = PMPI_File_read_all_begin( fh, buf, count, datatype );
889 int ret = PMPI_File_read_all_end( fh, buf, status );
896 int ret = PMPI_File_write_all_begin( fh, buf, count, datatype );
903 int ret = PMPI_File_write_all_end( fh, buf, status );
910 int ret = PMPI_File_read_ordered_begin( fh, buf, count, datatype );
917 int ret = PMPI_File_read_ordered_end( fh, buf, status );
924 int ret = PMPI_File_write_ordered_begin( fh, buf, count, datatype );
931 int ret = PMPI_File_write_ordered_end( fh, buf, status );
938 int ret = PMPI_File_get_type_extent( fh, datatype, extent );
945 int ret = PMPI_File_set_atomicity( fh, flag );
952 int ret = PMPI_File_get_atomicity( fh, flag );
959 int ret = PMPI_File_sync( fh );
966 int ret = PMPI_Finalized( flag );
973 int ret = PMPI_Free_mem( base );
976 int MPI_Gather(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int recvcount, MPI_Datatype recvtype,
int root, MPI_Comm comm )
980 int ret = PMPI_Gather( sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm );
983 int MPI_Gatherv(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int * recvcounts,
int * displs, MPI_Datatype recvtype,
int root, MPI_Comm comm )
987 int ret = PMPI_Gatherv( sendbuf, sendcount, sendtype, recvbuf, recvcounts, displs, recvtype, root, comm );
994 int ret = PMPI_Get_address( location, address );
997 int MPI_Get_count( MPI_Status * status, MPI_Datatype datatype,
int * count )
1001 int ret = PMPI_Get_count( status, datatype, count );
1008 int ret = PMPI_Get_elements( status, datatype, count );
1011 int MPI_Get(
void * origin_addr,
int origin_count, MPI_Datatype origin_datatype,
int target_rank, MPI_Aint target_disp,
int target_count, MPI_Datatype target_datatype, MPI_Win win )
1015 int ret = PMPI_Get( origin_addr, origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, win );
1022 int ret = PMPI_Get_processor_name( name, resultlen );
1029 int ret = PMPI_Get_version( version, subversion );
1032 int MPI_Graph_create( MPI_Comm comm_old,
int nnodes,
int * index,
int * edges,
int reorder, MPI_Comm * comm_graph )
1036 int ret = PMPI_Graph_create( comm_old, nnodes, index, edges, reorder, comm_graph );
1039 int MPI_Graph_get( MPI_Comm comm,
int maxindex,
int maxedges,
int * index,
int * edges )
1043 int ret = PMPI_Graph_get( comm, maxindex, maxedges, index, edges );
1046 int MPI_Graph_map( MPI_Comm comm,
int nnodes,
int * index,
int * edges,
int * newrank )
1050 int ret = PMPI_Graph_map( comm, nnodes, index, edges, newrank );
1057 int ret = PMPI_Graph_neighbors_count( comm, rank, nneighbors );
1064 int ret = PMPI_Graph_neighbors( comm, rank, maxneighbors, neighbors );
1071 int ret = PMPI_Graphdims_get( comm, nnodes, nedges );
1078 int ret = PMPI_Grequest_complete( request );
1081 int MPI_Grequest_start( MPI_Grequest_query_function * query_fn, MPI_Grequest_free_function * free_fn, MPI_Grequest_cancel_function * cancel_fn,
void * extra_state, MPI_Request * request )
1085 int ret = PMPI_Grequest_start( query_fn, free_fn, cancel_fn, extra_state, request );
1092 int ret = PMPI_Group_c2f( group );
1099 int ret = PMPI_Group_compare( group1, group2, result );
1106 int ret = PMPI_Group_difference( group1, group2, newgroup );
1113 int ret = PMPI_Group_excl( group, n, ranks, newgroup );
1120 int ret = PMPI_Group_free( group );
1127 int ret = PMPI_Group_incl( group, n, ranks, newgroup );
1134 int ret = PMPI_Group_intersection( group1, group2, newgroup );
1141 int ret = PMPI_Group_range_excl( group, n, ranges, newgroup );
1148 int ret = PMPI_Group_range_incl( group, n, ranges, newgroup );
1155 int ret = PMPI_Group_rank( group, rank );
1162 int ret = PMPI_Group_size( group, size );
1169 int ret = PMPI_Group_translate_ranks( group1, n, ranks1, group2, ranks2 );
1176 int ret = PMPI_Group_union( group1, group2, newgroup );
1179 int MPI_Ibsend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1183 int ret = PMPI_Ibsend( buf, count, datatype, dest, tag, comm, request );
1190 int ret = PMPI_Info_c2f( info );
1197 int ret = PMPI_Info_create( info );
1204 int ret = PMPI_Info_delete( info, key );
1211 int ret = PMPI_Info_dup( info, newinfo );
1218 int ret = PMPI_Info_free( info );
1221 int MPI_Info_get( MPI_Info info,
char * key,
int valuelen,
char * value,
int * flag )
1225 int ret = PMPI_Info_get( info, key, valuelen, value, flag );
1232 int ret = PMPI_Info_get_nkeys( info, nkeys );
1239 int ret = PMPI_Info_get_nthkey( info, n, key );
1246 int ret = PMPI_Info_get_valuelen( info, key, valuelen, flag );
1253 int ret = PMPI_Info_set( info, key, value );
1260 int ret = PMPI_Initialized( flag );
1263 int MPI_Intercomm_create( MPI_Comm local_comm,
int local_leader, MPI_Comm bridge_comm,
int remote_leader,
int tag, MPI_Comm * newintercomm )
1267 int ret = PMPI_Intercomm_create( local_comm, local_leader, bridge_comm, remote_leader, tag, newintercomm );
1274 int ret = PMPI_Intercomm_merge( intercomm, high, newintercomm );
1277 int MPI_Iprobe(
int source,
int tag, MPI_Comm comm,
int * flag, MPI_Status * status )
1281 int ret = PMPI_Iprobe( source, tag, comm, flag, status );
1284 int MPI_Irecv(
void * buf,
int count, MPI_Datatype datatype,
int source,
int tag, MPI_Comm comm, MPI_Request * request )
1288 int ret = PMPI_Irecv( buf, count, datatype, source, tag, comm, request );
1291 int MPI_Irsend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1295 int ret = PMPI_Irsend( buf, count, datatype, dest, tag, comm, request );
1298 int MPI_Isend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1302 int ret = PMPI_Isend( buf, count, datatype, dest, tag, comm, request );
1305 int MPI_Issend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1309 int ret = PMPI_Issend( buf, count, datatype, dest, tag, comm, request );
1316 int ret = PMPI_Is_thread_main( flag );
1319 int MPI_Keyval_create( MPI_Copy_function * copy_fn, MPI_Delete_function * delete_fn,
int * keyval,
void * extra_state )
1323 int ret = PMPI_Keyval_create( copy_fn, delete_fn, keyval, extra_state );
1330 int ret = PMPI_Keyval_free( keyval );
1337 int ret = PMPI_Lookup_name( service_name, info, port_name );
1344 int ret = PMPI_Op_c2f( op );
1351 int ret = PMPI_Op_commutative( op, commute );
1358 int ret = PMPI_Op_create(
function, commute, op );
1365 int ret = PMPI_Open_port( info, port_name );
1372 int ret = PMPI_Op_free( op );
1375 int MPI_Pack_external(
char * datarep,
void * inbuf,
int incount, MPI_Datatype datatype,
void * outbuf, MPI_Aint outsize, MPI_Aint * position )
1379 int ret = PMPI_Pack_external( datarep, inbuf, incount, datatype, outbuf, outsize, position );
1386 int ret = PMPI_Pack_external_size( datarep, incount, datatype, size );
1389 int MPI_Pack(
void * inbuf,
int incount, MPI_Datatype datatype,
void * outbuf,
int outsize,
int * position, MPI_Comm comm )
1393 int ret = PMPI_Pack( inbuf, incount, datatype, outbuf, outsize, position, comm );
1396 int MPI_Pack_size(
int incount, MPI_Datatype datatype, MPI_Comm comm,
int * size )
1400 int ret = PMPI_Pack_size( incount, datatype, comm, size );
1403 int MPI_Probe(
int source,
int tag, MPI_Comm comm, MPI_Status * status )
1407 int ret = PMPI_Probe( source, tag, comm, status );
1414 int ret = PMPI_Publish_name( service_name, info, port_name );
1417 int MPI_Put(
void * origin_addr,
int origin_count, MPI_Datatype origin_datatype,
int target_rank, MPI_Aint target_disp,
int target_count, MPI_Datatype target_datatype, MPI_Win win )
1421 int ret = PMPI_Put( origin_addr, origin_count, origin_datatype, target_rank, target_disp, target_count, target_datatype, win );
1428 int ret = PMPI_Query_thread( provided );
1431 int MPI_Recv_init(
void * buf,
int count, MPI_Datatype datatype,
int source,
int tag, MPI_Comm comm, MPI_Request * request )
1435 int ret = PMPI_Recv_init( buf, count, datatype, source, tag, comm, request );
1438 int MPI_Recv(
void * buf,
int count, MPI_Datatype datatype,
int source,
int tag, MPI_Comm comm, MPI_Status * status )
1442 int ret = PMPI_Recv( buf, count, datatype, source, tag, comm, status );
1445 int MPI_Reduce(
void * sendbuf,
void * recvbuf,
int count, MPI_Datatype datatype, MPI_Op op,
int root, MPI_Comm comm )
1449 int ret = PMPI_Reduce( sendbuf, recvbuf, count, datatype, op, root, comm );
1452 int MPI_Reduce_local(
void * inbuf,
void * inoutbuf,
int count, MPI_Datatype datatype, MPI_Op op )
1456 int ret = PMPI_Reduce_local( inbuf, inoutbuf, count, datatype, op );
1459 int MPI_Reduce_scatter(
void * sendbuf,
void * recvbuf,
int * recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm )
1463 int ret = PMPI_Reduce_scatter( sendbuf, recvbuf, recvcounts, datatype, op, comm );
1466 int MPI_Register_datarep(
char * datarep, MPI_Datarep_conversion_function * read_conversion_fn, MPI_Datarep_conversion_function * write_conversion_fn, MPI_Datarep_extent_function * dtype_file_extent_fn,
void * extra_state )
1470 int ret = PMPI_Register_datarep( datarep, read_conversion_fn, write_conversion_fn, dtype_file_extent_fn, extra_state );
1477 int ret = PMPI_Request_c2f( request );
1484 int ret = PMPI_Request_free( request );
1491 int ret = PMPI_Request_get_status( request, flag, status );
1494 int MPI_Rsend(
void * ibuf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm )
1498 int ret = PMPI_Rsend( ibuf, count, datatype, dest, tag, comm );
1501 int MPI_Rsend_init(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1505 int ret = PMPI_Rsend_init( buf, count, datatype, dest, tag, comm, request );
1508 int MPI_Scan(
void * sendbuf,
void * recvbuf,
int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm )
1512 int ret = PMPI_Scan( sendbuf, recvbuf, count, datatype, op, comm );
1515 int MPI_Scatter(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
void * recvbuf,
int recvcount, MPI_Datatype recvtype,
int root, MPI_Comm comm )
1519 int ret = PMPI_Scatter( sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm );
1522 int MPI_Scatterv(
void * sendbuf,
int * sendcounts,
int * displs, MPI_Datatype sendtype,
void * recvbuf,
int recvcount, MPI_Datatype recvtype,
int root, MPI_Comm comm )
1526 int ret = PMPI_Scatterv( sendbuf, sendcounts, displs, sendtype, recvbuf, recvcount, recvtype, root, comm );
1529 int MPI_Send_init(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1533 int ret = PMPI_Send_init( buf, count, datatype, dest, tag, comm, request );
1536 int MPI_Send(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm )
1540 int ret = PMPI_Send( buf, count, datatype, dest, tag, comm );
1543 int MPI_Sendrecv(
void * sendbuf,
int sendcount, MPI_Datatype sendtype,
int dest,
int sendtag,
void * recvbuf,
int recvcount, MPI_Datatype recvtype,
int source,
int recvtag, MPI_Comm comm, MPI_Status * status )
1547 int ret = PMPI_Sendrecv( sendbuf, sendcount, sendtype, dest, sendtag, recvbuf, recvcount, recvtype, source, recvtag, comm, status );
1550 int MPI_Sendrecv_replace(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int sendtag,
int source,
int recvtag, MPI_Comm comm, MPI_Status * status )
1554 int ret = PMPI_Sendrecv_replace( buf, count, datatype, dest, sendtag, source, recvtag, comm, status );
1557 int MPI_Ssend_init(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm, MPI_Request * request )
1561 int ret = PMPI_Ssend_init( buf, count, datatype, dest, tag, comm, request );
1564 int MPI_Ssend(
void * buf,
int count, MPI_Datatype datatype,
int dest,
int tag, MPI_Comm comm )
1568 int ret = PMPI_Ssend( buf, count, datatype, dest, tag, comm );
1575 int ret = PMPI_Start( request );
1582 int ret = PMPI_Startall( count, array_of_requests );
1589 int ret = PMPI_Status_c2f( c_status, f_status );
1596 int ret = PMPI_Status_f2c( f_status, c_status );
1603 int ret = PMPI_Status_set_cancelled( status, flag );
1610 int ret = PMPI_Status_set_elements( status, datatype, count );
1613 int MPI_Testall(
int count, MPI_Request array_of_requests[],
int * flag, MPI_Status array_of_statuses[] )
1617 int ret = PMPI_Testall( count, array_of_requests, flag, array_of_statuses );
1620 int MPI_Testany(
int count, MPI_Request array_of_requests[],
int * index,
int * flag, MPI_Status * status )
1624 int ret = PMPI_Testany( count, array_of_requests, index, flag, status );
1627 int MPI_Test( MPI_Request * request,
int * flag, MPI_Status * status )
1631 int ret = PMPI_Test( request, flag, status );
1638 int ret = PMPI_Test_cancelled( status, flag );
1641 int MPI_Testsome(
int incount, MPI_Request array_of_requests[],
int * outcount,
int array_of_indices[], MPI_Status array_of_statuses[] )
1645 int ret = PMPI_Testsome( incount, array_of_requests, outcount, array_of_indices, array_of_statuses );
1652 int ret = PMPI_Topo_test( comm, status );
1659 int ret = PMPI_Type_c2f( datatype );
1666 int ret = PMPI_Type_commit( type );
1673 int ret = PMPI_Type_contiguous( count, oldtype, newtype );
1676 int MPI_Type_create_darray(
int size,
int rank,
int ndims,
int gsize_array[],
int distrib_array[],
int darg_array[],
int psize_array[],
int order, MPI_Datatype oldtype, MPI_Datatype * newtype )
1680 int ret = PMPI_Type_create_darray( size, rank, ndims, gsize_array, distrib_array, darg_array, psize_array, order, oldtype, newtype );
1687 int ret = PMPI_Type_create_f90_complex( p, r, newtype );
1694 int ret = PMPI_Type_create_f90_integer( r, newtype );
1701 int ret = PMPI_Type_create_f90_real( p, r, newtype );
1704 int MPI_Type_create_hindexed(
int count,
int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype * newtype )
1708 int ret = PMPI_Type_create_hindexed( count, array_of_blocklengths, array_of_displacements, oldtype, newtype );
1715 int ret = PMPI_Type_create_hvector( count, blocklength, stride, oldtype, newtype );
1718 int MPI_Type_create_keyval( MPI_Type_copy_attr_function * type_copy_attr_fn, MPI_Type_delete_attr_function * type_delete_attr_fn,
int * type_keyval,
void * extra_state )
1722 int ret = PMPI_Type_create_keyval( type_copy_attr_fn, type_delete_attr_fn, type_keyval, extra_state );
1729 int ret = PMPI_Type_create_indexed_block( count, blocklength, array_of_displacements, oldtype, newtype );
1732 int MPI_Type_create_struct(
int count,
int array_of_block_lengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype * newtype )
1736 int ret = PMPI_Type_create_struct( count, array_of_block_lengths, array_of_displacements, array_of_types, newtype );
1739 int MPI_Type_create_subarray(
int ndims,
int size_array[],
int subsize_array[],
int start_array[],
int order, MPI_Datatype oldtype, MPI_Datatype * newtype )
1743 int ret = PMPI_Type_create_subarray( ndims, size_array, subsize_array, start_array, order, oldtype, newtype );
1750 int ret = PMPI_Type_create_resized( oldtype, lb, extent, newtype );
1757 int ret = PMPI_Type_delete_attr( type, type_keyval );
1764 int ret = PMPI_Type_dup( type, newtype );
1771 int ret = PMPI_Type_extent( type, extent );
1778 int ret = PMPI_Type_free( type );
1785 int ret = PMPI_Type_free_keyval( type_keyval );
1792 int ret = PMPI_Type_get_attr( type, type_keyval, attribute_val, flag );
1795 int MPI_Type_get_contents( MPI_Datatype mtype,
int max_integers,
int max_addresses,
int max_datatypes,
int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[] )
1799 int ret = PMPI_Type_get_contents( mtype, max_integers, max_addresses, max_datatypes, array_of_integers, array_of_addresses, array_of_datatypes );
1802 int MPI_Type_get_envelope( MPI_Datatype type,
int * num_integers,
int * num_addresses,
int * num_datatypes,
int * combiner )
1806 int ret = PMPI_Type_get_envelope( type, num_integers, num_addresses, num_datatypes, combiner );
1813 int ret = PMPI_Type_get_extent( type, lb, extent );
1820 int ret = PMPI_Type_get_name( type, type_name, resultlen );
1827 int ret = PMPI_Type_get_true_extent( datatype, true_lb, true_extent );
1830 int MPI_Type_hindexed(
int count,
int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype * newtype )
1834 int ret = PMPI_Type_hindexed( count, array_of_blocklengths, array_of_displacements, oldtype, newtype );
1837 int MPI_Type_hvector(
int count,
int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype * newtype )
1841 int ret = PMPI_Type_hvector( count, blocklength, stride, oldtype, newtype );
1844 int MPI_Type_indexed(
int count,
int array_of_blocklengths[],
int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype * newtype )
1848 int ret = PMPI_Type_indexed( count, array_of_blocklengths, array_of_displacements, oldtype, newtype );
1855 int ret = PMPI_Type_lb( type, lb );
1862 int ret = PMPI_Type_match_size( typeclass, size, type );
1869 int ret = PMPI_Type_set_attr( type, type_keyval, attr_val );
1876 int ret = PMPI_Type_set_name( type, type_name );
1883 int ret = PMPI_Type_size( type, size );
1886 int MPI_Type_struct(
int count,
int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype * newtype )
1890 int ret = PMPI_Type_struct( count, array_of_blocklengths, array_of_displacements, array_of_types, newtype );
1897 int ret = PMPI_Type_ub( mtype, ub );
1900 int MPI_Type_vector(
int count,
int blocklength,
int stride, MPI_Datatype oldtype, MPI_Datatype * newtype )
1904 int ret = PMPI_Type_vector( count, blocklength, stride, oldtype, newtype );
1907 int MPI_Unpack(
void * inbuf,
int insize,
int * position,
void * outbuf,
int outcount, MPI_Datatype datatype, MPI_Comm comm )
1911 int ret = PMPI_Unpack( inbuf, insize, position, outbuf, outcount, datatype, comm );
1918 int ret = PMPI_Unpublish_name( service_name, info, port_name );
1921 int MPI_Unpack_external(
char * datarep,
void * inbuf, MPI_Aint insize, MPI_Aint * position,
void * outbuf,
int outcount, MPI_Datatype datatype )
1925 int ret = PMPI_Unpack_external( datarep, inbuf, insize, position, outbuf, outcount, datatype );
1928 int MPI_Waitall(
int count, MPI_Request * array_of_requests, MPI_Status * array_of_statuses )
1932 int ret = PMPI_Waitall( count, array_of_requests, array_of_statuses );
1935 int MPI_Waitany(
int count, MPI_Request * array_of_requests,
int * index, MPI_Status * status )
1939 int ret = PMPI_Waitany( count, array_of_requests, index, status );
1942 int MPI_Wait( MPI_Request * request, MPI_Status * status )
1946 int ret = PMPI_Wait( request, status );
1949 int MPI_Waitsome(
int incount, MPI_Request * array_of_requests,
int * outcount,
int * array_of_indices, MPI_Status * array_of_statuses )
1953 int ret = PMPI_Waitsome( incount, array_of_requests, outcount, array_of_indices, array_of_statuses );
1960 int ret = PMPI_Win_c2f( win );
1967 int ret = PMPI_Win_call_errhandler( win, errorcode );
1974 int ret = PMPI_Win_complete( win );
1977 int MPI_Win_create(
void * base, MPI_Aint size,
int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win * win )
1981 int ret = PMPI_Win_create( base, size, disp_unit, info, comm, win );
1988 int ret = PMPI_Win_create_errhandler(
function, errhandler );
1991 int MPI_Win_create_keyval( MPI_Win_copy_attr_function * win_copy_attr_fn, MPI_Win_delete_attr_function * win_delete_attr_fn,
int * win_keyval,
void * extra_state )
1995 int ret = PMPI_Win_create_keyval( win_copy_attr_fn, win_delete_attr_fn, win_keyval, extra_state );
2002 int ret = PMPI_Win_delete_attr( win, win_keyval );
2009 int ret = PMPI_Win_fence( assert, win );
2016 int ret = PMPI_Win_free( win );
2023 int ret = PMPI_Win_free_keyval( win_keyval );
2030 int ret = PMPI_Win_get_attr( win, win_keyval, attribute_val, flag );
2037 int ret = PMPI_Win_get_errhandler( win, errhandler );
2044 int ret = PMPI_Win_get_group( win, group );
2051 int ret = PMPI_Win_get_name( win, win_name, resultlen );
2058 int ret = PMPI_Win_lock( lock_type, rank, assert, win );
2065 int ret = PMPI_Win_post( group, assert, win );
2072 int ret = PMPI_Win_set_attr( win, win_keyval, attribute_val );
2079 int ret = PMPI_Win_set_errhandler( win, errhandler );
2086 int ret = PMPI_Win_set_name( win, win_name );
2093 int ret = PMPI_Win_start( group, assert, win );
2100 int ret = PMPI_Win_test( win, flag );
2107 int ret = PMPI_Win_unlock( rank, win );
2114 int ret = PMPI_Win_wait( win );
2121 double ret = PMPI_Wtick( );
2128 double ret = PMPI_Wtime( );
int MPI_Type_struct(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype)
int MPI_Group_intersection(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
int MPI_Type_get_contents(MPI_Datatype mtype, int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[])
int MPI_Error_class(int errorcode, int *errorclass)
int MPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype)
int MPI_Cart_map(MPI_Comm comm, int ndims, int *dims, int *periods, int *newrank)
int MPI_Comm_c2f(MPI_Comm comm)
int MPI_Type_create_struct(int count, int array_of_block_lengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype)
int MPI_Buffer_attach(void *buffer, int size)
int MPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
int MPI_Bsend_init(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Reduce_scatter(void *sendbuf, void *recvbuf, int *recvcounts, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
int MPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Info_delete(MPI_Info info, char *key)
int MPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Win_post(MPI_Group group, int assert, MPI_Win win)
int MPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen)
int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Waitany(int count, MPI_Request *array_of_requests, int *index, MPI_Status *status)
int MPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Win_wait(MPI_Win win)
int MPI_Type_indexed(int count, int array_of_blocklengths[], int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Win_set_name(MPI_Win win, char *win_name)
int MPI_File_open(MPI_Comm comm, char *filename, int amode, MPI_Info info, MPI_File *fh)
int MPI_Get_processor_name(char *name, int *resultlen)
int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int *index, int *edges)
int MPI_Cart_get(MPI_Comm comm, int maxdims, int *dims, int *periods, int *coords)
int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
int VMPI_Release()
Releases VMPI.
int MPI_Pack_external_size(char *datarep, int incount, MPI_Datatype datatype, MPI_Aint *size)
int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Bsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
int MPI_Testsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[])
int MPI_Info_get_nkeys(MPI_Info info, int *nkeys)
int MPI_Type_match_size(int typeclass, int size, MPI_Datatype *type)
int MPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state)
int MPI_Win_unlock(int rank, MPI_Win win)
int MPI_Add_error_code(int errorclass, int *errorcode)
int MPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status)
int MPI_Cart_create(MPI_Comm old_comm, int ndims, int *dims, int *periods, int reorder, MPI_Comm *comm_cart)
int MPI_Win_test(MPI_Win win, int *flag)
int MPI_Comm_connect(char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm)
int MPI_File_c2f(MPI_File file)
int MPI_Group_incl(MPI_Group group, int n, int *ranks, MPI_Group *newgroup)
int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count)
int MPI_Pack_external(char *datarep, void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position)
int MPI_Type_create_f90_integer(int r, MPI_Datatype *newtype)
int MPI_Comm_size(MPI_Comm comm, int *size)
int MPI_Sendrecv_replace(void *buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
int MPI_Wait(MPI_Request *request, MPI_Status *status)
int MPI_Startall(int count, MPI_Request *array_of_requests)
int MPI_File_get_info(MPI_File fh, MPI_Info *info_used)
int MPI_Errhandler_create(MPI_Handler_function *function, MPI_Errhandler *errhandler)
int MPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win)
int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent)
int MPI_Type_free(MPI_Datatype *type)
int MPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype)
int MPI_File_write_at_all_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_Info_get(MPI_Info info, char *key, int valuelen, char *value, int *flag)
int MPI_Type_create_darray(int size, int rank, int ndims, int gsize_array[], int distrib_array[], int darg_array[], int psize_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Reduce_local(void *inbuf, void *inoutbuf, int count, MPI_Datatype datatype, MPI_Op op)
int MPI_Attr_delete(MPI_Comm comm, int keyval)
int MPI_File_write_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val)
int MPI_Comm_free_keyval(int *comm_keyval)
int MPI_Get_version(int *version, int *subversion)
int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *erhandler)
int MPI_Comm_get_parent(MPI_Comm *parent)
int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_File_write_all_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_Type_delete_attr(MPI_Datatype type, int type_keyval)
int MPI_Type_get_attr(MPI_Datatype type, int type_keyval, void *attribute_val, int *flag)
int MPI_Group_rank(MPI_Group group, int *rank)
int MPI_Win_complete(MPI_Win win)
int MPI_Info_free(MPI_Info *info)
int MPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val)
int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_Grequest_complete(MPI_Request request)
int MPI_Get_elements(MPI_Status *status, MPI_Datatype datatype, int *count)
int MPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler)
int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Info_set(MPI_Info info, char *key, char *value)
int MPI_Topo_test(MPI_Comm comm, int *status)
int MPI_Query_thread(int *provided)
int MPI_Waitsome(int incount, MPI_Request *array_of_requests, int *outcount, int *array_of_indices, MPI_Status *array_of_statuses)
int MPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges)
int MPI_Close_port(char *port_name)
int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler)
int MPI_Type_create_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup)
int MPI_File_close(MPI_File *fh)
int MPI_Add_error_class(int *errorclass)
int MPI_Win_get_group(MPI_Win win, MPI_Group *group)
int MPI_Comm_group(MPI_Comm comm, MPI_Group *group)
int MPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win)
int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm bridge_comm, int remote_leader, int tag, MPI_Comm *newintercomm)
int MPI_Group_range_incl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
int MPI_Info_get_valuelen(MPI_Info info, char *key, int *valuelen, int *flag)
int MPI_Comm_rank(MPI_Comm comm, int *rank)
int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag)
int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int *neighbors)
int MPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count)
int MPI_File_preallocate(MPI_File fh, MPI_Offset size)
int MPI_File_write_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_File_get_position(MPI_File fh, MPI_Offset *offset)
int MPI_Request_c2f(MPI_Request request)
int MPI_Comm_disconnect(MPI_Comm *comm)
int MPI_Group_size(MPI_Group group, int *size)
int MPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state)
int MPI_Keyval_free(int *keyval)
int MPI_Win_c2f(MPI_Win win)
int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Comm_spawn(char *command, char **argv, int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int *array_of_errcodes)
int MPI_Type_dup(MPI_Datatype type, MPI_Datatype *newtype)
int MPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler)
int MPI_File_iwrite(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_File_get_group(MPI_File fh, MPI_Group *group)
int MPI_Rsend_init(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Open_port(MPI_Info info, char *port_name)
int MPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Win_get_attr(MPI_Win win, int win_keyval, void *attribute_val, int *flag)
int MPI_Start(MPI_Request *request)
int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status)
int MPI_Pack(void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm)
int MPI_Scan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
int MPI_File_call_errhandler(MPI_File fh, int errorcode)
int MPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype, char *datarep)
int MPI_Unpublish_name(char *service_name, MPI_Info info, char *port_name)
int MPI_Info_get_nthkey(MPI_Info info, int n, char *key)
int MPI_Initialized(int *flag)
int MPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_Ssend_init(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Type_get_name(MPI_Datatype type, char *type_name, int *resultlen)
int MPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn, MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval, void *extra_state)
int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag)
int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int *size)
int MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result)
int MPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype)
int MPI_Accumulate(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win)
int MPI_Init_thread(int *argc, char ***argv, int required, int *provided)
int MPI_Errhandler_c2f(MPI_Errhandler errhandler)
int MPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintercomm)
int MPI_File_write(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest)
int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm)
int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence)
int MPI_Register_datarep(char *datarep, MPI_Datarep_conversion_function *read_conversion_fn, MPI_Datarep_conversion_function *write_conversion_fn, MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state)
int MPI_Comm_test_inter(MPI_Comm comm, int *flag)
int MPI_Lookup_name(char *service_name, MPI_Info info, char *port_name)
int MPI_Alltoallv(void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype recvtype, MPI_Comm comm)
int MPI_File_delete(char *filename, MPI_Info info)
int MPI_Abort(MPI_Comm comm, int errorcode)
int MPI_Buffer_detach(void *buffer, int *size)
int MPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, MPI_Win_delete_attr_function *win_delete_attr_fn, int *win_keyval, void *extra_state)
int MPI_Type_create_subarray(int ndims, int size_array[], int subsize_array[], int start_array[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Waitall(int count, MPI_Request *array_of_requests, MPI_Status *array_of_statuses)
int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
int MPI_Alltoallw(void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype *sendtypes, void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype *recvtypes, MPI_Comm comm)
int MPI_Add_error_string(int errorcode, char *string)
int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype)
int MPI_Allgatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, MPI_Comm comm)
int MPI_Op_commutative(MPI_Op op, int *commute)
int MPI_Dims_create(int nnodes, int ndims, int *dims)
int MPI_File_write_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Test(MPI_Request *request, int *flag, MPI_Status *status)
int MPI_Errhandler_free(MPI_Errhandler *errhandler)
int MPI_Publish_name(char *service_name, MPI_Info info, char *port_name)
int MPI_Cartdim_get(MPI_Comm comm, int *ndims)
int MPI_File_write_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
int MPI_Isend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Gatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm)
int MPI_Graph_create(MPI_Comm comm_old, int nnodes, int *index, int *edges, int reorder, MPI_Comm *comm_graph)
int MPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent)
int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status)
int MPI_Comm_free(MPI_Comm *comm)
int MPI_Info_c2f(MPI_Info info)
int MPI_Win_fence(int assert, MPI_Win win)
int MPI_Type_lb(MPI_Datatype type, MPI_Aint *lb)
int MPI_Type_create_indexed_block(int count, int blocklength, int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
#define MACRO_MPI_Comm(_c)
Macro used to wrap the MPI communicator.
int MPI_File_get_amode(MPI_File fh, int *amode)
int MPI_Is_thread_main(int *flag)
int MPI_Win_start(MPI_Group group, int assert, MPI_Win win)
int MPI_Comm_join(int fd, MPI_Comm *intercomm)
int MPI_Test_cancelled(MPI_Status *status, int *flag)
int MPI_Type_get_extent(MPI_Datatype type, MPI_Aint *lb, MPI_Aint *extent)
int MPI_Status_set_cancelled(MPI_Status *status, int flag)
int MPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval)
int MPI_Irsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val)
int MPI_Unpack(void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm)
int MPI_Allreduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
int MPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen)
int MPI_File_get_errhandler(MPI_File file, MPI_Errhandler *errhandler)
int MPI_Status_c2f(MPI_Status *c_status, int *f_status)
int MPI_Type_set_name(MPI_Datatype type, char *type_name)
int MPI_Status_f2c(int *f_status, MPI_Status *c_status)
int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_Type_size(MPI_Datatype type, int *size)
int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode)
int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function, MPI_Errhandler *errhandler)
int MPI_File_set_atomicity(MPI_File fh, int flag)
int MPI_Cart_sub(MPI_Comm comm, int *remain_dims, MPI_Comm *new_comm)
int MPI_Comm_set_name(MPI_Comm comm, char *comm_name)
int MPI_Op_free(MPI_Op *op)
int MPI_Gather(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int MPI_Get_address(void *location, MPI_Aint *address)
int MPI_Reduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm)
int MPI_Issend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Testany(int count, MPI_Request array_of_requests[], int *index, int *flag, MPI_Status *status)
int MPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup)
int MPI_Type_get_envelope(MPI_Datatype type, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner)
int MPI_Send_init(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp)
int MPI_File_write_ordered_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Finalized(int *flag)
int MPI_Group_c2f(MPI_Group group)
int MPI_Type_set_attr(MPI_Datatype type, int type_keyval, void *attr_val)
int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op)
int MPI_File_create_errhandler(MPI_File_errhandler_function *function, MPI_Errhandler *errhandler)
int MPI_Type_hindexed(int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Info_create(MPI_Info *info)
int MPI_Request_free(MPI_Request *request)
int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_File_write_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request)
int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm)
int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler)
int MPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
int MPI_Win_create_errhandler(MPI_Win_errhandler_function *function, MPI_Errhandler *errhandler)
int MPI_File_get_size(MPI_File fh, MPI_Offset *size)
int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status)
int MPI_Comm_spawn_multiple(int count, char **array_of_commands, char ***array_of_argv, int *array_of_maxprocs, MPI_Info *array_of_info, int root, MPI_Comm comm, MPI_Comm *intercomm, int *array_of_errcodes)
int MPI_Cart_rank(MPI_Comm comm, int *coords, int *rank)
int MPI_Win_call_errhandler(MPI_Win win, int errorcode)
int MPI_Sendrecv(void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status)
int MPI_Type_commit(MPI_Datatype *type)
int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset)
int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype)
int MPI_Address(void *location, MPI_Aint *address)
int MPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group)
int MPI_Type_c2f(MPI_Datatype datatype)
int MPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int *coords)
int MPI_Group_free(MPI_Group *group)
int MPI_Comm_accept(char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm)
int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Cancel(MPI_Request *request)
int MPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr)
int MPI_Scatter(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win)
int MPI_Info_dup(MPI_Info info, MPI_Info *newinfo)
int MPI_Comm_remote_size(MPI_Comm comm, int *size)
int MPI_Unpack_external(char *datarep, void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype)
int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype, char *datarep, MPI_Info info)
int MPI_Rsend(void *ibuf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
int MPI_Graph_map(MPI_Comm comm, int nnodes, int *index, int *edges, int *newrank)
int MPI_Ibsend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request)
int MPI_Group_excl(MPI_Group group, int n, int *ranks, MPI_Group *newgroup)
int MPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm)
int MPI_File_sync(MPI_File fh)
int MPI_Group_translate_ranks(MPI_Group group1, int n, int *ranks1, MPI_Group group2, int *ranks2)
int VMPI_Init(int *argc, char ***argv)
Initializes VMPI.
int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm)
int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence)
int MPI_Error_string(int errorcode, char *string, int *resultlen)
int MPI_File_set_size(MPI_File fh, MPI_Offset size)
int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors)
int MPI_Scatterv(void *sendbuf, int *sendcounts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)
int MPI_Win_free(MPI_Win *win)
int MPI_Win_free_keyval(int *win_keyval)
int MPI_Free_mem(void *base)
int MPI_File_write_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
int MPI_Op_c2f(MPI_Op op)
int MPI_Init(int *argc, char ***argv)
int MPI_Exscan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status)
int MPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype)
int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status)
int MPI_File_iwrite_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request)
int MPI_Type_extent(MPI_Datatype type, MPI_Aint *extent)
int MPI_File_set_info(MPI_File fh, MPI_Info info)
int MPI_Testall(int count, MPI_Request array_of_requests[], int *flag, MPI_Status array_of_statuses[])
int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler)
int MPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
int MPI_File_get_atomicity(MPI_File fh, int *flag)
int MPI_Win_delete_attr(MPI_Win win, int win_keyval)
int MPI_Barrier(MPI_Comm comm)
int MPI_Ssend(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm)
int MPI_Put(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win)
int MPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result)
int MPI_Type_free_keyval(int *type_keyval)