Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

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.

17 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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