Installation

When you have Python 3.8 to 3.12 installed,

python -m pip install pyoomph

should install the basic framework. On Mac M1 processor systems, please execute it in a Rosetta2 terminal (see below). 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 M1 chip, you must run all commands in a Rosetta 2 terminal, see here how to set it up. 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

Make sure to have the XCode developer tools, e.g., by installing them via

xcode-select --install

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.