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.

Problem with aocl install

Altera_Forum
Honored Contributor II
2,081 Views

Hi, 

I have a problem with the installation command "aocl install<path_custom_platform>", because of the bash returns the following problem: 

"is not an object at /home/intel_tools/intelFPGA_pro/17.1/hld/share/lib/perl/acl/Command.pm line 1290, <F> line 34." I am using a virtual machine with centOS 7.4 on Windows server 2012 R2. I attached the screenshot of the problem. Can anyone help me? Thanks for your help.
0 Kudos
17 Replies
Altera_Forum
Honored Contributor II
777 Views

check your username and read/write perms of the path.

Altera_Forum
Honored Contributor II
777 Views

Hi, 

Could you try to use the supported operating system? 7.4 is not in our list 

 

http://dl.altera.com/requirements/17.1/ 

 

 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor II
777 Views

Hi, 

now I am using OpenCL on centOS 6.8 (a version included in the above list) but it does not still work. I am using a virtual machine (Hyper-V) on Windows Server 2012 R2, should it be the problem? This is what the terminal returns:  

 

[leonardo1@leonardo1 hld]$ aocl install 

Do you want to install /home/intel_tools/intelFPGA_pro/17.1/hld/board/a10_ref? [y/n] y 

aocl install: Running install from /home/intel_tools/intelFPGA_pro/17.1/hld/board/a10_ref/linux64/libexec 

Looking for kernel source files in /lib/modules/2.6.32-642.el6.x86_64/build 

Using kernel source files from /lib/modules/2.6.32-642.el6.x86_64/build 

Building driver for BSP with name a10_ref 

make: Entering directory `/usr/src/kernels/2.6.32-642.el6.x86_64' 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_queue.o 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci.o 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_fileio.o 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_dma.o 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_pr.o 

CC [M] /tmp/opencl_driver_Qh2IhR/aclpci_cmd.o 

In file included from /tmp/opencl_driver_Qh2IhR/aclpci_cmd.c:53: 

include/linux/aer.h:38: warning: ‘struct pci_dev’ declared inside parameter list 

include/linux/aer.h:38: warning: its scope is only this definition or declaration, which is probably not what you want 

include/linux/aer.h:39: warning: ‘struct pci_dev’ declared inside parameter list 

include/linux/aer.h:40: warning: ‘struct pci_dev’ declared inside parameter list 

include/linux/aer.h:57: warning: ‘struct pci_dev’ declared inside parameter list 

LD [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.o 

Building modules, stage 2. 

MODPOST 1 modules 

CC /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.mod.o 

LD [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.ko.unsigned 

NO SIGN [M] /tmp/opencl_driver_Qh2IhR/aclpci_a10_ref_drv.ko 

make: Leaving directory `/usr/src/kernels/2.6.32-642.el6.x86_64' 

is not an object at /home/intel_tools/intelFPGA_pro/17.1/hld/share/lib/perl/acl/Command.pm line 1290, <F> line 34. 

 

Thanks for your help 

Best Regards
Altera_Forum
Honored Contributor II
777 Views

Hi, 

 

I afraid i am not able to comment much when using with virtual machine, do you confirm all the permission or admin rights?, as my own setup was just working with a centos6.8 with out any additional settings. 

 

 

Regards, 

CloseCL 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor II
777 Views

I also have that problem !!! Even I try it with sudo, I still get same result 

 

Is any solution? Thanks.
Altera_Forum
Honored Contributor II
777 Views

Hi all,  

 

I am also stuck with this problem. Has someone found a solution yet? 

 

Best, 

Eric
Altera_Forum
Honored Contributor II
777 Views

Same problem here. No solution found so far.

Altera_Forum
Honored Contributor II
777 Views

Nallatech's Support Team pointed me to this workaround (https://www.altera.com/support/support-resources/knowledge-base/embedded/2017/why-does-aocl-install-...) that solved my problem.

Altera_Forum
Honored Contributor II
777 Views

And the workaround is??

Altera_Forum
Honored Contributor II
777 Views

Click on "this workaround" posted by nicolacdnll

Altera_Forum
Honored Contributor II
777 Views

 

--- Quote Start ---  

And the workaround is?? 

--- Quote End ---  

 

 

You probably didn't see the link that reads: 

 

--- Quote Start ---  

 

Workaround 

To avoid this error, apply following changes to the <OpenCL SDK Installation Path>/share/lib/perl/acl/Command.pm: lines 110 &111 

Line 110: Replace isWindowsOS() ->acl::Env::is_windows() 

Line 111: Replace mysystem_full({}, @cmd); -> system(@cmd); 

--- Quote End ---  

Altera_Forum
Honored Contributor II
777 Views

Thanks guys! I totally overlooked it, very sneaky...

Altera_Forum
Honored Contributor II
777 Views

I just wanted to add that it seems this was fixed in SDK v17.1 Update 1. 

 

The update release notes (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/rn/rn_qts_dev_support_upd...) at page 18 reads: 

Fixed an issue where the aocl install command failed with message similar to the following example: is not an object at <path_to_command.pm>/Command.pm line 1241, <F> line 68.
Altera_Forum
Honored Contributor II
777 Views

 

--- Quote Start ---  

I just wanted to add that it seems this was fixed in SDK v17.1 Update 1. 

 

The update release notes (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/rn/rn_qts_dev_support_upd...) at page 18 reads: 

Fixed an issue where the aocl install command failed with message similar to the following example: is not an object at <path_to_command.pm>/Command.pm line 1241, <F> line 68. 

--- Quote End ---  

 

 

I don't think it has been released yet, at least, I can't find it...
Altera_Forum
Honored Contributor II
777 Views

 

--- Quote Start ---  

I don't think it has been released yet, at least, I can't find it... 

--- Quote End ---  

 

It was released a while ago and they already released a newer version, namely Update 2, go to http://dl.altera.com/opencl/17.1/?edition=pro&download_manager=direct and select Update tab. 

But, make sure your board vendor has a BSP for this version of the SDK.
Saikiranbelana
477 Views

Iam trying to dockerize intel_rte_stack. After dockerization, the docker container was able to detect fpgas attached via PCIe  with 

fpgainfo fme

 Output:

root@4a694037e7ce:~# fpgainfo fme
Board Management Controller, microcontroller FW version 26895
Last Power Down Cause: POK_CORE
Last Reset Cause: None
//****** FME ******//
Object Id                     : 0xEF00000
PCIe s:b:d:f                  : 0000:86:00:0
Device Id                     : 0x09C4
Socket Id                     : 0x00
Ports Num                     : 01
Bitstream Id                  : 0x124000200000367
Bitstream Version             : 1.2.4
Pr Interface Id               : 38d782e3-b612-5343-b934-2433e348ac4c
Boot Page                     : user

But when I try to run aocl install, the following errors occurs and it says, Intel PAC device

 

root@4a694037e7ce:~/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl# aocl install
Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y
aocl install: Setting up the FPGA Client Driver (FCD) to the system. This process may require admin privilege
Install the FCD file to /opt/Intel/OpenCL/Boards 
aocl install: Adding the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp to the list of installed packages
Installing the board package driver to the system.
aocl install: Running install from /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec
WARNING: Intel PAC device not found

 

Can someone please help me out in resolving these issues or if you have some proper documentation, please share 

Reply