If you have previously purchased a license, you can generate the required license file in your Xilinx licensing account. The Vitis AI pruner finds the license using an environment variable called XILINXD_LICENSE_FILE. There are two types of licenses:
- Floating License
- To install, specify the path in the
port@hostnameformat. For example,export XILINXD_LICENSE_FILE=2001@xcolicsvr1.Note: This is the step for the client side. For server side operations, runlmgrdto start the license server, as documented in Vivado Design Suite User Guide: Release Notes, Installation, and Licensing (UG973).Further details related to license server installation and usage can be found in the Xilinx Licensing Solution Center.
Vivado Design Suite User Guide: Release Notes, Installation, and Licensing (UG973), while intended for Vivado installations, provides additional detailed instructions that are also relevant for installation of the Vitis AI Optimizer license.
- 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.licTo specify a directory:
export XILINXD_LICENSE_FILE=/home/user/license_dirIf you have multiple licenses, separate them with a colon:
export XILINXD_LICENSE_FILE=1234@server1:4567@server2:/home/user/license.licA node-locked license can also be installed by copying it to $HOME/.Xilinx directory.