ifort在Intel oneAPI基本安装中的调用程序是什么?

huangapple go评论62阅读模式
英文:

What is the invocation procedure for ifort in an intel oneAPI base installation?

问题

我正在尝试使用英特尔的数学内核库以及其Fortran编译器,这些都包含在oneAPI基础套件中。然而,命令“ifort”不起作用,因为终端报告找不到它在系统中。我已经使用命令“source intel/oneapi/setvars.sh”设置了环境,但似乎没有帮助。您有没有关于如何激活编译器的任何想法?
谢谢。

英文:

I am trying to use math kernel library of intel along with its fortran compiler, which comes built into the oneAPI basekit. However, the command "ifort" does not work since the terminal complains about it not being found in the system. I had setup the environment with the command "source intel/oneapi/setvars.sh" but that does not seem to help. Do you have any idea as to how to activate the compiler?
Thank you

答案1

得分: 1

Intel Math Kernel Library(Intel MKL)随 Intel 基础工具包一同提供,您可以下载 Intel MKL 的单个组件。请查找以下链接以获取单个组件的安装以及完整安装的信息。

Intel Fortran 可以从Intel 高性能计算工具包(HPC Toolkit)获取。您可以使用Intel 链接线建议工具来确切地编译您的 Fortran 代码与 MKL 集成。

由于 Fortran 需要来自 HPC Toolkit,因此您需要同时安装这两个工具包。

英文:

Intel Math Kernal Library comes along with Intel Base Toolkit and you can download a single component of Intel MKL. Please find these links for the installation of a single component and full installation

Intel Fortran will come from Intel HPC Toolkit. You can use the Intel Link Line Advisor for the exact compilation of your fortran code with MKL.

As fortran comes from HPC Toolkit, you need to have both to run the code

huangapple
  • 本文由 发表于 2023年6月13日 13:07:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76461835.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定