Parallel Processing is better than buying another MATLAB licence?

13 visualizzazioni (ultimi 30 giorni)
Hello,
I'm considering whether it's more beneficial to purchase 2 or more MATLAB licenses or to invest in the Parallel Processing Toolbox. How many GPUs can we utilize with the Parallel Processing Toolbox, and is it worth the investment? I would greatly appreciate insights from someone with experience in this matter. Thank you!

Risposta accettata

Andreas Goser
Andreas Goser il 19 Apr 2024
While I am not an expert myself, I have listened to a few similar discussions and the general statement was it depends on your application.
If you have the hardware, I suppose you can test your application with MATLAB / PCT trial licenses?
  3 Commenti
Denizhan AKINCI
Denizhan AKINCI il 19 Apr 2024
Indeed, I do have access to MATLAB with the Parallel Computing Toolbox (PCT) through my student account. However, since I'm currently interning at a company, they don't have a PCT license under their corporate account. That's why I inquired about the viability of purchasing additional licenses or just buying a new matlab license. I'll give the trial licenses a try and see what options are available. Thank you for your assistance!
Joss Knight
Joss Knight il 21 Apr 2024
BTW there is no limit to the number of GPUs you can use.

Accedi per commentare.

Più risposte (1)

Joss Knight
Joss Knight il 21 Apr 2024
There may be a misunderstanding here. Your typical license is to a user or a computer. That user, or that computer, can open as many copies of MATLAB as you like. The advantage of Parallel Computing Toolbox is that you can coordinate all those MATLABs through a single client, such as running a hyperparameter optimization. MATLAB Parallel Server lets you do the same but on multiple computers using a single license - maybe that's what you're thinking of?
  2 Commenti
Denizhan AKINCI
Denizhan AKINCI il 22 Apr 2024
So my original question is this actually : Can I optimize the execution time of multiple concurrent simulations in MATLAB? I've noticed that running a second MATLAB instance while the first one is running significantly slows down both, extending the overall execution time. Would acquiring another license alleviate this issue, or should I explore the Parallel Computing Toolbox (PCT) as a solution ?
Joss Knight
Joss Knight il 22 Apr 2024
Extremely unlikely, if your plan is just to run the same code but on each worker. Parallel workers prevent resource contention by being restricted (by default) to a single physical core, and then the hope is that all the MATLABs together will use all your cores. It sounds like MATLAB is already doing a good job of multithreading and using all your resources and that's why there's contention between each MATLAB.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by