Summing numbers using MPI_BCAST and MPI_Reduce in MPI

前端 未结 0 1865
清酒与你
清酒与你 2021-01-17 15:35

I\'m reading numbers from a txt file called number.txt into an array num[64]. Process 0 is supposed to read the txt file and broadcast num[] to all the processes. I then hav

相关标签:
回答
  • 消灭零回复
提交回复
热议问题