Graphcore Poplar SDK 1.4.x

From Define Wiki
Jump to navigation Jump to search

Installation

  • Extract the Poplar SDK:
ipuuser@ipu-host-3:~$ tar zxvf poplar_sdk-ubuntu_18_04-1.4.0-665f971c8f.tar.gz 
  • Change to the Poplar SDK directory:
ipuuser@ipu-host-3:~$ cd poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/poplar-ubuntu_18_04-1.4.0+71819-c5c0c8ebab/
  • we now need to add a few lines to the end of the ipuuser's /home/ipuuser/.bashrc file, so it looks something like this:
ipuuser@ipu-host-2:~$ tail .bashrc -n 4
export LD_LIBRARY_PATH=/home/ipuuser/poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/poplar-ubuntu_18_04-1.4.0+71819-c5c0c8ebab/lib
export IPUOF_CONFIG_PATH=/home/ipuuser/.ipuof.conf.d/AllIPUs_ipuof.conf
source /home/ipuuser/poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/poplar-ubuntu_18_04-1.4.0+71819-c5c0c8ebab/enable.sh
source /home/ipuuser/poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/popart-ubuntu_18_04-1.4.0+5352-e86081acc9/enable.sh

The IPUOF_CONFIG points to the file created in /home/ipuuser/.ipuof.conf.d/ automatically following the creation of a partition. The filename is inspired by the name of the partition.