Obtaining a license file
To obtain a free Libero IDE license goto to the Licenses & Registration page.
Click the <Request Free License> button.
We will apply for a 1 year free Libero Gold Floating License for Windows or Linux Server.
Use this command to find the MAC address on a Linux host: ifconfig
Look for the HWaddr in the eth0 listing. Enter the MAC ID and click Submit. The license file will be sent to the email address we have registered at Actel.
Download license server daemons
Before we can use a floating license we have to have a license server running on our host or on a separate license host machine. We can download the necessary license manager daemons from here.
We will place all files in the same directory. Don't forget to change the file permissions to execute (chmod 755 lmgrd) for all the daemon files.
Editing the license file
The followning changes must be made to the license file.
- Replace host_name with the host name of our license server (Superdatorn)
- Set the right path to the actlmgrd daemom
- Set the right path to the mgcld daemon
- Set the rigth path to the snpslmd daemon
- Change the port number (1702) if already in use
Setting environment variables
Put these settings in your .bashrc file. Replacing 1702 with your port number and Superdatorn with the host name of your host.
export LM_LICENSE_FILE = 1702@Superdatorn
export SNPSLMD_LICENSE_FILE = 1702@Superdatorn
Setup a log directory
Without a log file specified in license server startup command, all the messages from the license server will be written to the console. Make sure the log directory has write permissions for all.
--> sudo chmod 777 /opt/Actel/log
Starting a license server
In our environment we will use this command to start the license server:
/opt/Actel/license/lmgrd -c /opt/Actel/license/license.dat -l /opt/Actel/log/lic_log.log
Use this command to check the status of our licenses:
/opt/Actel/license/lmutil lmstat -a -c /opt/Actel/license/license.dat
If not running on a dedicated license server host we have to start the license server every time we login.
Problems starting the license server
If we get the message "command not found" there is a solution to the problem found here.
FlexNet versions 11.8 and above requires the Linux Standard Base (LSB) 3.0 components in order to run on Linux systems. LSB is an open standard meant to simplify software support across multiple Linux distributions. To install the full LSB package on a Debian system, execute the following command:
--> sudo apt-get install lsb
Top Previous Next