Compiler Support for Intel® oneAPI Toolkits - Fortran

27 vues (au cours des 30 derniers jours)
Christopher McCutcheon
Christopher McCutcheon le 24 Juin 2021
Commenté : Rylan le 25 Août 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.

Réponses (1)

Bruno Luong
Bruno Luong le 24 Juin 2021
Modifié(e) : Bruno Luong le 24 Juin 2021
  1 commentaire
Rylan
Rylan le 25 Août 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fortran with MATLAB dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by