Oswald FPGA Usage

The oswald cluster has four nodes, each of which can contain a Nallatech 510T FPGA card with two Altera Arria 10 FPGAs. Currently, Nallatech cards are installed only on oswald02 and oswald03. The build machine for using the Intel FPGA software development kit (SDK) for OpenCL is oswald00, which has the license for the SDK.   

To use the SDK on oswald00, set the followng environment variables (commands shown for bash shell):

  export ALTERAOCLSDKROOT=/opt/altera/16.0/hld

  export PATH=$PATH:$ALTERAOCLSDKROOT/bin

  export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/nalla_pcie

  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALTERAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib

  export LM_LICENSE_FILE=/usr/local/flexlm/licenses/1-FMRCDR_License.dat

To run the compiled FPGA hardware program on oswald02 or oswald03, set the following environment variables:

  export ALTERAOCLSDKROOT=/opt/altera/16.0/pro/hld 

  export PATH=$PATH:$ALTERAOCLSDKROOT/bin

  export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/nalla_pcie

  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALTERAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib

Note that ALTERAOCLSDKROOT is set differently on the two machines.

For instructions on how to build and run FPGA programs using the Intel FPGA SDK for OpenCL, see the Getting Started Guide.  (Note that we are using the 16.0 pro version because that is the version required by our FPGA boards). You do not need to do any installation but can start with the flowchart on p. 9. Do everything up to the last box on oswald00. Do the last box in the flowchart on oswald02.