Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

"program" missing from OpenCL RTE for DE1 SoC?

Altera_Forum
Honored Contributor II
1,956 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 II
1,176 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..&url=http%3a%2f%2fmail.terasic.com.cn%2f%7ejmlei%2fde1-soc%2fde1soc_opencl_bsp_16.0.zip

 

 

--- 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 ---  

0 Kudos
Altera_Forum
Honored Contributor II
1,176 Views

Hi, nachiket 

If you do not mind, can I find the download address?
0 Kudos
Altera_Forum
Honored Contributor II
1,176 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
0 Kudos
Altera_Forum
Honored Contributor II
1,176 Views

Please help me ...

0 Kudos
Altera_Forum
Honored Contributor II
1,176 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.
0 Kudos
Reply