Cluster profile for deployed apps
이전 댓글 표시
I have an app (standalone app compiled using MATLAB Compiler) running on machines where MATLAB is not installed. The app uses Parallel Computing Toolbox. Hence, how do I create a "Cluster Profile" programmatically? Are there other ways to do this? Thanks.
답변 (2개)
Hitesh Kumar Dasika
2019년 2월 21일
0 개 추천
Hi Adam
You can make use of the cluster object properties and set them similar to how they will be set using Cluster Profile Manager. Please find the attached documentation links that talk about the same.
You can also access specific cluster profiles with the help of following functions.
Adam Gogacz
2019년 2월 21일
편집: Adam Gogacz
2019년 2월 21일
0 개 추천
댓글 수: 3
Hitesh Kumar Dasika
2019년 2월 21일
Hi Adam
You can do the modifications to cluster object by using the cluster properties as well. You can set the properties as part of the code by using the cluster object itself. Below is a small example of what I meant.
>> c = parcluster('local')
>>c.NumThreads = 10
>>c.NumWorkers = 10
Adam Gogacz
2019년 2월 21일
Lucas Ivan
2025년 7월 8일
Hello,
Jumping up as I have the same problem. I am trying to run a compiled code into an HPC infrastrucutre that doesn't have MATLAB installed in it. The problem is that, apparently, parpool() requires some files that are not available when using MCR in the HPC, but where available with a full MATLAB software used for the compilation.
Is there any workaround on this?
카테고리
도움말 센터 및 File Exchange에서 Job and Task Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!