【问题标题】:Issue in installing ICC from intel oneapi basetoolkit issue with license file从 intel oneapi basetoolkit 安装 ICC 时出现许可证文件问题
【发布时间】:2021-12-14 13:57:05
【问题描述】:

我们正在尝试构建 ORAN-ODU-Low 库 (https://docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/build_prerequisite.html)。

我们已经下载并构建了 DPDK,

#wget http://static.dpdk.org/rel/dpdk-18.08.tar.x
#tar -xf dpdk-18.08.tar.xz
#export RTE_TARGET=x86_64-native-linuxapp-icc
#export RTE_SDK=Intallation_DIR/dpdk-18.08

构建 DPDK:

#./usertools/dpdk-setup.sh
select [39] x86_64-native-linuxapp-icc
exit [62] Exit Script
'''

DPDK 构建成功。

从 odu 构建 fapi 库时,我们看到以下错误:

In file included from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_dpdk.h:28:0,from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_args.h:23,from /home/user/odu-low/phy/fapi_5g/source/nr5g_fapi.c:32:
/home/user/odu-low/dpdk-18.08/include/dpdk/rte_memcpy.h:797:2: error: incompatible type for argument 2 of ‘_mm_storeu_si128’ MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
    

In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,from /home/user/odu-low/dpdk-18.08/include/dpdk/rte_vect.h:29, from /home/user/odu-low/dpdk-18.08/include/dpdk/rte_memcpy.h:17, from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_dpdk.h:28, from /home/user/odu-low/phy/fapi_5g/source/include/nr5g_fapi_args.h:23, from /home/user/odu-low/phy/fapi_5g/source/nr5g_fapi.c:32:
\/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:700:1: note: expected ‘__m128i’ but argument is of type ‘int’
    _mm_storeu_si128 (__m128i *__P, __m128i __B)

我们正在 CentOS 7 上构建它 - 使用的 3.10.0-1160.45.1.el7.x86_64 gcc 版本:4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

【问题讨论】:

  • 那真的是 only 错误信息吗?类型为 int 而不是 __m128i 的东西可能是由于对某物的隐式声明,例如试图使用由于旧编译器(旧系统 GCC 头文件)而未声明的函数。
  • Wrt gcc 不是 icc
  • @SindhuPitta 根据错误日志nr5g_fapi.c 第二个参数有问题。根据您上面的评论,这是针对 GCC 而不是 ICC。您能否更新有关 ICC 的错误?
  • Wrt icc 它正在请求许可证文件,我们正在关注以下链接docs.o-ran-sc.org/projects/o-ran-sc-o-du-phy/en/latest/…

标签: centos icc intel-oneapi


【解决方案1】:

英特尔编译器 icc 以前作为英特尔系统工作室的一部分提供,需要许可证。您提到的有关安装 icc 的文档似乎是在此期间编写的 O-RAN 文档。 Intel system studio 现在已被 Intel oneAPI 工具包取代

目前英特尔编译器(例如 icc)作为英特尔 oneAPI HPC 工具包的一部分免费提供,无需任何许可。您可以通过访问以下链接轻松免费下载该工具包,然后开始使用 icc 而不会出现问题。

https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html

如果您仍需要下载旧版本的 icc,可以访问以下链接进行尝试。

https://www.intel.com/content/www/us/en/developer/articles/guide/download-documentation-intel-system-studio-current-previous.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-06-06
    • 2023-02-03
    • 1970-01-01
    • 2021-06-21
    • 1970-01-01
    • 2010-11-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多