License Manager - Miscellaneous Topics

 

 

"Thanks for the lightning fast reply and thank you very much for creating the best spice product on the market"

TCP Ports

In most situations, you can ignore this section. Situations where you need to know about ports are:

  1. SIMetrix takes a long time to acquire a license
  2. You are accessing the license manager through a firewall

The license manager communicates with the application using the TCP/IP protocol and TCP communications always specify a ‘port’ which is a number between 1 and 64000 and identifies a kind of communication channel. By default, the FLEXnet license manager uses one of the ports in the range 27000 to 27009 and the application will scan through these in sequence.

In most situations the server will use port 27000 and, as this is the first port to be scanned by the application, everything will work fine.

In some situations, the server might use another port usually because 27000 etc. is already in use. With the default settings, this may cause a start up delay as SIMetrix searches for the correct port. This problem mostly occurs when running under Windows. In this situation, specifying the exact port number at both ends will resolve this problem. See below to find out how to do this.

If you are accessing the license manager through a firewall, you will need to open up a suitable TCP port. In this situation, it is best to specify the exact port number so that only one port needs to be opened.

Specifying the License Server Port


To specify the port used by the license server, you must edit the license file. Simply add the port number to the end of the SERVER line. E.g:

SERVER NT_SERV1 000CF1C97B71 27001

The above specifies port number 27001

Specifying the Application Port Number

When SIMetrix prompts you for server license information with ...

press the Advanced... button. You will see a dialog like this...

enter the port number as required.

If you have already entered license information and wish to change it, select the menu Help|Reinstall License... then restart SIMetrix. This will force the re-entry of license information.

Mixed Feature Licenses

If you have purchased a mixture of different products, you may wish to read this section.

For example, suppose you have 2 SIMetrix AD-Plus licenses and one SIMetrix/SIMPLIS license. You can run into a problem where one user acquires the SIMetrix/SIMPLIS license, but does not actually need its extra features while another user does require the SIMetrix/SIMPLIS features but cannot acquire a license for it.

To resolve this problem you can start SIMetrix with some special options to tell it to ask only for specific license features. This would usually involve editing the shortcut icon that you use to start SIMetrix. On Windows, the shortcut would usually call something like:

"C:\Program Files\SIMetrix600\bin\SIMetrix.exe"

This starts SIMetrix normally in which case it will attempt to acquire all possible license features available. Instead, if this is used:

"C:\Program Files\SIMetrix600\bin\SIMetrix.exe" /f basic|digital

only the features needed for SIMetrix AD-Plus will be checked out.

The following table shows the features used by each of the SIMetrix products:

Product Name Feature String
SIMetrix AD-Plus basic|digital
SIMetrix/SIMPLIS basic|digital|simplis_if
SIMetrix VX basic|digital|va|vl
SIMetrix Micron VX basic|digital|micron|rtn|va|vl
SIMetrix/SIMPLIS Micron basic|digital|simplis_if|micron|rtn|va|vl

 

Changing the Location of the License Server

This section explains how to make SIMetrix get its license from a different license server. For information about moving your license server to a new machine, please contact technical support.

Start SIMetrix then select the menu Help|Reinstall License... then re-start.This will delete all license information from the end user's machine. When you re-start SIMetrix, you will be prompted to re-enter the name of the license server.

Note that the above procedure can be used even if the license server is not running. SIMetrix will still run with no license present, but the simulator will be disabled.

License Timeout

You can set up the license manager to automatically check in licenses from users who have started SIMetrix but are not using it. To do this you must set up a FLEXnet options file. To do this proceed as follows:

  1. Edit your license file to add:

    options=options.txt

    at the end of the line starting “VENDOR NEWTECH”
  2. Using a text editor, create a file called options.txt and add this single line:

    TIMEOUTALL 1800

    1800 is the timeout in seconds which of course you can set to some other suitable value. The FLEXnet license manager will make the license available to other users after this much idle time has been detected. SIMetrix does not report that it is idle until there has been at least 10 minutes of inactivity, so in practice the actual idle time required in the above example will be 2400 seconds or 40 minutes.

If you do not specify an idle timeout, a default value of 2 hours will be used.

Client Node Crashes

If a user's (client) machine crashes while SIMetrix is running, the license will not be immediately checked in but will be after a time-out period equal to the idle time out described above. This is 2 hours by default. Before this time has elapsed, the license can be checked in manually at the server by typing at the command line

lmutil lmremove feature user_name host_name display

For Windows, display is the same as the host_name, on Linux you will need to enter the display name which would usually be :0.0. feature will be one of basic, digital, micron, advanced, rtn, va, vl or simplis_if. Each feature must be checked in individually.