Runing MATLAB on HPC and connection Status
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rahul Shinde
am 26 Mai 2020
Kommentiert: Rahul Shinde
am 27 Mai 2020
How I can get HPC connection status whether HPC is already connected to my system using Matlab commands?I don't want to see the Cluster profile ,just want to know the status of HPC with my system matlab.It happens that HPC is already connected but as I am not able to see connection status thus It ends with revalidation
0 Kommentare
Akzeptierte Antwort
Jason Ross
am 26 Mai 2020
I believe you are asking if you already have a pool open? See the "Determine Size of Current Pool" section of the parpool documentation.
If you are looking for the number of busy workers on a cluster or something like that, you can get that information from parcluster.
3 Kommentare
Jason Ross
am 26 Mai 2020
Bearbeitet: Jason Ross
am 26 Mai 2020
- You don't need to validate the cluster profile to connect to the HPC cluster. Validation is a tool to see if the cluster integration is configured properly. It runs a collection of trivial task in the various modes to ensure things work. As long as you validate once successfully you don't need to do it every time (unless if you change something in the profile, the cluster changes, etc)
- You can open a pool with parpool (see the documentation links I provided above). You can do this directly from the command line. The default is to open a pool using whatever cluster profile is set at the default -- but there are options to do other things. See also the example in the link that will tell you how many workers you have - 0 means no active pool, some number more than that means you have a pool of that size.
- You can use parcluster (see doc link above) to make a connection to the cluster to check its status, running jobs, etc.
- You can use commands like batch to submit a job to your cluster and then return to get the results later. You can also use commands like findJob to find jobs and check their state.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!