How to tell MATLAB where fortran compiler is?

2 ビュー (過去 30 日間)
Tuan Pham
Tuan Pham 2018 年 12 月 10 日
編集済み: A.B. 2018 年 12 月 11 日
I have Intel Parallel Studio XE 2018 Update 1, Visual Studio 2017, and Windows 10. In MATLAB I ran "mex -setup FORTRAN" or "mex -setup -v FORTRAN", MATLAB couldn't file IFORT_COMPILER18. There was IFORT_COMPILER18 with value C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.1.156\windows\. What should I do so that MATLAB can recognize IFORT_COMPILER18?
  3 件のコメント
Tuan Pham
Tuan Pham 2018 年 12 月 10 日
MATLAB R2018a
Walter Roberson
Walter Roberson 2018 年 12 月 10 日
That release supported Intel Parallel Studios XE for Fortran 2017, but not 2018.

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

回答 (1 件)

A.B.
A.B. 2018 年 12 月 11 日
編集済み: A.B. 2018 年 12 月 11 日
This incompatibility is actually very annoying. There is always a lag of one year between the compatible versions of the two software. For someone who is trying to stay uptodate on both software, MATLAB-Intel(Fortran) compatibility can never happen. (update: this was supposed to be a sympathizing comment on the question, not an answer. sorry for the confusion)
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 12 月 11 日
Sorry, I am not able to test with most Windows compilers. The Microsoft and Intel license terms do not consider my volunteer work to be "personal" use so I am not eligible to use the free compilers.
Tuan Pham
Tuan Pham 2018 年 12 月 11 日
With Intel Parallel Studios XE for Fortran 2017 installed, mex found it. The problem is solved. Thanks.

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

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by