On Thu, May 31, 2012 at 2:29 PM, Jeff Squyres <jsquy...@cisco.com> 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. Dmitri -- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/