eigs with Extended Capabilities

4 views (last 30 days)
Marko
Marko on 9 Dec 2021
Commented: Andrew Knyazev on 22 Dec 2021
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

Answers (1)

Christine Tobler
Christine Tobler on 9 Dec 2021
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 Comments
Andrew Knyazev
Andrew Knyazev on 22 Dec 2021
Open source https://slepc.upv.es/ is for large-scale parallel MPI/OpenMP eigenvalue computations and has a MATLAB interface.

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!