Lee White

My Personal and Professional Life

Matlab Distributed Computing Server MDCS cluster setup on Windows 7 Tips

MDCS admincenter up and running.

MDCS AdminCenter up and running.

I had a hard time getting my MDCS cluster up and running and have a few tips for others. I followed this guide but still had issues:


So here goes (starting from a fresh Windows OS installation):

1) Install Windows and MDCS on a number of computers. Use the same username/password for each.

2) Configure Windows Firewall on all PC’s

2.2) Control Panel > System > Windows Firewall > Incoming > New Rule > Open Ports 27350-29350 (probably don’t need that many, follow: http://www.mathworks.com/support/solutions/en/data/1-39LCCA/index.html?solution=1-39LCCA )

2.2) navigate to matlabroot/toolbox/distcomp/bin/ right click addMatlabToWindowsFirewall.bat and select ‘run as administrator’

3) Start the MDCE service on the PC’s that will be worker hosts/nodes (not the head node)

3.1) open an elevated command prompt (start menu > type cmd > right click cmd.exe and select ‘run as administrator’

3.2) navigate to matlabroot/toolbox/distcomp/bin/ (Hint: ‘cd matlabroot/toolbox/distcomp/bin/’ then enter)

3.3) Type ‘mdce install’ enter

3.4) Type ‘mdce start’ enter (again, only on worker nodes)

4) on the PC you will use as your head node start the admin center

4.1) navigate to matlabroot/toolbox/distcomp/bin/ right click admincenter.bat and select ‘run as administrator’

4.2) add the head node and worker nodes. As described in the above instructions you can use the host name (aka computer name) or the fully qualified host name (eg. mycomputer.myschool.edu) or the IP addresses. You get into a bunch of network nastiness at this step but try a few combinations. I ended up using myIPaddress.myschool.edu but still had host resolution warnings after the connectivity test.

4.3) When you are adding hosts don’t select the option to have the admin center start mdce services on the workers (you already started them).

5) follow the rest of the MDCS directions to start the job manager and workers.

If you run into trouble try restarting the mdce service on offending nodes using ‘mdce stop’ then ‘mdce start’ or ‘mdce uninstall -clean’ then ‘mdce install’ ‘mdce start’ and maybe restarting the PC. FWIW I didn’t need to futz with Windows User Account Control (UAC) with this method. But maybe that’s part of why I was never able to get admincenter.bat to launch mdce on remote machines (local mdce launching for the head node worked). I also had no luck with remotemdce command line launching because it doesn’t offer a communication protocol Windows is compatible with out of the box.

Matlab Distributed Computing Server MDCS cluster setup on Windows 7 Tips | 2013 | Useful Knowledge | Comments (5)

5 comments en “Matlab Distributed Computing Server MDCS cluster setup on Windows 7 Tips”

  1. www.Willysoverland.com says:


    Lee White…

  2. mulberry york Height x 6 says:

    christian louboutin shoes…

    Height x 6,mulberry york Are small mulberry york er bags that are meant to be worn christian louboutin bridal shoes for a special occasion. The girls just love this doll and it is certainly one of the best rated dolls for Christmas 2011,christian loubo…

  3. michael michael kors handbags Purchase at any time says:

    michael kors crossbody bags…

    Purchase at any michael michael kors handbags time Enjoy your cheap beats by dre solo cycling adventure, Only the best craftsmen in the world could make a bag like that, And that is why these bags stand out as being very in trend and design at LED. S m…

  4. cheap beats by dre headphones But it is certain says:

    michael kors shoes outlet…

    But it is certain You will find a Burberry handbag to complem cheap beats by dre headphones ent any outfit not matter or event that you have to. cheap beats by dre solo They specialty stores worldwide,cheap beats by dre headphones. A person wearing a v…

  5. michael kors flip flops Same costs about RS27 says:

    michael kors handbags…

    Same costs about RS27 Gucci continues to increase and rose up and other head michael kors flip flops downwads the dra michael kors bags in. For example,michael kors flip flops, You can easily find a shoulder bag leather handbag leather, Leather bag, Le…

Leave a comment