Does buildtool offer parallel task execution
이전 댓글 표시
Very little information is available on the new buildtool and buildplan features in R2022B. I cannot install R2022B at this time but would like to know if is is able to run independent tasks in parallel on a multicore processor. If so, does that require the Parallel Computing Toolbox?
댓글 수: 4
Praharshita
2022년 10월 17일
The Parallel Computing Toolbox is required to run independent tasks in parallel on a multicore processor.
Refer to the following link for more information regarding this query.
Walter Roberson
2022년 10월 17일
That does not reply to the question of whether you can be compiling multiple files simultaneously.
Benjamin Thompson
2022년 10월 17일
Erik Voigt
2023년 5월 9일
I am also very interested in this. When reading the doc it does not look like it can spawn of tasks to individual workers....guess its in the making (I hope).
FYI we have made our own buildtool years ago, including parallelling. When the Mathworks buildtool can do all we need we likely will migrate to that instead.
답변 (1개)
Tushar Sharma
2024년 10월 28일
0 개 추천
Hi Benjamin,
Yes, beginning with MATLAB release R2024a, the buildtool can execute builds in parallel, provided you have the Parallel Computing Toolbox.
Currently, this option affects only how matlab.buildtool.tasks.TestTask instances run. If you specify the -parallel option, the build runs the tests associated with TestTask instances in parallel.
카테고리
도움말 센터 및 File Exchange에서 Build Automation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!