MATLAB Answers

Compiler Support for Intel® oneAPI Toolkits - Fortran

75 ビュー (過去 30 日間)
Christopher McCutcheon
Christopher McCutcheon 2021 年 6 月 24 日
コメント済み: Rylan 2021 年 8 月 25 日 12:01
Intel has transitioned from Intel® Parallel Studio XE to Intel® oneAPI Toolkits. I have installed the Community version of MS Visual Studio 2019 with the C++ package and have also integrated The Intel® Fortran Compiler Classic (ifort driver) in the Intel® oneAPI HPC Toolkit which includes a full implementation of the Fortran 2018 standard (release notes here).
Is there a solution for Matlab R2020b to find the new compiler?
Command Window
>> mex -setup -v FORTRAN
Verbose mode is on.
... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015' ...
... Looking for environment variable 'IFORT_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015'.
... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017' ...
... Looking for environment variable 'IFORT_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017'.
... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019' ...
... Looking for environment variable 'IFORT_COMPILER18' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019'.
... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015' ...
... Looking for environment variable 'IFORT_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015'.
... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017' ...
... Looking for environment variable 'IFORT_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017'.
... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019' ...
... Looking for environment variable 'IFORT_COMPILER19' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019'.
... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017' ...
... Looking for environment variable 'IFORT_COMPILER20' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017'.
... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019' ...
... Looking for environment variable 'IFORT_COMPILER20' ...No.
Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019'.
Error using mex
No supported compiler was found. For options, visit https://www.mathworks.com/support/compilers.

回答 (1 件)

Bruno Luong
Bruno Luong 2021 年 6 月 24 日
編集済み: Bruno Luong 2021 年 6 月 24 日
  1 件のコメント
Rylan
Rylan 2021 年 8 月 25 日 12:01
@Bruno Luong It seems that we can make Matlab to find the new compiler. However, we may not be able to debug the corresponding mex file in the same way that we adopted when we use Intel® Parallel Studio XE.

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by