From 721cfa9d86548ff8b417c4e6b6ef88e978935585 Mon Sep 17 00:00:00 2001
From: "c.diddens" If you have a recent Mac with an Apple silicon (arm64) chip, mind the following:
- Python cannot install the fast On Mac
MKL Pardiso solver on arm64 natively and will use Accelerate by default, which becomes unacceptably slow for larger problems. There are two workarounds, either install pyoomph in a Rosetta 2 terminal to use MKL Pardiso or install PETSc/SLEPc and use MUMPS as fast linear solver instead.
+ Python cannot install the fast MKL Pardiso solver on arm64 natively and will use Accelerate by default, which becomes unacceptably slow for larger problems. There are two workarounds, either install pyoomph in a Rosetta 2 terminal to use MKL Pardiso or install PETSc/SLEPc and use MUMPS as fast linear solver instead.Rosetta 2 terminal, see here how to set it up (note that recent systems must be handled as described here). Also, please make sure to not upgrade your mkl package, i.e. enforce it to version 2021.4.0.
For the first option, you must run the installation command above in a Rosetta 2 terminal, see here how to set it up (note that recent systems must be handled as described here). Also, please make sure to not upgrade your mkl package, i.e. enforce it to version 2021.4.0.
python3 -m pip install mkl==2021.4.0
See here for further details. Also, you might have to use a less recent version of python, see here for details.
+See here for further details. Also, you might have to use a less recent version of python, see here for details.
For the second option (PETSc with MUMPS), please refer to the installation instructions.
- - -In any case, make sure to have the XCode developer tools, e.g., by installing them via
For the second option (PETSc with MUMPS), please refer to the installation instructions.
In any case, make sure to have the XCode developer tools, e.g., by installing them via
xcode-select --install