intel c++ composer 2011 with SKD 7.1 and R2013a

4 ビュー (過去 30 日間)
kjetil87
kjetil87 2013 年 9 月 23 日
コメント済み: Walter Roberson 2016 年 5 月 24 日
So i am trying to use the intel c++ composer XE 2011 (update 13) together SDK 7.1 to compile matlab mex functions. According to
this should be supported.
I installed SDK 7.1 (as i was currently using VS 2008 standard e.d which is not supported together with intel XE). After installing, the SDK 7.1 appeared on the list of compilers in
mex -setup
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[2] Microsoft Visual C++ 2008 SP1 in C:\Program Files (x86)\Microsoft Visual Studio 9.0
[0] None
Although i was also expecting
Microsoft Software Development Kit (SDK) 7.1 (with intel c++..., ) <--- something like this
or
Intel c++ ... (with SDK).
What am i missing? Do i perhaps need both SDK 7.1 AND a professional edition of either VS2010 or 2008 ?
  3 件のコメント
Harsheel
Harsheel 2013 年 9 月 24 日
what happens when you type in 'n' when 'mex -setup' asks to locate installed compilers? It should list out all compilers that are "supported" not necessarily "installed" on your system. There in the list, check if you can select 'Intel C++ .. (with SDK)' option number.
kjetil87
kjetil87 2013 年 9 月 24 日
Ahhh thank you very much! This seems to have solved it. I selected the correct combination and got a warning that the destination folder did not exist or was not configured correctly. Then all i had to do was enter the correct folder for the compiler (just had to add SP1 at the end of the destination), and now it seems to work
mex.getCompilerConfigurations
ans =
CompilerConfiguration with properties:
Name: 'Intel C++'
Manufacturer: 'Intel'
Language: 'C++'
Version: '13.0'
Location: 'C:\Program Files (x86)\Intel\Composer XE 2013 SP1'
Details: [1x1 mex.CompilerConfigurationDetails]
LinkerName: 'Microsoft Visual Studio 2012'
LinkerVersion: '11.0'

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

回答 (2 件)

Madhura Suresh
Madhura Suresh 2013 年 9 月 23 日
It is possible that the Intel Composer settings are embedded in the SDK installation. Are you able to successfully compile a small program once you choose SDK?
  1 件のコメント
kjetil87
kjetil87 2013 年 9 月 23 日
編集済み: kjetil87 2013 年 9 月 23 日
Well, yes it is able to compile a small program that runs, but i am not sure how to test if the intel instructions are used. I mean SDK 7.1 would succesfully compile a C program using only VS 10.0.
Also wouldnt it be expected that one should be able to choose to use either SDK 7.1 or the intel compiler with SDK 7.1 ?

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


Hiwa Mehmandoust
Hiwa Mehmandoust 2016 年 5 月 24 日
Hi~ Is it possible to use matlab R2013a along with Visual studio 2015 in order to compile matlab mex functions?
Best Regards~

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by