[petsc-users] PETSc with MUMPS
Matthew Knepley
knepley at gmail.com
Wed Dec 9 16:21:50 CST 2020
On Wed, Dec 9, 2020 at 4:59 PM Luo Chenyi <cheluo at ethz.ch> wrote:
> Hi Satish,
>
> many thanks for this detailed cooking recipe (very practical for a
> beginner)!
>
> Now I receive the following message
>
> “luochengyi at 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 <balay at mcs.anl.gov> 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201209/0e353864/attachment-0001.html>
More information about the petsc-users
mailing list