Setting the GATEWAY_DM_EXEDIR environment variable
The environment variable GATEWAY_DM_EXEDIR records the location of
the MI Materials Gateway Platform folder. This location is used to store the files that run
MI Materials Gateway.
- Windows systems
-
For central deployment on Windows, the
GATEWAY_DM_EXEDIRenvironment variable should be created on all client machines. In cases where this cannot be done, the environment variable can be created temporarily, for example by invoking the host application session via a script and setting theGATEWAY_DM_EXEDIRenvironment variable in the script.For example:
GATEWAY_DM_EXEDIR=C:\ProgramData\Granta Design\MI Materials Gateway\Platform - Linux systems
-
When using default installation settings, MI Materials Gateway installs to
/opt/Granta Design/MI Materials Gateway, and there is no need to create theGATEWAY_DM_EXEDIRvariable.If you install MI Materials Gateway to a different location, using the installation script parameter
--installdiryou must setGATEWAY_DM_EXEDIReither at the system level or in host launch script.For example, the Ansys Workbench launcher file runwb2 with the
GATEWAY_DM_EXEDIRvariable added to it: