Effacer les filtres
Effacer les filtres

A puzzle for student using Fortran compiler through mex in Matlab

1 vue (au cours des 30 derniers jours)
Hemin He
Hemin He le 8 Mar 2022
Réponse apportée : Yash le 19 Jan 2024
I try solving a nonliner equation system through PDFO, a package base on Fortran code.
So I need to configure MEX for compiling Fortran.
However, Mathworks require me to install Intel Parallel Studio XE 2020 (or 2019), which is no longer open to students for free.
Thus, I turn to install the Intel OneAPI Toolkit. With it, I can compile my Fortran code in Microsoft Visual Studio 2017. But Matlab cannot recognize this Fortran compiler!
So now, what else can I do?
Thanks for your help!
Basic information:
Windows system,
Matlab R2020b
Microsoft Visual Studio 2017
Intel OneAPI Toolkit

Réponses (1)

Yash
Yash le 19 Jan 2024
Hi Hemin,
MathWorks has updated their support to include Intel oneAPI compilers in the newer versions of MATLAB. For an exhaustive list of compilers supported in the latest MATLAB release, please visit: https://www.mathworks.com/support/requirements/supported-compilers.html
Your current version, MATLAB R2020b, only supports Intel Parallel Studio XE for Fortran compilation. There appears to be no available workaround for utilizing Intel OneAPI with MATLAB R2020b, as it is not listed among the supported compilers in the official documentation. You can view the details here: https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020b-supported-compilers.pdf
Support for Intel oneAPI began with MATLAB R2022b. To utilize Intel oneAPI, it is recommended to update your MATLAB to the latest release.
For information on compilers supported in previous versions of MATLAB, you can visit: https://www.mathworks.com/support/requirements/previous-releases.html
Hope this helps you in resolving the issue.

Catégories

En savoir plus sur MATLAB Compiler 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