OpenMP incompatible with LAPACK & BLAS routines
3 views (last 30 days)
Show older comments
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 Comments
James Tursa
on 2 Apr 2024
Edited: James Tursa
on 2 Apr 2024
@zhuanyi Can you open a new Question, and maybe include a minimal complete example that reproduces the problem?
Answers (1)
Jill Reese
on 4 Mar 2011
Running your original mex function within a MATLAB Parallel Computing Toolbox parfor loop might give you the parallelism you want.
0 Comments
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!