OpenMP incompatible with LAPACK & BLAS routines

조회 수: 2 (최근 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 CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by