MATLAB cluster on AWS-EC2 - validation fails
3 views (last 30 days)
Show older comments
Kiran R on 10 Aug 2022
Commented: Kiran R on 13 Aug 2022
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."
Alison Eele on 12 Aug 2022
It looks like you're using something like https://github.com/mathworks-ref-arch/matlab-parallel-server-on-aws ?
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");
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 on 12 Aug 2022
More Answers (0)
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!