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

本文档详细介绍了如何为IMSL Windows库设置许可密钥,包括临时演示密钥及永久密钥的安装步骤。文中提供了环境变量配置、永久许可证信息获取、许可证输入等关键步骤,并展示了如何启动和确认许可服务器是否正常运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


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 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 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 lmgr@vni.com

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值