Skip navigation
All Places > Licensing and Installation > Blog > 2013 > March
2013

If you're not sure whether your license file will run the latest release of PADS Flow, or maybe you want to check the minimum license version date requirement for an older release, refer to the information in the following document.

 

Which PADS Flow release am I entitled to use?

The 10.2 versions of both ModelSim and Questa SIM require license servers running FlexNet v11.10. Our current licensing release, MSL v2013_1 is built with FlexNet v11.10 and can be downloaded here:

 

Why upgrade to FlexNet v11.10? Download the latest licensing software.

 

The v11.10 license daemons can also be found in the ModelSim and Questa SIM application trees.

 

If you're getting an error running 10.2 that you weren't getting in the previous version, check that your license server is running the latest version of our licensing software.

If you're running into system performance problems, a useful tool on Windows 7 is the Performance Monitor utility (Perfmon). The fastest way to run this utility is by running 'perfmon.exe' from the command prompt or from the 'Start >Run' area.

 

In Perfmon, you can run a pre-defined 'System Performance' report available under the 'Data Collector Sets > System' area; just right click on 'System Performance' and click 'Start', as shown in Figure 1. The report can take a minute or more to complete, and after that a time stamped report is available over at 'Reports > System  > System Performance', as shown in Figure 2. In the report you will find a plethora of CPU/Network/Disk/Memory information, but more importantly a Performance/Resource overview section highlighting any issues that Windows might have detected that could be triggering the performance problems. In Figure 2 the system was running slow due to excessive paging resulting from available memory being too low.

 

perfmon1.jpg

Figure 1

 

 

perfmon2.jpg

Figure 2

We often get asked which license features are required by our applications and that can sometimes be difficult to answer due to a number of factors. However, we have the capability to output a debug log file for licensing that will show you the requested and granted license features for the application you're running. It's fairly simple to generate this debug file:

 

  1. Set the MGLS_DEBUG_LOG_DIR environment variable to a writeable directory.
  2. Run the application, using functionality that will consume a license.
  3. Exit the application.
  4. Check the specified directory.

 

The license transaction information is written to the end of the log file:

 

###############################################################

# License Transactions

###############################################################

 

Feature Requested: viewdraw, 2012.06

  Feature Granted: viewdraw  Location: 1717@licserv

 

Feature Requested: ices, 2012.06

  Feature Granted: ices  Location: 1717@dustylicserv

 

Feature Requested: dxdatabook, 2012.06

  Feature Granted: dxdatabook  Location: 1717@licserv

 

 

We also have a utility on Windows that you can use to generate a runtime diagnostic report with this information. You can watch a video that demonstrates its use:

 

Generating a Run-time Diagnostic Report with the Mentor License Utility (video)

When starting or troubleshooting a license server, it's handy to have a way to verify a license checkout without having to run an application. We have two utilities to help you do just that.

 

On Linux we use the mgls_ok utility. Most applications have the mgls_ok utility located within the application tree's bin directory. However, you may need to set the MGLS_HOME variable to the application tree or the mgls package within it. For a standalone licensing tree, set MGLS_HOME to the top level folder (e.g.: mgls_v9-7_2-3-0.ixl). You'll also need to copy the mgc.pkginfo file to the lib directory. You can download that here. Make sure your MGLS_LICENSE_FILE variable is set to your license file or license server (port@host).

 

Once you have the the MGLS_HOME and MGLS_LICENSE_FILE variables set and the mgc.pkginfo file copied, the command to check out a license feature is simple:

 

     $ $MGLS_HOME/bin/mgls_ok msimhdlsim

     Checking availability of "msimhdlsim".

     License granted through "msimhdlsim".

 

 

On Windows, we use the pcls_ok utility which provides a GUI. With the licensing software installed, you can access the pcls_ok utility from the Start Menu> All Programs> Mentor Graphics Licensing> pcls_ok. You can also navigate to C:\MentorGraphics\Licensing or possibly find pcls_ok in your applications start menu or tree. Here's an example of the pcls_ok interface:

 

2013-03-02_134957.png

 

The nice thing about the pcls_ok interface is it shows you the value of MGLS_LICENSE_FILE, which makes it easy to verify and know where you're attempting to get licenses from.

 

To check out a feature, just pick one from your license file and type or paste it into the Feature: field. Then, click Apply. A successful checkout will look like this:

 

2013-03-02_135400.png

 

If the checkout fails, A dialog will appear with an error message.