Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,500 Views

Problem with aocl install

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
16 Replies
Altera_Forum
Honored Contributor I
196 Views

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

Altera_Forum
Honored Contributor I
196 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 I
196 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 I
196 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 I
196 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 I
196 Views

Hi all,  

 

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

 

Best, 

Eric
Altera_Forum
Honored Contributor I
196 Views

Same problem here. No solution found so far.

Altera_Forum
Honored Contributor I
196 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 I
196 Views

And the workaround is??

Altera_Forum
Honored Contributor I
196 Views

Click on "this workaround" posted by nicolacdnll

Altera_Forum
Honored Contributor I
196 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 I
196 Views

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

Altera_Forum
Honored Contributor I
196 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 I
196 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 I
196 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.
Reply