Getting Started with the IMSL Numerical Libraries for C for Unix


License Key setup for the IMSL C Library for UNIX/Linux

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
The LM_LICENSE_FILE environment variable must be configured so that the license file can be located. The variable is set for you in the setup shell script. Which shell script to use depends on the shell:

C Shell
# source /usr/local/vni/imsl/cnl600/linux/bin/cnlsetup.csh

bash, K Shell
#. /usr/local/vni/imsl/cnl600/linux/bin/cnlsetup.sh

2. Permanent license key information
For a permanent license key, specific information about your system is required. To obtain this information, change to the $LICENSE_DIR/bin directory (this variable is defined in cnlsetup above). Run the script by typing ./get_hostid_info 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 lmgr@vni.com 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 /usr/local/vni/license/imsl_license.lic. Below are two example license.dat files.

Permanent license key for one user
SERVER imslserver ff00f875c079 27000
DAEMON VNI
FEATURE CSTAT VNI 6.000 01-jan-00 1 \
2D10701D310DD6D039A3 "" ff00f875c079
FEATURE CMATH VNI 6.000 01-jan-00 1 \
1D20B08D9A1238EC5327 "" ff00f875c079

Temporary DEMO key for evaluation
FEATURE CMATH VNI 6.000 30-jun-2006 0 \
EDAA4309EE7BFF6EC846 "" DEMO
FEATURE CSTAT VNI 6.000 30-jun-2006 0 \V
1FDA83797554A122B692 "" DEMO

4. Start the license server
To start the license server, enter the command VNI_LICENSE_MGR. You will see the following message output:

5. Confirm the license server is running
To confirm the server is running, enter the command LMSTAT, which should provide information similar to the following:

Other information which may be useful

  • If there is ever a problem checking out licenses, the first step should be to stop the server using command LMDOWN. Then restart it.
  • Additional information is available from Macrovision, the distributors of the FLEXlm software: http://www.macrovision.com/services/support/flexlm/lmgrd.shtml
  • The email address of the license manager at Visual Numerics is lmgr@vni.com

6. Using IMSL
>> Using the IMSL C Library for UNIX/Linux

Company Products & Services Solutions Success Stories Support Downloads Email this page
© Copyright 2008 Visual Numerics, Inc. All Rights Reserved Legal Privacy