MATLAB Answers

0

How to distribute Matlab tasks to different PC in same network?

Asked by Kyle Wang on 17 Jul 2017
Latest activity Commented on by Kyle Wang on 23 Jul 2017
Background: I have an exe that processes image and write out result as a single txt file. To process, for example 500, images, I use Matlab to write a loop to call this exe 500 times then I got 500 txt files corresponding to each image.
Motivation: I'm feeling it's slow to run such procedure in a single PC to process large amount of images. I'm thinking to put the images in NAS, then connect several PC together and use Matlab to assign tasks to each individual PC to process a portion of the images. At last, all text files (results) will be collected to one PC.
Could anyone suggest what kind of toolbox I need, and any simple tutorial I can follow? Thanks!

  0 Comments

Sign in to comment.

1 Answer

Answer by Nagarjuna Manchineni on 19 Jul 2017
Edited by Nagarjuna Manchineni on 19 Jul 2017

For distributing the MATLAB tasks onto other machines you need MATLAB Distributed Computing server (MDCS). You can create your own clusters using MDCS and delegate the tasks to the scheduler which executes the MATLAB functions and give the output back to you.
Refer to the following page for more information on MDCS:

  1 Comment

Thank you for the reply. I got stuck at configuring cluster. There are several options, but what's the difference:
Configure for an MJS
Configure for HPC Server
Configure for PBS Pro, Platform LSF, TORQUE
Configure for a Generic Scheduler
Configure a Hadoop Cluster

Sign in to comment.