Skip to content

Commit

Permalink
Merge branch gold2718/add_tag_ub (PR MCSclimate#6)
Browse files Browse the repository at this point in the history
Removed tabs from mpif.h and added new constant, MPI_TAG_UB
Added newer interfaces to README
Removed redundant interface, mpi_op_create from collective.c

make; make tests passes
  • Loading branch information
rljacob authored Apr 24, 2017
2 parents 1ef3693 + 481ffe3 commit c696f25
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 252 deletions.
42 changes: 40 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ List of MPI calls supported
mpi_abort
mpi_error_string
mpi_initialized
mpi_get_processor_name
mpi_get_library_version
mpi_wtime

comm and group ops
mpi_comm_free
Expand All @@ -74,29 +77,64 @@ List of MPI calls supported
mpi_comm_split
mpi_comm_group
mpi_group_incl
mpi_group_range_incl
mpi_group_union
mpi_group_intersection
mpi_group_difference
mpi_group_translate_ranks
mpi_group_free
mpi_cart_create
mpi_cart_coords
mpi_dims_create

send/receive ops
mpi_irecv
mpi_recv
mpi_test
mpi_testany
mpi_testall
mpi_testsome
mpi_wait
mpi_waitany
mpi_waitall
mpi_waitsome
mpi_isend
mpi_send
mpi_ssend
mpi_rsend
mpi_irsend
mpi_sendrecv
mpi_iprobe
mpi_probe
mpi_request_free

collective operations
mpi_barrier
mpi_bcast
mpi_gather
mpi_gatherv
mpi_allgather
mpi_scatter
mpi_scatterv
mpi_reduce
mpi_allreduce


mpi_reduce_scatter
mpi_scan
mpi_alltoall
mpi_alltoallv
mpi_alltoallw
mpi_op_create
mpi_op_free

data types and info objects
mpi_get_count
mpi_get_elements
mpi_pack
mpi_pack_size
mpi_unpack
mpi_info_create
mpi_info_set
mpi_info_free

-----
EOF
21 changes: 0 additions & 21 deletions collective.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,27 +488,6 @@ int MPI_Alltoallw(void *sendbuf, int *sendcounts,
}


/*********/


FC_FUNC( mpi_op_create , MPI_OP_CREATE )
( void *function, int *commute, int *op, int *ierror )
{
*ierror=MPI_Op_create(function,*commute,op);
}



int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op)
{
*op=MPI_OP_NULL;

return(MPI_SUCCESS);

}




/*********/

Expand Down
Loading

0 comments on commit c696f25

Please sign in to comment.