Server software requirements
To use MI Scripting Toolkit 5.0, your Granta MI server must be running 2024 R2 or later, which includes Service Layer Interface 23/10.Client software requirements
MI Scripting Toolkit 5.0 for conda requires conda 4.12.0 or later.NOTE
MI Scripting Toolkit is only supported when used with the miniforge-provided version of the conda package manager. The use of other conda editions (for example miniconda or Anaconda) may work, but their use is unsupported. At a minimum, you must enable theconda-forge package source with the following command before following the installation
instructions on this page:
- [1] Automated testing performed on Ubuntu 22.04 development release. Manual testing performed on Ubuntu 22.04.5.
- [2] Manual testing performed on Ubuntu 24.04.2.
- [3] Manual testing performed on SLES 15 SP6.
- [4] Manual testing performed on RHEL 8.10.
- [5] Manual testing performed on Rocky Linux 9.6.
Required third-party packages
MI Scripting Toolkit depends on the following third-party packages:- filetype>=1.2.0
- packaging>=24.0
NOTE
The list above include only the direct dependencies of the Scripting Toolkit package. The transitive dependencies (dependencies of dependencies) are not given here, since in general they depend on the specific version of the dependency that is selected, and as a result will change over time. The recommended way to determine the full requirements at a particular point in time is to install the Scripting Toolkit into a new Conda virtual environment, and then useconda list to display the installed packages.
Installing MI Scripting Toolkit
Versionchanged
Changed in version 5.0: MI Scripting Toolkit is now provided as a package calledansys-grantami-core. granta_miscriptingtoolkit is provided
for compatibility purposes only, and will be removed in a future release.
When granta_miscriptingtoolkit is installed, imports from the granta_miscriptingtoolkit and
granta_miscriptingtoolkit.granta modules succeed and a
APIDeprecationWarning is emitted.
MI Scripting Toolkit is provided as a zip file, and is available from the Downloads page on the Ansys Customer Portal. This section
assumes that the zip file has been downloaded and the contents have been unzipped to the location
/home/user/scripting_toolkit.
To install MI Scripting Toolkit, enter the following into the Linux command line:
WARNING
Do not manually install theansys-grantami-core conda package file. There are additional dependencies included in
the conda folder which must be installed for MI Scripting Toolkit to function correctly.
Additional conda dependencies
MI Scripting Toolkit defines optional dependencies as additional packages:ansys-grantami-core.notebooks: Required to execute the Example notebooks.ansys-grantami-core.oidc: Required to use OpenID Connect (OIDC) authentication.
ansys-grantami-core package to provide additional
functionality. For example, to install the dependencies required to run the notebooks:
[notebooks] extra includes the following additional dependencies:
- jupyterlab>=4.0.0
- matplotlib>=3.6.0
- numpy>=1.23.5
- pandas>=2.1
- python-docx>=1.1.0
- python-pptx>=1.0.0
- scipy>=1.11.0
- seaborn>=0.13
[oidc] extra includes the following additional dependencies:
- keyring<26,>23