It's a copy/paste typo in mpi.h.in. Please try with the attached patch:

Index: ompi/include/mpi.h.in
===================================================================
--- ompi/include/mpi.h.in       (revision 26662)
+++ ompi/include/mpi.h.in       (working copy)
@@ -2006,9 +2006,9 @@
                                        MPI_Datatype datatype, MPI_Op op, 
MPI_Comm comm);
 OMPI_DECLSPEC  int PMPI_Ireduce_scatter(void *sendbuf, void *recvbuf, int 
*recvcounts,
                                         MPI_Datatype datatype, MPI_Op op, 
MPI_Comm comm, MPI_Request *request);
-OMPI_DECLSPEC  int PMPI_Reduce_scatter(void *sendbuf, void *recvbuf, int 
*recvcounts,
+OMPI_DECLSPEC  int PMPI_Reduce_scatter_block(void *sendbuf, void *recvbuf, int 
recvcounts,
                                        MPI_Datatype datatype, MPI_Op op, 
MPI_Comm comm);
-OMPI_DECLSPEC  int PMPI_Ireduce_scatter(void *sendbuf, void *recvbuf, int 
*recvcounts,
+OMPI_DECLSPEC  int PMPI_Ireduce_scatter_block(void *sendbuf, void *recvbuf, 
int recvcounts,
                                         MPI_Datatype datatype, MPI_Op op, 
MPI_Comm comm, MPI_Request *request);
 OMPI_DECLSPEC  int PMPI_Register_datarep(char *datarep,
                                          MPI_Datarep_conversion_function 
*read_conversion_fn,



  george.


On Jun 26, 2012, at 15:39 , Ralph Castain wrote:

> Anyone recognize these?
> 
> preduce_scatter_block.c:44: warning: no previous prototype for 
> 'PMPI_Reduce_scatter_block'
> pireduce_scatter_block.c:45: warning: no previous prototype for 
> 'PMPI_Ireduce_scatter_block'
> 
> 
> Not sure where they came from - seeing this on Linux.
> Ralph
> 
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


Reply via email to