GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

It is possible to install more Python modules using the pip standard way of python

<GiD directory>/scripts/tohil/python/python -m pip install <module>

e.g. to install the KratosMultiphysics module version 9.2:

<GiDdirectory>/scripts/tohil/python/python -m pip install KratosMultiphysics-all==9.2

Note: Kratos is is a framework for building parallel multi-disciplinary simulation: https://github.com/KratosMultiphysics

The pip program is located at:

  • Windows: <GiDdirectory>\scripts\tohil\python\scripts\pip.exe

  • Linux and macOS: <GiDdirectory>/scripts/tohil/python/bin/pip

Modules will be located at:

  • Windows: <GiDdirectory>\scripts\tohil\python\lib\site-packages

  • Linux and macOS (depending if they are only scripts or have architecture dependent files):

    • <GiDdirectory>/scripts/tohil/python/lib/python3.10/site-packages

    • <GiDdirectory>/scripts/tohil/python/x64/lib/python3.10/site-packages

Note: In Windows pip shall be run in a console opened in Windows 'as administrator' (otherwise Windows doesn't allow to copy the files if GiD is installed in 'Program files' as usual). In Linux do it as 'sudo' if GiD is installed in system folders like /usr/local/ or /opt/ .

Some Python interesting modules for GiD

  • No labels