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

4 ビュー (過去 30 日間)
Marjan Mirahmadi
Marjan Mirahmadi 2021 年 3 月 15 日
回答済み: Alvaro 2023 年 1 月 19 日
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 Center および File ExchangeParallel Computing Fundamentals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by