How do I set NumWorkers for a cluster profile using Slurm or another third-party scheduler without a GUI?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2024-4-10
编辑: MathWorks Support Team
2024-4-10
How do I set NumWorkers for a cluster profile using Slurm or another third-party scheduler without a GUI?
采纳的回答
MathWorks Support Team
2024-4-10
编辑:MathWorks Support Team
2024-4-10
To set the number of workers in your cluster profile that uses a third-party scheduler such as Slurm, please use these commands below. These commands can be used without a GUI, or just with a command-line interface.
c=parcluster('MyClusterProfileName');
c.NumWorkers = 10;
c.saveProfile;
Make sure you replace "MyClusterProfileName" with your cluster profile's name, or remove this section if the cluster profile in question is your default profile. You may change the number 10 to value of your choice.
Please make sure you are using the latest version of the integrations scripts found from the link below.
Third-party scheduler integration scripts
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Third-Party Cluster Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!