Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
663 Discussions

Missing FCD entry on Devcloud nodes 81-87

agond2
Beginner
948 Views

I am trying to run OpenCL applications on Devcloud FPGA nodes, it seems FCD entry is missing for nodes 81-87

aocl diagnose command returns following:

--------------------------------------------------------------------

ICD System Diagnostics                                             

--------------------------------------------------------------------

Using the following location for ICD installation:

   /etc/OpenCL/vendors

Found 4 icd entry at that location:

   /etc/OpenCL/vendors/Altera.icd

   /etc/OpenCL/vendors/intel-cpu.icd

   /etc/OpenCL/vendors/intel-neo.icd

   /etc/OpenCL/vendors/Intel_FPGA_SSG_Emulator.icd

The following OpenCL libraries are referenced in the icd files:

   libalteracl.so

   libintelocl.so

   libigdrcl.so

   libintelocl_emu.so

Checking LD_LIBRARY_PATH for registered libraries:

   libalteracl.so was registered on the system at /opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/host/linux64/lib

   libintelocl.so was registered on the system at /opt/intel/inteloneapi/compiler/latest/linux/lib/x64

   WARNING: libigdrcl.so NOT FOUND

   libintelocl_emu.so was registered on the system at /opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/host/linux64/lib

   libintelocl_emu.so was registered on the system at /opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/host/linux64/lib

   libalteracl.so was registered on the system at /opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/host/linux64/lib

   /opt/intel/inteloneapi/compiler/latest/linux/lib/x64/libintelocl.so was registered on the system.

Using the following location for fcd installations:

   /opt/Intel/OpenCLFPGA/oneAPI/Boards

ERROR: No FCD entry at that location. Without ICD and FCD, host executables

must be linked directly to Intel FPGA runtime (libalteracl.so) and BSP MMD

library instead of to the Khronos ICD library (libOpenCL.so).

   To use FCD, please reinstall using 'aocl install'.

--------------------------------------------------------------------

ICD diagnostics FAILED                                             

--------------------------------------------------------------------

--------------------------------------------------------------------

BSP Diagnostics                                                    

--------------------------------------------------------------------

/opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/libexec/diagnose: error while loading shared libraries: libopae-c.so.1: cannot open shared object file: No such file or directory

--------------------------------------------------------------------

Warning:

No devices attached for package:

/opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/board/intel_a10gx_pac

--------------------------------------------------------------------

/opt/intel/inteloneapi/compiler/2021.1-beta04/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/libexec/diagnose: error while loading shared libraries: libopae-c.so.1: cannot open shared object file: No such file or directory

--------------------------------------------------------------------

Call "aocl diagnose <device-names>" to run diagnose for specified devices

Call "aocl diagnose all" to run diagnose for all devices

 

0 Kudos
4 Replies
mhass19
Innovator
763 Views

I am having the same problem. Even running clinfo returns the following:

 

Number of platforms                              2

 Platform Name                                  Intel(R) FPGA Emulation Platform for OpenCL(TM)

 Platform Name                                  Intel(R) OpenCL

 

Platform Name                                  Intel(R) FPGA Emulation Platform for OpenCL(TM)

Number of devices                                1

 Device Name                                    Intel(R) FPGA Emulation Device

 

 Platform Name                                  Intel(R) OpenCL

Number of devices                                1

 Device Name                                    Intel(R) Xeon(R) Gold 6128 CPU @ 3.40GHz

 

 

 

I can't see the intel arria 10 FPGA on the fpgaruntime nodes, it shows only emulation and CPU platforms!

0 Kudos
MEIYAN_L_Intel
Employee
763 Views

Hi,

I am checking internally the information with developer.

In the mean time, could you provide the full command you had used when you compile the OpenCL application?

Thanks

0 Kudos
agond2
Beginner
763 Views

I used the command aoc -v <kernel name>.cl to compile the .cl file.

I get the same error as discussed in the other forum post https://forums.intel.com/s/question/0D50P00004bTqr9SAC/devcloud-unable-to-compile-for-fpgas-aoc-quartus-is-not-on-the-path :

aoc: Quartus is not on the path! aoc: Is it installed on your system and quartus bin directory added to PATH environment variable?

 

0 Kudos
MEIYAN_L_Intel
Employee
763 Views

Hi,

Could you try the command below before the OpenCL compilation:

source /data/intel_fpga/devcloudLoginToolSetup.sh

The normal flow with the tools_setup should compile for you properly. 

Thanks

0 Kudos
Reply