필터 지우기
필터 지우기

How do I set NumWorkers for a cluster profile using Slurm or another third-party scheduler without a GUI?

조회 수: 4 (최근 30일)
How do I set NumWorkers for a cluster profile using Slurm or another third-party scheduler without a GUI?

채택된 답변

MathWorks Support Team
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개)

카테고리

Help CenterFile Exchange에서 Cluster Configuration에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by