필터 지우기
필터 지우기

Compiled MATLAB with TORQUE

조회 수: 5 (최근 30일)
Danny
Danny 2013년 1월 3일
I need to process a lot of data in parallel, and then plot the result of that processing. I have access to a cluster (~100 cores), and currently run the parallel data processing using compiled matlab code (mcc -mv), and then using qsub. What would be optimal, however, is to be able to call qsub from within a matlab script, have it submit the jobs to the cluster, wait until they are all completed, and then continue plotting, processing, in serial, in matlab. Is such a thing possible? If so, any help would be great.
Thanks!

채택된 답변

Jason Ross
Jason Ross 2013년 1월 3일
If you have Parallel Computing Toolbox and MATLAB Distributed Computing Engine installed/configured on the cluster, you can set up a direct integration using the Parallel menu (this assumes a number of things -- you have qsub on the path, and a common file system). If you don't have those things, there are examples in matlabroot/toolbox/distcomp/examples that detail how to set up the integration between MATLAB and your cluster for a variety of scenarios.
Once the integration is set up, you can submit the jobs to the cluster using various commands and techniques (batch, job/task, spmd, parfor) from within MATLAB that are detailed in the Parallel Computing Toolbox documentation.
  댓글 수: 1
Danny
Danny 2013년 7월 8일
My school does not provide neither the parallel computing tool box or the distributed computing toolbox to clusters. Thank you for the help, though.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Muthu Annamalai
Muthu Annamalai 2013년 7월 8일
You may alternatively consider writing a "monitor" thread or app using the MATLAB timer() functionality.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by