Run Matlab parallel on multi-nodes of a remote cluster with SGE scheduler

5 次查看(过去 30 天)
Hi,
I am using a local cluster and at the moment I am able to run matlab parallel codes on a single node (using parpool). However, the calculations are heavy and running them on a single node made lots of problem for other users. I want to distribute my workers over several nodes. The problem is we can not use the Matlab job scheduler and should use SGE (Sun Grid Engine) for scheduling jobs. I already defined a generic cluster and validated it. I used the instruction in this link and tried to run the Matlab code by qsub test.sh. But I got this error:
Error in communicatingsge (line 21)
submit(pjob);
Caused by:
Error using communicatingSubmitFcn (line 112)
Submit failed with the following message:
Unable to run job: denied: host "compute-0-0.local" is not a submit host
Exiting.
Could anyone help me please to solve this? unfortunatelly the support team are not familiar with Matlab and can not help me. I would appriciate if there are other suggestions regarding how to do this. If this is helpful I should say that the cluster has both MPI and OpenMP.
Thank you!

回答(1 个)

Alvaro
Alvaro 2023-1-19
I cannot access the link you gave but this might work:
In particular, look at the linked plugin and the comments in that answer.

类别

Help CenterFile Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by