Effacer les filtres
Effacer les filtres

Fortran compiler for R2022B

20 vues (au cours des 30 derniers jours)
Jason Climer
Jason Climer le 10 Mar 2023
Commenté : Jason Climer le 11 Mai 2023
I am running MATLAB R2022B in Windows 11.
I looked at the supported compilers table (https://www.mathworks.com/support/requirements/supported-compilers.html#n4) and saw that Intel oneAPI 2021 for Fortran is the supported compiler. However, Intel oneAPI 2021 doesn't appear to be available on Intel's website. I downloaded the Intel Fortran Compiler (https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html) and installed it sucessfully (I did install Microsoft Visual C++ 2022), however, when I run
mex -setup FORTRAN
MEX configured to use 'gfortran' for FORTRAN language compilation.
I get the error "Supported compiler not detected. For options, visit https://www.mathworks.com/support/compilers.".
Any advice on how to proceed?
  2 commentaires
jian wang
jian wang le 8 Mai 2023
Modifié(e) : jian wang le 8 Mai 2023
Hi Jason,
I had the same question. Have you solved it yet? If so, how did you deal with it?
Looking for your reply.
Jian
Jason Climer
Jason Climer le 11 Mai 2023
Hi Jian,
I found a pre-compliled version of the code I was working with that worked so I stopped digging into the problem. Please try Christopher's answer below and let me know if it works and I'll update my answer to the question.
Jason

Connectez-vous pour commenter.

Réponses (1)

Christopher McCausland
Christopher McCausland le 10 Mar 2023
Hi Jason,
I am not sure if this will help, however the Intel® Fortran Compiler Classic and Intel® Fortran Compiler can be downloaded here:
or here
Depending on what works better, the first option should work without issue. There has been reduced support for Intel Parallel Studio with R2022b, though I beleive this is due to the intel dropping Intel Parallel Studio support.
Hope this helps,
Christopher

Catégories

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

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by