Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
697 Discussions

Error opening AFC: insufficient privileges

lcruz
Beginner
1,066 Views

Hello,

 

I have FPGA integrated into compute nodes. But, recently, I have note been able to use them. When I load the intel/2021.3.0 compiler the following messages are returned:

 

Error opening AFC: insufficient privileges
Error opening AFC: insufficient privileges
Error opening AFC: insufficient privileges
Error opening AFC: insufficient privileges
Error opening AFC: insufficient privileges

 

Or other times it returns:

 

Failed to configure device acl0:pac_ed00001|BSP_UNLOADED|PASSED
Failed to configure device acl0:pac_ed00001|BSP_UNLOADED|PASSED
Failed to configure device acl0:pac_ed00001|BSP_UNLOADED|PASSED
Failed to configure device acl0:pac_ed00001|BSP_UNLOADED|PASSED

 

What does it means? And how should I fix it?

0 Kudos
4 Replies
aikeu
Employee
1,004 Views

Hi lcruz,


Sorry for late respond. May I know some additional information from you regarding the below:


  1. Which tools you are using? IOFS? oneAPI? OPAE?
  2. Are you using intel devcloud to compile the design?
  3. Can you share more details on the design or command used to compile the project?
  4. Are you running the command with root access?


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
970 Views

Hi lcruz,


Any follow up from the previous comment?


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
951 Views

Hi lcruz,


We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


Thanks.

Regards,

Aik Eu


0 Kudos
ndevenish
New Contributor I
844 Views

Hi,

 

This sounds very similar to the issue I had https://community.intel.com/t5/Intel-High-Level-Design/Configuring-for-non-root-user-access-without-quot-Error-opening/m-p/1402918#M2603 - this turned out to be that my user didn't have sufficient permissions to read/write from the raw devices.

 

So either running the tooling as root worked or (preferably) changing the device permissions might work.

 

Nick

0 Kudos
Reply