Visible to Intel only — GUID: pyc1527194703964
Ixiasoft
1. About this Document
2. System Requirements and Release Installation
3. Installing the OPAE Software Package
4. Identify the FPGA Interface Manager (FIM) and BMC Firmware Version
5. Running FPGA Diagnostics
6. Running the OPAE in a Non-Virtualized Environment
7. Running the OPAE in a Virtualized Environment
8. Intel® Acceleration Stack Quick Start Guide: Intel® FPGA PAC D5005 Archives
9. Document Revision History for Intel® Acceleration Stack Quick Start Guide: Intel® FPGA PAC D5005
A. Handling Graceful Thermal Shutdown
B. FPGA Device Access Permission
C. Memlock Limit
D. Troubleshooting Frequently Asked Questions (FAQ)
D.1. Why do I see a 'No Suitable slots found' message when running fpgasupdate on my AFU image?
D.2. Which environment variables are required?
D.3. What actions do I take if I see the error message 'Error enumerating resources: no driver available'?
D.4. Command lsmod | grep fpga shows no output after installing the OPAE driver. How to successfully install the OPAE driver?
D.5. Command rpm -qa | grep opae does not return the installed opae rpm package. How to successfully install the packages?
D.6. What action do I take if the Intel® FPGA PAC D5005 does not show up on the PCIe bus?
D.7. Why does the PCIe not detect the Intel® FPGA PAC D5005 card?
Visible to Intel only — GUID: pyc1527194703964
Ixiasoft
7.3. Running the Hello FPGA Example on Virtual Machine
This section assumes that you have set up the Virtual Machine (VM) and connected to the virtual function (VF) Device with ID 0b2c. On the virtual machine, install the Intel FPGA Driver and OPAE Software. Refer to Installing the Release on the Host for instructions.
Complete the following steps to test the operation of the NLB mode 0 AFU in a virtualized environment:
- Configure the system hugepage to allocate 20, 2 MB hugepages that this utility requires. This command requires root privileges:
sudo sh -c "echo 20 > /sys/kernel/mm/hugepages/hugepages-\ 2048kB/nr_hugepages"
- Complete the following commands to extract the .tar file:
tar xf $OPAE_PLATFORM_ROOT/sw/opae*.tar.gz cd $OPAE_PLATFORM_ROOT/sw/opae*
- To compile, type the following command:
gcc -o hello_fpga -std=gnu99 -rdynamic \ -ljson-c -luuid -lpthread -lopae-c -lm -Wl,-rpath -lopae-c \ $OPAE_PLATFORM_ROOT/sw/opae*/samples/hello_fpga.c
- Run the example:
sudo ./hello_fpga
Sample output:
Running Test Done Running Test