Why doesn't Matlab find my Intel Visual Fortran compiler?
3 次查看(过去 30 天)
显示 更早的评论
I submitted a post about this to the newsgroup but have not received any responses thus far.
I have Intel Parallel Studio 2013 XE with VS2010, including Intel Visual Fortran, installed on my laptop running Windows 7. The compiler runs fine from within Visual Studio, but when I try to use it to compile a Mex file, I get the error
Error using mex
No supported compiler or SDK was found. (etc.)
The Windows environment variable IFORT_COMPILER14 is defined and points to the folder C:\Program Files (x86)\Intel\Composer XE 2013 SP1\. I also have the files
- intel_fortran_13_vs2010.xml
- intelf13msvs2010engmatopts.bat
- intelf13msvs2010opts.bat
- intelf13msvs2010opts.stp
in %matlabroot\bin\win64\mexopts\, but I don't know how to trouble-shoot them.
What does Matlab do to find an installed compiler? Can I manually check for anything that Matlab is looking for?
I get this error running both R2015b and R2016a.
2 个评论
Geoff Hayes
2016-6-11
Bruce - try turning on verbosity when setting up mex as
>> mex -setup -v
This may give you an idea as to the step that MATLAB is following when looking for your compiler.
By the way, have you verified that this is a supported compiler for your versions of MATLAB?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!