<div dir="ltr"><div dir="ltr">On Wed, Dec 9, 2020 at 4:59 PM Luo Chenyi <<a href="mailto:cheluo@ethz.ch">cheluo@ethz.ch</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 style="overflow-wrap: break-word;">
Hi Satish,
<div><br>
</div>
<div>many thanks for this detailed cooking recipe (very practical for a beginner)!</div>
<div><br>
</div>
<div>Now I receive the following message</div>
<div><br>
</div>
<div>“<span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">luochengyi@macbook-pro-2 petsc % make PETSC_DIR=/Users/luochengyi/Downloads/petsc PETSC_ARCH=arch-darwin-c-debug check</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Running check examples to verify correct installation</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Using PETSC_DIR=/Users/luochengyi/Downloads/petsc and PETSC_ARCH=arch-darwin-c-debug</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">C/C++ example src/snes/tutorials/ex19 run successfully with mumps</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Completed test examples</span></div>
<div>“</div></div></blockquote><div><br></div><div>You did build it with MUMPS.</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 style="overflow-wrap: break-word;">
<div>So I think the installation is complete. However, when I run my dealii codes, I still received the same error message</div>
<div>“</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">Additional information: </span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"> Your PETSc installation does not include a copy of the MUMPS package necessary for this solver. You will need to configure PETSc so that it includes MUMPS, recompile it, and then re-configure
and recompile deal.II as well.</span></div>
</div>
<div>“</div></div></blockquote><div><br></div><div>Deal.II is probably looking at an old PETSc. Make sure PETSC_DIR and PETSC_ARCH are set correctly.</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 style="overflow-wrap: break-word;">
<div>I think I’ve already configure the PETSc including MUMPS and recompiled it.</div>
<div><br>
</div>
<div>I also use cmake to link the necessary libraries. Is there anything else I need to do?</div>
<div><br>
</div>
<div>Best,</div>
<div>Chenyi<br>
<div><br>
<blockquote type="cite">
<div>On Dec 9, 2020, at 10:35 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>> wrote:</div>
<br>
<div>
<div>On Wed, 9 Dec 2020, Satish Balay via petsc-users wrote:<br>
<br>
<blockquote type="cite">Its best to reinstall brew (packages) and retry.<br>
</blockquote>
<br>
And here is one way to do this:<br>
<br>
1. Make list of pkgs to reinstall<br>
<br>
brew leaves > reinstall.lst<br>
<br>
2. delete all installed brew packages.<br>
<br>
brew cleanup<br>
brew list > delete.lst<br>
brew remove `cat delete.lst`<br>
<br>
3. Now reinstall all required packages<br>
brew update<br>
brew install `cat reinstall.lst`<br>
<br>
<br>
Satish<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <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>