Intel® High Level Synthesis Compiler Standard Edition: Getting Started Guide

ID 683053
Date 3/26/2020
Public

3.1.2.1. ModelSim Software License-Specific Considerations

When setting up the ModelSim® software license, you need to append the license location to the LM_LICENSE_FILE environment variable. However, you can also append the location of the ModelSim software license to the MGLS_LICENSE_FILE environment variable.

For Mentor Graphics® applications, including the ModelSim software, you can specify the paths to license files and license servers in five different locations. If you specify paths to license files or license servers in multiple locations, the following search order is used to find the first valid path:

  • MGLS_LICENSE_FILE environment variable you set in the user environment
  • MGLS_LICENSE_FILE environment variable you set in the registry
  • LM_LICENSE_FILE environment variable you set in the environment
  • LM_LICENSE_FILE environment variable you set in the registry
  • <path to FLEXlm>\license.dat, where <path to FLEXlm> is the default location of the FLEXlm license file.

When you install a Mentor Graphics product license on a computer, the MGLS_LICENSE_FILE environment variable settings take precedence over the LM_LICENSE_FILE environment variable settings. If you set both environment variables, set LM_LICENSE_FILE to point to the ModelSim license server and set MGLS_LICENSE_FILE to only point to the license server for other Mentor Graphics applications. If you only use the MGLS_LICENSE_FILE environment variable, ensure that the ModelSim license server and the license servers for other Mentor Graphics applications are on the same machine.