MATLAB Answers

Compiler Support for Intel® oneAPI Toolkits - Fortran

79 views (last 30 days)
Christopher McCutcheon
Christopher McCutcheon on 24 Jun 2021
Commented: Rylan on 25 Aug 2021
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.

Answers (1)

Bruno Luong
Bruno Luong on 24 Jun 2021
Edited: Bruno Luong on 24 Jun 2021
  1 Comment
Rylan
Rylan on 25 Aug 2021
@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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!