OpenMP incompatible with LAPACK & BLAS routines

4 visualizaciones (últimos 30 días)
Adam connolly
Adam connolly el 26 de Feb. de 2011
Editada: James Tursa el 2 de Abr. de 2024
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 comentarios
zhuanyi
zhuanyi el 31 de Mzo. de 2024
Hi Adam, do you have any update? I am facing the same problem.
James Tursa
James Tursa el 2 de Abr. de 2024
Editada: James Tursa el 2 de Abr. de 2024
@zhuanyi Can you open a new Question, and maybe include a minimal complete example that reproduces the problem?

Iniciar sesión para comentar.

Respuestas (1)

Jill Reese
Jill Reese el 4 de Mzo. de 2011
Running your original mex function within a MATLAB Parallel Computing Toolbox parfor loop might give you the parallelism you want.

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by