<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 9, 2018 at 9:39 PM, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>









<p class="m_-6283027863527358471p1"><span class="m_-6283027863527358471s1"><a href="https://msdn.microsoft.com/en-us/library/dn473234(v=vs.85).aspx" target="_blank">https://msdn.microsoft.com/en-<wbr>us/library/dn473234(v=vs.85).<wbr>aspx</a></span></p>


</div><div dir="auto"><br></div><div dir="auto">This function name is archaic and removed in MPI-3. Use the new name. </div><div dir="auto"><br></div></div></blockquote><div><br></div><div>OK, Jed did this a few months ago.</div><div><br></div><div>It still fails because my code uses PETSC_COMM_WORLD. I guess I need to change that.</div><div><br></div><div>Thanks,</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto"></div><div dir="auto">Jeff</div><div><div class="h5"><br><div class="gmail_quote"><div>On Fri, Feb 9, 2018 at 3:11 PM Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I get an error in PetscCommGetNewTag. So I copied the test to may main and I get the same problem. So this code fails:</div><div><br></div><div>int main( int argc, char **args ) </div><div>{</div><div>  PetscErrorCode   ierr;</div><div>  ierr = PetscInitialize( &argc, &args, "./.petscrc", NULL );CHKERRQ(ierr);</div><div>  { // debug</div><div>    PetscCommCounter *counter;</div><div>    PetscMPIInt      flg;</div><div>    ierr = MPI_Attr_get(PETSC_COMM_WORLD,<wbr>Petsc_Counter_keyval,&counter,<wbr>&flg);CHKERRQ(ierr);</div><div>    if (!flg) SETERRQ(PETSC_COMM_SELF,PETSC_<wbr>ERR_ARG_CORRUPT,"Bad MPI communicator supplied ???????????????");</div><div>  }</div><div><br></div><div>Any ideas?</div></div><div><div><br></div><div>Mark</div></div></blockquote></div></div></div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div class="m_-6283027863527358471gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
</font></span></blockquote></div><br></div></div>