User can check on below points if they get the error for respective Operating System while using a Node Locked License.
For Windows:-
-- If you are getting the error \u2018License not Found (error code -1) ' during the execution of a Lattice Software Tool with Windows , Please check the environment variable settings for Windows. Go-to the Start Menu > Computer > (Right Click Properties) > Advanced System Settings > Environment Variables.
Check for the variable named LM_LICENSE_FILE=XXXXXXXXXX , the XXXXXXXXXX should be the path of license.dat file generated from Lattice website.
--Please ensure that the path provided should be in Windows format with separators as \u2018c:\xx\xxx\xxx.dat'
--Please check the MAC address provided by you on our Lattice website contains correct MAC ID of your Ethernet LAN card.
------------------------------------------------------------------------------------------------------------
For Linux:-
--If you are getting the error \u2018License not Found (error code -1) ' during the execution of a Lattice Software Tool with Linux, Please check the environment variable settings for Linux. Type the command \u2018printenv | grep
\u2018LM_LICENSE_FILE' ,
Check for the variable named LM_LICENSE_FILE=XXXXXXXXXX , the XXXXXXXXXX should be the path of license.dat file generated from Lattice website. To set the LM_LICENSE_FILE value type the command \u2018export LM_LICENSE_FILE=XXXXXXXXXXXX' .
-- Please ensure the provided License path format should be in \u2018c:/xx/xx/xxx.dat'
--If you are getting the error \u2018Invalid host. The hostid of this system does not match the hostID(error code -9)', As Lattice tools use the hardcoded Network Interface Name (eth0) and if the active Network Interface name on the system is set to other than eth0, it fails to check the license file and generate the above error. To avoid this you need to rename the active Network Interface Name to eth0 as follows:-
1). Run the following command with root privileges:
a). cd /etc/udev/rules.d/
b). vi 70-persistent-net.rules
In the 70-persistent-net.rules file you will see a value as:
NAME =\u201D<active NIC name (for example p6p1,em1 etc)\u201D change it to NAME=\u201Deth0\u201D and save the file
2). Reboot the system.
--Please check the MAC address provided by you at our website should be the MAC ID of your Ethernet LAN card.