フィルターのクリア

MATLAB cluster on AWS-EC2 - validation fails

2 ビュー (過去 30 日間)
Kiran R
Kiran R 2022 年 8 月 10 日
コメント済み: Kiran R 2022 年 8 月 13 日
I was trying to setup a cluster in Amazon Web Service using MATLAB parallel server. AWS side is done and when I configure cluster on my local machine MATLAB, the validation fails. Following is the screen shot of the case. I set the p3.2xlarge instance on AWS with 8 vCPU cores, single 16 GB nvidia V100 GPU
" Error Report: Job errored or did not reach the state 'finished'.
Job was cancelled because the cluster does not have enough workers to meet the minimum
of the job's NumWorkersRange property: 1."
  1 件のコメント
Alison Eele
Alison Eele 2022 年 8 月 12 日
What the validation is trying to tell you is that the whilst the Job Scheduler is available and accessible in the cloud there doesn't seem to be any workers started. You could confirm how many workers the job scheduler thinks it has by running:
c = parcluster("kr p3 2xlarge");
c.NumWorkers
If you're using the reference architecture I linked earlier then as part of deployment you needed to state how many worker instances and number of workers per instance, is it possible you turned down the auto scaling group to 0?
If you are deploying this yourself entirely manually did you run the 'startworker' command as part of your mjs setup?
Our Installation Support team are likely best placed to help you fix this: https://www.mathworks.com/support/contact_us.html

サインインしてコメントする。

採用された回答

Kiran R
Kiran R 2022 年 8 月 12 日
Thank You Alison Eele
I understand that AWS by default has set number of workers to zero for the P3 instance. I have put up a request to increase this to 8. Let me see if it works, once the workers are increased.
When I tried C5 instance, the validation was successful.
Thanks once again for pointing out this.
  2 件のコメント
Alison Eele
Alison Eele 2022 年 8 月 12 日
Ah I see, your worker instances weren't provisioned due to the default usage limits AWS applies. Glad you're on track to figuring out a solution
Kiran R
Kiran R 2022 年 8 月 13 日
Yes Eele,
Its now validated successfully. Thanks for pointing this.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by