Distributed and parallel computing without DCS

5 Ansichten (letzte 30 Tage)
Chuck am 9 Sep. 2011
Bearbeitet: Walter Roberson am 29 Mai 2015
Is there a way to perform distributed computing across multiple computers without licensing Distributed Computing Server (DCS)? It is implied that Sun Grid Engine may be used without DCS, but my attempts to integrate torque+maui produce licensing errors. Which schedulers/resource managers are possible without the quite expensive (relative term, of course) DCS?
  1 Kommentar
Chuck am 26 Okt. 2011
Has no one integrated Sun Grid Engine and MATLAB? Can anyone help with this?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Daniel Shub
Daniel Shub am 26 Okt. 2011
If you have the MATLAB compiler you can compile your code and then run it with the Sun Grid Engine without MATLAB or the DCS toolbox.
  4 Kommentare
Daniel Shub
Daniel Shub am 23 Nov. 2011
You need to provide a lot more details to get a useful answer. The comments of an answer is probably not the best place to ask this question. You should ask a new question (it might be converting my MATLAB code to Java/C, or making an executable from MATLAB code, or modifying MATLAB code so that it will work in a distributed environment, or deploying a set of executables on a Datasynapse grid). The last not really being a MATLAB question.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (4)

Thomas am 26 Okt. 2011
Bearbeitet: Walter Roberson am 29 Mai 2015
Hi Chuck,
In order to perform distributed computing across multiple computers you need the DCS license. We have DCS running with the Sun Grid Engine on our Cheaha cluster at UAB. The implication that SGE may be used with out the DCS is not correct. What I think was implied was that - You can use the SGE scheduler instead of the scheduler provided by the MATHWORKS (MATHWORKS job manager) along with the DCS.
Grid Engine Family:
Grid Engine
Sun N1 Grid Engine
Sample integration scripts are available with the
MATLAB Distributed Computing Server installation.
In short- you cannot use the distributed computing without the DCS.
You can use the parallel computing toolbox on your local multicore machine to use upto 12 workers to run in parallel with R2011b.
If you need help integrating DCS with SGE there are sample scripts available or you can contact MATHWORKS support.

Jason Ross
Jason Ross am 26 Okt. 2011
To add a little additional information: If you want to use Torque/PBS, you can do so with the direct integration from the Parallel menu, or using scripts similar to the ones for SGE if your environment won't allow the use of the direct integration.
Thomas and Anthony have already covered the licensing issues fairly thoroughly.
  1 Kommentar
Ah So
Ah So am 23 Nov. 2011
Hi Jason, per your above additional info, does it means it is technically possible to use the the Parallel menu of PCT to directly integrate with some scheduler such as SGE or grid technology without DCS? If so, is there any document / URL could provide very details. Many thx for sharing the info

Melden Sie sich an, um zu kommentieren.

Konrad Malkowski
Konrad Malkowski am 29 Okt. 2011
Starting with MATLAB R2010b MATLAB Compiler allows you to compile MATLAB code containing PARFOR and SPMD running on local scheduler.
The same limitations as with PCT local scheduler apply to compiled MATLAB applications.
  1 Kommentar
Martijn am 29 Mai 2015
This is not correct. The feature was added in release R2011a. See the MATLAB Compiler release notes:

Melden Sie sich an, um zu kommentieren.

Chuck am 27 Okt. 2011
Thanks for this information. We do have the compiler licensed, so that may be a good solution for us.


Find more on Cluster Configuration 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!

Translated by