- https://www.mathworks.com/help/parallel-computing/spmdsend.html
- https://www.mathworks.com/help/parallel-computing/spmdreceive.html
- https://www.mathworks.com/help/parallel-computing/spmdsendreceive.html
Usage of spmd in matlab
8 ビュー (過去 30 日間)
古いコメントを表示
Can the spmd parallel structure in MATLAB be used to simulate multiple independent computing nodes that can communicate with each other? That is to simulate each process as a computer.
0 件のコメント
採用された回答
Anagha Mittal
2024 年 9 月 26 日
移動済み: Edric Ellis
2024 年 9 月 27 日
Yes, the "spmd" parallel structure in MATLAB can be used to simulate multiple independent computing nodes that can communicate with each other. To do so, you may treat each worker or separate MATLAB process as a simulated computing node, and these nodes can exchange data using "spmdSend" and "spmdReceive" functions.
Refer to the following section of "spmd" documentation for more information and an example:
Also, refer to following documentations for better understanding:
Hope this helps!
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!