Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- The first user of this thread has the d5 board but i really have the a7 board. The titles of my post are wrong, sorry... On the other hand, i've run the hello_world kernel on the board as the getting_started_guide says and works perfectly but some reason "aocl diagnostic" crashes. Thanks!!! --- Quote End --- Hello, I am using pci385n_a7 too and having trouble in running hello world.aocx. There's no problem in compling the opencl and burning it into flash. But when I run ./hello_world in bin after compiling it by make -f makefiel. It crashed : fpga is in user mode. enabling bridges
querying platform for info:
==========================
cl_platform_name = altera sdk for opencl
cl_platform_vendor = altera corporation
cl_platform_version = opencl 1.0 altera sdk for opencl, version 13.1
error: cl_device_not_found
location: ../common/src/aocl_utils.cpp:355
query for number of devices failed At this time, I ran $aocl diagnostic and it failed also. But that one used to be successful when I there was default hardware image in flash. aocl diagnostic: running diagnostic from /home/jisuansuogcb/altera/13.1/hld/board/pcie385n/linux64/bin
running diagnostic for : acl0
fpga is in user mode. enabling bridges
using platform: altera sdk for opencl
failed clgetdeviceids.
error code: -1
aocl diagnostic: failed.
When I ran $aocl install. It's saying, aocl install: running install from /home/jisuansuogcb/altera/13.1/hld/board/pcie385n/linux64/bin
using kernel source files from /usr/src/kernels/2.6.18-274.el5xen-x86_64
make: entering directory `/usr/src/kernels/2.6.18-274.el5-xen-x86_64'
building modules, stage 2.
modpost
make: leaving directory `/usr/src/kernels/2.6.18-274.el5-xen-x86_64'
Based on this, there should be no problem, right? But when I tried this one,lspci | grep altera there was no reply, meaning pcie drivers installation failure right? :( I have been frustrated with that for two days! What should I do next? Can you help me with that? Thank you in advance. $ld_library_path: /home/jisuansuogcb/altera/13.1/hld/host/linux64/lib
$alteraoclskdroot: /home/jisuansuogcb/altera/13.1/hld
$aocl_board_package_root: /home/jisuansuogcb/altera/13.1/hld/board/pcie385n
Yuxuan