Basic questions on MDCS

11 views (last 30 days)
Viswanath Hariharan
Viswanath Hariharan on 6 Dec 2017
Edited: Greg on 7 Dec 2017
I have a few basic questions about MDCS. I did read the documentation but it didn't answer my doubts.
1. What is the purpose of MDCS? The description for MDCS says "The server provides access to multiple workers (MATLAB computational engines that run independently of client sessions) that receive and execute MATLAB code and Simulink models. Multiple users can run their applications on the server simultaneously." But other than the multiple users part, can't the PCT also use multiple workers to perform jobs?
2. That comes to my next question, What is the difference between using just PCT on a bunch of workers and using PCT with MDCS installed on the workers?
3. Does MDCS have any specific commands or commands such as parfor, parfeval and spmd is enough to make use of the capabilities MDCS provides?

Answers (1)

Greg
Greg on 7 Dec 2017
Edited: Greg on 7 Dec 2017
PCT = Single system (rarely do you get more than 2 CPUs in a system, so roughly 40-60 cores or workers max). Actually, I recall hearing something about a hard-limit to number of workers in PCT - forget what it is.
EDIT: According to this answer, after R2013b, there is no software limit for PCT, only your physical core count.
MDCS = Cluster. You pay for a certain number of workers, and you can then use that many on any number of systems. Theoretical max of infinite workers, but more like 1024-4096. MDCS requires PCT.
I believe MDCS uses all the same commands as PCT (MDCS does not come with its own), but certain commands are more PCT friendly and others are more MDCS friendly.

Categories

Find more on MATLAB Parallel Server 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!