Installation¶
Supported Platforms¶
| Architecture | Operating System | Python Version |
|---|---|---|
| x86-64 | Linux | 3.12 |
If you need support for an unsupported platform, please create an issue.
Install μfem package¶
To install μfem you ensure that your platform is supported with Python and pip installed. We also recommend that you first create a separate Python virtual environment with:
Here we assume that the environment data will be stored in the mufem-env
folder in your home directory.
To activate the newly created Python environment run the following command:
μfem provides a Python package hosted on PyPI which can be installed using pip:
It is also highly recommended to install some additional Python libraries (e.g. required to run the validation suite) with:
Once the installation has been completed a case file can be executed using the following command:
The command pymufem will launch the case in parallel mode using MPI.
If you want to launch it in serial mode, you can use python3 case.py command.