The Vitis AI pruner finds the license using an environment variable called XILINXD_LICENSE_FILE. There are two types of license:
- Floating license
- To install, specify the path in the
port@hostname
format. For example,export XILINXD_LICENSE_FILE=2001@xcolicsvr1
. - Node-locked License
- To install, specify a particular license file or directory where all the
.lic files are located.
To specify a particular file:
export XILINXD_LICENSE_FILE=/home/user/license.lic
To specify a directory:
export XILINXD_LICENSE_FILE=/home/user/license_dir
If you have multiple licenses, specify them at the same time separated by a colon:
export XILINXD_LICENSE_FILE=1234@server1:4567@server2:/home/user/license.lic
A node-locked license can also be installed by copying it to $HOME/.Xilinx directory.