Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14961 Discussions

"program" missing from OpenCL RTE for DE1 SoC?

Altera_Forum
Honored Contributor I
848 Views

Hi -- I'm trying to run the hello_world example from http://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf 

However when I type 'aoc program hello_world.aocx' it throws following error: 

program: The Altera Linux SoC Runtime Environment for OpenCL is incomplete: Can't find /home/root/opencl_arm32_rte/host/arm32/bin/program 

 

If I run ./hello_world, it seems to work fine. 

 

I'm using the BSP for 16.0 --> http://www.terasic.com/downloads/cd-rom/de1-soc/de1-soc_opencl_bsp_16.0.zip 

 

The vector_add demo also fails to work and quites with an invalid binary error 

 

Initializing OpenCL  

Platform: Altera SDK for OpenCL  

Using 1 device(s)  

de1soc_sharedonly : Cyclone V SoC Development Kit  

Using AOCX: vectorAdd.aocx  

ERROR: CL_INVALID_BINARY  

Location: ../common/src/AOCL_Utils.cpp:391  

Failed to create program with binary
0 Kudos
5 Replies
Altera_Forum
Honored Contributor I
68 Views

Terasic has released a new BSP with the updated aocl utilities. This one ships with program in the correct location. 

http://mail.terasic.com.cn/~jmlei/de1-soc/de1soc_opencl_bsp_16.0.zip (https://connect.uwaterloo.ca/owa/redir.aspx?c=zitme87so94b2qylf0pk56f7oxme5u0uhb9sunbmw2uqynbkduhuca...

 

 

--- Quote Start ---  

Hi -- I'm trying to run the hello_world example from http://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf 

However when I type 'aoc program hello_world.aocx' it throws following error: 

program: The Altera Linux SoC Runtime Environment for OpenCL is incomplete: Can't find /home/root/opencl_arm32_rte/host/arm32/bin/program 

 

If I run ./hello_world, it seems to work fine. 

 

I'm using the BSP for 16.0 --> http://www.terasic.com/downloads/cd-rom/de1-soc/de1-soc_opencl_bsp_16.0.zip 

 

The vector_add demo also fails to work and quites with an invalid binary error 

 

Initializing OpenCL  

Platform: Altera SDK for OpenCL  

Using 1 device(s)  

de1soc_sharedonly : Cyclone V SoC Development Kit  

Using AOCX: vectorAdd.aocx  

ERROR: CL_INVALID_BINARY  

Location: ../common/src/AOCL_Utils.cpp:391  

Failed to create program with binary 

--- Quote End ---  

Altera_Forum
Honored Contributor I
68 Views

Hi, nachiket 

If you do not mind, can I find the download address?
Altera_Forum
Honored Contributor I
68 Views

hi 

i have same problem with de1-soc on "BSP(Board Support Package) for Altera SDK OpenCL 16.0" linux image file. 

bsp version 16.0 

 

how can i solve it? 

thanks
Altera_Forum
Honored Contributor I
68 Views

Please help me ...

Altera_Forum
Honored Contributor I
68 Views

 

--- Quote Start ---  

Please help me ... 

--- Quote End ---  

If you have already tried the latest BSP from Terasic and already read and followed their documents and you still cannot get it to work; you should contact Terasic directly. They are obliged to help you.
Reply