Installation

When you have Python 3.10 or higher installed (CPython, 64-bit),

python -m pip install pyoomph

should install the recent release. For maximum performance and system-specific information, please refer to the sections below.

If you cannot manage to install it, refer to our tutorial. If this cannot help, you can ask for help (c.diddens@utwente.nl)

On Windows

For maximum performance, also install Microsoft Build Tools, available for download here.

Verify whether everything runs fine by

python -m pyoomph check all

On Linux

If you have installed via pip (see above), just make sure that you have the gcc compiler installed and check via

python -m pyoomph check all

On Mac

If you have a recent Mac with an Apple silicon (arm64) chip, mind the following: 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.

In any case, make sure to have the XCode developer tools, e.g., by installing them via

xcode-select --install

(in Rosetta2 for the first option) and test pyoomph via

python -m pyoomph check all

Compilation from source

Compilation from source on Linux or Mac systems is described in our github repository and our tutorial.
Just clone our code

git clone https://github.com/pyoomph/pyoomph.git

and follow the steps in the file INSTALL.md therein.