<div dir="ltr"><div dir="ltr">On Sat, Aug 5, 2023 at 10:10 AM K. Wu <<a href="mailto:wuktsinghua@gmail.com">wuktsinghua@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Matthew,<div><br></div><div>Thanks for your reply!</div><div><br></div><div>Is there any way that I can choose to use the previous MPI installation used to build PETSc?</div></div></blockquote><div><br></div><div>First we would need to know what that was. You can send configure.log, which will have that information in it.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Regards,</div><div>Kai</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> 于2023年8月5日周六 14:23写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Sat, Aug 5, 2023 at 3:22 AM K. Wu <<a href="mailto:wuktsinghua@gmail.com" target="_blank">wuktsinghua@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><br>Good day!<br><br>After installing ParaView on my desktop, PETSc starts to work anomalously even after reconfiguration:<br>1. If I use mpirun (frequently used before), it seems that now all the processors will run the program independently without communication. While mpiexec seems to work properly.</div></blockquote><div><br></div><div>Yes, this indicates that the "mpirun" is from a different installation of MPI than "mpiexec", which seems to be from the MPI installation used to build PETSc. Probably the Paraview package installed its own MPI package.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"> <br>2. The Makefile (as attached) which works fine before starts to complain:<br>make: *** No rule to make target 'chkopts', needed by 'test'. Stop.<br></div></blockquote><div><br></div><div>The 'chkopts' target is defined in the toplevel PETSc makefile, but it is deprecated. You can take it out.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks for your kind help!<br><br>Best regards,<br>Kai<br><div><br></div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono","monospace",monospace;font-size:14px;line-height:19px;white-space:pre-wrap"><div><span style="color:rgb(156,220,254)">PETSC_DIR</span>=~/petsc</div><div><span style="color:rgb(156,220,254)">PETSC_ARCH</span>=arch-linux-c-debug</div><div><span style="color:rgb(156,220,254)">CFLAGS</span> = -I.</div><div><span style="color:rgb(156,220,254)">FFLAGS</span>=</div><div><span style="color:rgb(156,220,254)">CPPFLAGS</span>=-I.</div><div><span style="color:rgb(156,220,254)">FPPFLAGS</span>=</div><div><span style="color:rgb(156,220,254)">LOCDIR</span>=</div><div><span style="color:rgb(156,220,254)">EXAMPLESC</span>=</div><div><span style="color:rgb(156,220,254)">EXAMPLESF</span>=</div><div><span style="color:rgb(156,220,254)">MANSEC</span>=</div><div><span style="color:rgb(156,220,254)">CLEANFILES</span>=</div><div><span style="color:rgb(156,220,254)">NP</span>=</div><br><br><div><span style="color:rgb(197,134,192)">include</span> <span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">PETSC_DIR</span><span style="color:rgb(206,145,120)">}</span>/lib/petsc/conf/variables</div><div><span style="color:rgb(197,134,192)">include</span> <span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">PETSC_DIR</span><span style="color:rgb(206,145,120)">}</span>/lib/petsc/conf/rules</div><div><span style="color:rgb(197,134,192)">include</span> <span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">PETSC_DIR</span><span style="color:rgb(206,145,120)">}</span>/lib/petsc/conf/test</div><br><div><span style="color:rgb(220,220,170)">test</span>: ex2-2.o chkopts</div><div> rm -rf topopt</div><div> <span style="color:rgb(197,134,192)">-</span><span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">CLINKER</span><span style="color:rgb(206,145,120)">}</span> -o test ex2-2.o <span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">PETSC_SYS_LIB</span><span style="color:rgb(206,145,120)">}</span></div><div> <span style="color:rgb(206,145,120)">${</span><span style="color:rgb(156,220,254)">RM</span><span style="color:rgb(206,145,120)">}</span> ex2-2.o </div><div> rm -rf *.o</div></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>