- Activate Your MATLAB Parallel Server License
- Get the Installation Files
- Install License Manager
- Install Software on Compute Nodes
- Install Software on Local Desktop
- Configure Client Machine
- Validate the Cluster Profile
- Run Parallel Code
How to Run the Same MATLAB Code Through Two Laptops?
44 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kareem Elgindy
am 13 Apr. 2022
Bearbeitet: Kareem Elgindy
am 15 Apr. 2022
I have a large data and my laptop takes probably a week to finish one run of my code. I'm thinking to reduce the amount of time by connecting my laptop with another one and use them both to run the same MATLAB code. Is this even possible?
2 Kommentare
Chunru
am 13 Apr. 2022
Install and Configure MATLAB Parallel Server for Slurm
If you have a cluster with Slurm, follow these instructions to integrate MATLAB® with your scheduler using MATLAB Parallel Server™. If you do not have an existing scheduler in your cluster, see: Install and Configure MATLAB Parallel Server for MATLAB Job Scheduler and Network License Manager.
These instructions guide you through the following tasks:
After you integrate MATLAB with Slurm, you can access workers in your cluster from a desktop MATLAB client session with Parallel Computing Toolbox™. Workers are MATLAB computational engines that typically correspond to a core.
The setup in these steps uses the network license manager.
Akzeptierte Antwort
Walter Roberson
am 14 Apr. 2022
Bearbeitet: Edric Ellis
am 14 Apr. 2022
If your code is designed to use Parallel Computing Toolbox, then you can distribute workers between multiple nodes or hosts. However this requires a MATLAB Parallel Server license. That toolbox is not available to Student licenses, and is moderately expensive for Standard licenses (but might be affordable for Academic licenses.)
If you were using Mac or Linux then you could potentially use ssh from one host to invoke matlab on the remote system, and give it a chunk of work to do.
If you were using Windows, then it just might be be possible to use the MATLAB Engine interface together with COM objects to request remote execution. MathWorks documentation about the execution engine does not list that as a possibility for Windows.
... Execution Engine for Mac and Linux does specifically say that you can request remote execution using that interface.
6 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Third-Party Cluster Configuration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!