eigs with Extended Capabilities
14 次查看(过去 30 天)
显示 更早的评论
Hello Community,
Extended Capabilities
Thread-Based Environment
Run code in the background using MATLAB® backgroundPool or accelerate code with Parallel Computing Toolbox™ ThreadPool.
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Distributed Arrays
Partition large arrays across the combined memory of your cluster using Parallel Computing Toolbox™.
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
could either one of this options increase the number of used cores for one eigs calculation?
i have to solve an generalised eigenvalue probem and the size of the eigenvector q is numel(q)=16384
When i use eigs it uses only one core.
Is it possible to increase the number of used cores, with the extended capabilties?
Best Regards,
MJ
0 个评论
回答(1 个)
Christine Tobler
2021-12-9
The first of these would only be useful if you need to apply EIGS to many problems in parallel, in which case each of these could be solved in a thread.
The second will usually make sense if you have a parallel cluster over which the matrix could be distributed, which I'd expect only makes sense for a larger matrix than 16384-by-16384.
EIGS isn't always running single-threaded, it depends quite a lot on the problem being passed in. How much time is EIGS taking to solve your problem? Could you run your EIGS command with the "Display" option set to true, and post the results here?
2 个评论
Andrew Knyazev
2021-12-22
Open source https://slepc.upv.es/ is for large-scale parallel MPI/OpenMP eigenvalue computations and has a MATLAB interface.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!