Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Warnings
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-06-26 09:52:00


Thanks for the patch.

These got confused / lost in the last few days of furious commits. :-(

On Jun 26, 2012, at 9:47 AM, George Bosilca wrote:

> 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
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/