Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Compile-time MPI_Datatype checking
From: Dmitri Gribenko (gribozavr_at_[hidden])
Date: 2012-05-31 07:37:21

On Thu, May 31, 2012 at 2:29 PM, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> Ah, good point.  But in those cases, MPI specifically defines that those arguments are wholly ignored on non-root processes.  So you could still even pass <&foo, MPI_DATATYPE_NULL>, or <NULL, MPI_INT>, and it would be ok.

I see. If this warning is imposing some coding style guideline, then
we would better not annotate MPI_DATATYPE_NULL or some users will find
these diagnostics to be too noisy.

>>> We should have AC macros for all of these already.
>> OK, I'll try find them to support (1) usecase described below.
> No, I'll find them -- sorry, I meant to look them up before I sent the last mail.  Let me look them up and get back to you.  Our configury is quite complicated, and I know the right places to look.  :-)

Thanks in advance.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr_at_[hidden]>*/