Getting Started with the IMSL® Numerical Libraries for C for Windows


License Key setup for the IMSL C Library for Windows

Depending on the installation, not all steps are required.

  • Evaluations: To enter a temporary demo key, follow Steps 1 and 3.
  • Unlimited Server: For an uncounted server key, follow Steps 1 through 3.
  • Per User: For node-locked or floating keys, follow Steps 1 through 6.

1. Setting the environment variable

Skip this step if you responded with "yes" to step 10, Environment Variable Registration, on the previous page.

The LM_LICENSE_FILE environment variable must be configured so that the license file can be located. To set this variable, open System in the Control Panel. On the Advanced tab, click Environment Variables. Under this user or for the entire system, click New and enter LM_LICENSE_FILE for the name. The default value is c:/program files/VNI/license/ but may be different for your system. Press OK to close this dialog and all other open dialog boxes.

2. Permanent License Key information
For a permanent License Key, specific information about your system is required. To obtain this information, open a Command Prompt and change to the C:/Program Files/VNI/license/bin directory. Run the script by typing get_hostid_intel.bat and press Enter. This script will create a file named hostinfo.<hostname> where <hostname> is the name of the computer.

The information contained in hostinfo.<hostname> should be emailed to [email protected] so that a permanent License Key for this system can be created.

3. License Key input
Once you receive your permanent License Key, or if you are using a temporary DEMO key, the information needs to be copied into the license.dat file. The default location of this file is c:/Program Files/VNI/license/license.dat. Below are two example license.dat files.

Permanent License Key for one user
SERVER imslserver 1111abcd 27000
DAEMON VNI
FEATURE CSTAT VNI 7.000 01-jan-00 1 /
2DF10701D310DD6D039A3 "" 1111abcd
FEATURE CMATH VNI 7.000 01-jan-00 1 /
1FED0B08D9A1238EC5327 "" 1111abcd

Temporary DEMO key for evaluation
FEATURE CMATH VNI 7.000 30-jun-2008 0 /
FCAA4309EE7BFF6EC846 "" DEMO
FEATURE CSTAT VNI 7.000 30-jun-2008 0 /
FCDA83797554A122B692 "" DEMO

4. Configuring the license server
To configure the license server, follow the these steps:
a) Start the program C:/Program Files/VNI/license/bin/bin.i386nt/lmtools.exe
b) Use Config Services to configure the name of the service and the location of the lmgrd.exe file and license.dat files as well as the log file.
c) You can also perform diagnostics to be sure the server is operational.

The images below show these various steps:

5. Start the license server
To start the license server, select Start Server. This program may also be used to stop the server or reread the license file. After the server is started, a log file is created as configured in Step 4b above. If you have problems with the license server, the log file is the first place to look.

6. Confirm the license server is running
Click Perform Status Enquiry to check the status of the license server.

Other information which may be useful

  • If there is ever a problem checking out licenses, the first step should be to stop and restart the server using the Start/Stop/Reread tab of LMTOOLS.
  • Additional information is available from Macrovision, the distributors of the FLEXlm software: http://www.acresso.com/products/fnp/flexnet-publisher-overview.htm
  • The email address of the license manager at Visual Numerics is [email protected]

7. Using IMSL
>> Using the IMSL C Library for Windows

你可能感兴趣的:(Getting Started with the IMSL® Numerical Libraries for C for Windows)