<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="">So I think the installation is complete. However, when I run my dealii codes, I still received the same error message</div><div class="">“</div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Additional information: </span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" 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 class="">“</div></div></blockquote><br class=""></div><div class=""> Did you totally reinstall deal.ii after you built this PETSc? That is delete all the deal.ii directories and install it again fresh? My guess is that deal.ii cmake may be using some cached information and not properly rebuilding using the latest installed PETSc.</div><div class=""><br class=""></div><div class=""> Barry</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 9, 2020, at 3:59 PM, Luo Chenyi <<a href="mailto:cheluo@ethz.ch" class="">cheluo@ethz.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Satish,
<div class=""><br class="">
</div>
<div class="">many thanks for this detailed cooking recipe (very practical for a beginner)!</div>
<div class=""><br class="">
</div>
<div class="">Now I receive the following message</div>
<div class=""><br class="">
</div>
<div class="">“<span style="font-family: Menlo; font-size: 11px;" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">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;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Completed test examples</span></div>
<div class="">“</div>
<div class=""><br class="">
</div>
<div class="">So I think the installation is complete. However, when I run my dealii codes, I still received the same error message</div>
<div class="">“</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Additional information: </span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 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 class="">“</div>
<div class=""><br class="">
</div>
<div class="">I think I’ve already configure the PETSc including MUMPS and recompiled it.</div>
<div class=""><br class="">
</div>
<div class="">I also use cmake to link the necessary libraries. Is there anything else I need to do?</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Chenyi<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Dec 9, 2020, at 10:35 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov" class="">balay@mcs.anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On Wed, 9 Dec 2020, Satish Balay via petsc-users wrote:<br class="">
<br class="">
<blockquote type="cite" class="">Its best to reinstall brew (packages) and retry.<br class="">
</blockquote>
<br class="">
And here is one way to do this:<br class="">
<br class="">
1. Make list of pkgs to reinstall<br class="">
<br class="">
brew leaves > reinstall.lst<br class="">
<br class="">
2. delete all installed brew packages.<br class="">
<br class="">
brew cleanup<br class="">
brew list > delete.lst<br class="">
brew remove `cat delete.lst`<br class="">
<br class="">
3. Now reinstall all required packages<br class="">
brew update<br class="">
brew install `cat reinstall.lst`<br class="">
<br class="">
<br class="">
Satish<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div></blockquote></div><br class=""></div></body></html>