Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
477 Discussions

On Devcloud, how to use OPAE python API

jbleclere
Beginner
1,260 Views

On Intel-DevCloud, I've developed my FPGA design and a C++ application using OPAE-C++ API.

Now I'd like to rewrite my application but using the OPAE python API.

I'd a look at the doc: https://opae.github.io/latest/docs/README.html

but unfortunately, the pip command fails:

pip install --user opae.fpga

with the message : "pysysobject.h:29:37: fatal error: opae/cxx/core/sysobject.h: No such file or directory"  (refer to full log in attachment)

Please, how to proceed:

- with the installation on DevCloud (isn't it already installed on DevCloud by default?)

- ideally with an example application showing how to use the python API?

Thanks

0 Kudos
1 Reply
CalvinHung
Beginner
1,161 Views

Hi,

opae.fpga 1.2 seems can't work on DevCloud.

This is how we fix this issue:

curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip.py
python get-pip.py  
pip install --user pybind11
pip install --user opae.fpga==1.1

 

0 Kudos
Reply