1.2. Python and corresponding modules


Purpose

The pre and post processing tools and the installation scripts require an installation of Python 3.


parent_gray

Installation

On most Unix-like systems, Python and below mentioned modules can be installed from the package manager (e.g. APT or yum on Linux, Homebrew on macOS). Alternatively, tools like Anaconda and pip can be used.


parent_gray

Additional Modules

Apart from the plain Python interpreter, some additional modules are needed.

NumPy

Almost all tools depend on NumPy.

vtk

Data visualization depends on the on the Visualization Toolkit (vtk) respectively its Python bindings.

SciPy

Some tools require SciPy.

h5py

In future, after the integration of HDF5, h5py will be needed for pre- and postprocessing.


parent_gray

Troubleshooting

The DAMASK_prerequisites.sh script located in the DAMASK folder checks whether the required Python modules are installed and working. Run it with

./DAMASK_prerequisites.sh

and view the report system_report.txt with the text editor of your choice.

This topic: Installation > WebHome > AuxiliarySoftware > PythonAndModules
Topic revision: 09 May 2019, MartinDiehl
This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection