OpenMP incompatible with LAPACK & BLAS routines

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by