Matlab Coder and OpenMP

Hi,
I want to mex a function which contains a 'parfor' loop. 'Mex -setup' tells me I'm using 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1', which is on the list of compatible compilers. However, when I try to make the mex, coder tells me 'The selected compiler does not support the OpenMP library. This loop will not be parallelised'. But, according to the Intel website, this compiler should run OpenMP, as per this link... https://software.intel.com/en-us/articles/openmp-40-features-in-intel-c-composer-xe-2013
What am I doing wrong here? Have I missed some configuration step somewhere?
Cheers,
Arwel

回答 (1 件)

Mandar Patwardhan
Mandar Patwardhan 2016 年 12 月 21 日
編集済み: Mandar Patwardhan 2016 年 12 月 21 日

0 投票

Refer to the following MATLAB Answers post for more information on MATLAB Coder and OpenMP. https://www.mathworks.com/matlabcentral/answers/237411-can-i-make-use-of-openmp-in-my-matlab-mex-files#answer_190619

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

タグ

質問済み:

2016 年 12 月 16 日

編集済み:

2016 年 12 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by