Install Xilinx Maximal Independent Set for TigerGraph¶
Install Maximal Independent Set Software¶
To install the Maximal Independent Set product, you can either install a DEB/RPM pre-built package, or you can build the Maximal Independent Set from sources if you would like to collaborate with Xilinx and contribute to the Maximal Independent Set product. Follow the steps in only one of the two sections below.
Install the Maximal Independent Set from a Package¶
Get the installation package amd-graphanalytics-install-1.5.9.tar.gz from the Database Analytics POC Secure Site. This package contains the Maximal Independent Set as well as its dependencies.
Install the product and its dependencies by un-tarring the package and running the included install script.
tar xzf amd-graphanalytics-install-1.5.9.tar.gz # Install the MIS products for the specified device. Supported device name: u50, u55c, aws-f1 cd amd-graphanalytics-install && ./install.sh -p mis -d <device-name>
Install the Maximal Independent Set plugin into the TigerGraph installation targeting a supported Alveo device. Below is an example targeting Alveo U50”
/opt/xilinx/apps/graphanalytics/integration/Tigergraph-3.x/mis/0.6/install.sh -d xilinx_u50_gen3x16_xdma_201920_3
Supported Alveo devices:
U50: xilinx_u50_gen3x16_xdma_201920_3
U55C: xilinx_u55c_gen3x16_xdma_base_2
Note
If you only need to build applications utilizing Xilinx GraphAnalytics products, you can skip the section below.
Build the Maximal Independent Set from Sources¶
Follow the instructions below if you want to collaborate and contribute to the Xilinx Maximal Independent Set Alveo Product and plugin for TigerGraph 3.x. Both products reside in one GitHub repository.
Clone the Xilinx Graph Analytics repository from GitHub.
git clone https://github.com/Xilinx/graphanalytics.git
Build and install the Maximum Independent Set package. The Ubuntu apt package manager is used as an example.
cd mis make dist sudo apt install --reinstall ./package/xilinx-mis-0.6_20.04-x86_64.deb
Build and install the Maximal Independent Set for TigerGraph 3.x package. (Replace the package installation command and name for your server’s OS.)
cd plugin/tigergraph/mis make dist sudo apt install --reinstall ./package/xilinx-mis-tigergraph-0.6_20.04-x86_64.deb /opt/xilinx/apps/graphanalytics/integration/Tigergraph-3.x/mis/0.6/install.sh -d xilinx_u50_gen3x16_xdma_201920_3
Supported Alveo devices:
U50: xilinx_u50_gen3x16_xdma_201920_3
U55C: xilinx_u55c_gen3x16_xdma_base_2
sudo /opt/xilinx/xrt/bin/xbmgmt flash --update --shell xilinx_u50_gen3x16_xdma_201920_3
Uninstalling the Maximal Independent Set¶
You can uninstall the Maximal Independent Set from TigerGraph by running the install script with the -u
option:
/opt/xilinx/apps/graphanalytics/integration/Tigergraph-3.x/mis/0.6/install.sh -u
TIP: To avoid TigerGraph errors, uninstall any queries and UDFs that use the Maximal Independent Set before uninstalling the Maximal Independent Set itself.