安装英特尔编译器后,我找不到compilervars.sh

发布于 2025-01-23 12:41:10 字数 651 浏览 0 评论 0原文

我已经通过以下链接在Ubuntu 18.04机器上安装了Intel编译器: https://www.intel.com/content/wwww/en/en/developer/tooker/tool/tool/oneapi-sandalone-components.html #html #html#dppcpp cpp-cpp-cpp-cpp-cpp-cpp-cpp

我专门安装了用于Linux的Intel®DPC++/C ++编译器。

我正在尝试运行一些基准测试,他们需要来源来源< icc_installdir> /bin/compilervars.shs.sh,但我找不到此文件。 安装说明,英特尔编译器是在/opt/intel/oneapi中安装的,但我查找了此目录,并且没有bin文件夹或Compilervars.shs.sh。有人知道如何安装此文件吗?

I have installed intel compiler on my Ubuntu 18.04 machine through the following link: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html#dpcpp-cpp

I specifically installed Intel® DPC++/C++ Compiler for Linux.

I am trying to run some benchmarks and they require to source the path <icc_installdir>/bin/compilervars.sh but I can not find this file.
The installation says that Intel compiler was installed in /opt/intel/oneapi but I looked up this directory and there is no bin folder or compilervars.sh. Does anyone know how can I install this file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

网白 2025-01-30 12:41:10

您能否尝试使用以下命令来初始化/源代码linux的Intel®DPC++/C ++编译器?

source /opt/intel/oneapi/compiler/latest/env/vars.sh 

而且,要确认是否初始化,您可以使用以下命令检查DPCPP编译器的版本。

dpcpp --version

有关更多信息,请找到以下链接:
https://www.intel.com/content/content/www/www/us/en/en/developt/oneapmumentation/oneap--progumentation/oneapi-programpricming-programpricming-gromprogramming-guide-guide/top/oneap/top/oneap-/oneap--top/oneapi-开发环境环境/使用静止 - 刻录 - 属于linux-or-macos.html

Could you please try using the below command to initialize/source the Intel® DPC++/C++ Compiler for Linux?

source /opt/intel/oneapi/compiler/latest/env/vars.sh 

And also, to confirm whether it is initialized you can check the version of DPCPP compiler by using the below command.

dpcpp --version

For more information, please find the below link:
https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-the-setvars-script-with-linux-or-macos.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文