MEXING WITH IFORT 11.0 IN 64 BIT MATLAB
FOR 64 BIT MATLAB IN WINDOWS MEXING WITH MATLAB 7.6 - 7.8 WITH INTEL'S IFORT 11.0
To enable mexing with ifort version 11.0, rename the file with extension .b to have extension .bat (Matlab central regulations do not allow .bat files), and copy them to the folder:
d:\program files\matlab\r20xyz\bin\win64\mexopts
(where r20xyz could for example be r2008a, r2008b or r2009a). These files are updated from the version 10.1 files. Then mex -setup should work after, potentially, a few addtional changes:
o If your software is installed on the C: drive rather than the D: drive then in intelf11msvs2005opts.bat three instances of D: need to be changed to C: and in intelf11msvs2005opts.stp one instance of C: should be changed to D:
o The location of your Fortran compiler may be at slightly different location. This may require a modification to the line in intelf11msvs2005opts.bat:
set IFORT_COMPILER11=D:\Program Files (x86)\Intel\Compiler\11.0\061\fortran
and to the line in intelf11msvs2005opts.stp
my $default_location = "D:\\Program Files (x86)\\Intel\\Compiler\\11.0\\061\\fortran";
The changes for 64 bit Intel Fortran 11 were made by modifying the 32 bit version by Kristjan Jonasson described at http://www.mathworks.com/matlabcentral/fileexchange/22290. Some of the above discussion parallels Kristjan's discussion.
associated files:
readme.txt -- describes how to add to MATLAB's mex utilility to allow use of the Intel Fortran 11.0 compiler
intelf11msvs2005opts.b and intelf11msvs2005opts.stp -- two files discussed in above
Files which can be used to test that the mex utility is working and which illustrate how BLAS and LAPACK routines can be called:
lupp.m -- describes the use of the lupp code
lupp.F -- the gateway routine for lupp
luppf.F -- a "computational routine" called by lupp.F
lupp_mex.m -- has examples of mex commands to compile lupp.F
lupp_test.m -- is a MATLAB routine that tests the compiled lupp
Leslie Foster (foster@math.sjsu.edu), 6-4-2009
引用
Leslie Foster (2024). MEXING WITH IFORT 11.0 IN 64 BIT MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/24347-mexing-with-ifort-11-0-in-64-bit-matlab), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
謝辞
ヒントを得たファイル: Windows mex setup with ifort 11.0
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |