OpenMP incompatible with LAPACK & BLAS routines

3 ビュー (過去 30 日間)
Adam connolly
Adam connolly 2011 年 2 月 26 日
編集済み: James Tursa 2024 年 4 月 2 日
I've written a few c mex files and have called dsyev to find eigenvalues etc. I want to call this routine in parallel in a threaded loop. Everything compiles OK without warnings (using MS Visual Studio Prof. Edition 2005).
However, when I call it from Matlab it just crashes, without any error messages...
Anyone have any ideas?!?
Thanks in advance
Adam
  5 件のコメント
zhuanyi
zhuanyi 2024 年 3 月 31 日
Hi Adam, do you have any update? I am facing the same problem.
James Tursa
James Tursa 2024 年 4 月 2 日
編集済み: James Tursa 2024 年 4 月 2 日
@zhuanyi Can you open a new Question, and maybe include a minimal complete example that reproduces the problem?

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

回答 (1 件)

Jill Reese
Jill Reese 2011 年 3 月 4 日
Running your original mex function within a MATLAB Parallel Computing Toolbox parfor loop might give you the parallelism you want.

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by