On Wed, Dec 9, 2020 at 4:59 PM Luo Chenyi <[email protected]> wrote:

> Hi Satish,
>
> many thanks for this detailed cooking recipe (very practical for a
> beginner)!
>
> Now I receive the following message
>
> “luochengyi@macbook-pro-2 petsc % make
> PETSC_DIR=/Users/luochengyi/Downloads/petsc PETSC_ARCH=arch-darwin-c-debug
> check
> Running check examples to verify correct installation
> Using PETSC_DIR=/Users/luochengyi/Downloads/petsc and
> PETSC_ARCH=arch-darwin-c-debug
> C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
> C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
> C/C++ example src/snes/tutorials/ex19 run successfully with mumps
> Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
> Completed test examples
> “
>

You did build it with MUMPS.


> So I think the installation is complete. However, when I run my dealii
> codes, I still received the same error message
> “
> Additional information:
>     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.
> “
>

Deal.II is probably looking at an old PETSc. Make sure PETSC_DIR and
PETSC_ARCH are set correctly.

  Thanks,

     Matt


> I think I’ve already configure the PETSc including MUMPS and recompiled it.
>
> I also use cmake to link the necessary libraries. Is there anything else I
> need to do?
>
> Best,
> Chenyi
>
> On Dec 9, 2020, at 10:35 PM, Satish Balay <[email protected]> wrote:
>
> On Wed, 9 Dec 2020, Satish Balay via petsc-users wrote:
>
> Its best to reinstall brew (packages) and retry.
>
>
> And here is one way to do this:
>
> 1. Make list of pkgs to reinstall
>
> brew leaves > reinstall.lst
>
> 2. delete all installed brew packages.
>
> brew cleanup
> brew list > delete.lst
> brew remove `cat delete.lst`
>
> 3. Now reinstall all required packages
> brew update
> brew install `cat reinstall.lst`
>
>
> Satish
>
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>

Reply via email to