Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

Problem with aocl install

Altera_Forum
Honored Contributor II
3,008 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
1,704 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
1,704 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)
0 Kudos
Altera_Forum
Honored Contributor II
1,704 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
0 Kudos
Altera_Forum
Honored Contributor II
1,704 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)
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

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

 

Is any solution? Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Hi all,  

 

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

 

Best, 

Eric
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Same problem here. No solution found so far.

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views
0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

And the workaround is??

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

Click on "this workaround" posted by nicolacdnll

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

0 Kudos
Altera_Forum
Honored Contributor II
1,704 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
1,704 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_update.pdf) 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.
0 Kudos
Altera_Forum
Honored Contributor II
1,704 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_update.pdf) 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...
0 Kudos
Altera_Forum
Honored Contributor II
1,704 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.
0 Kudos
Saikiranbelana
1,404 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 

0 Kudos
Reply