MPI serial main function

后端 未结 2 1646
一整个雨季
一整个雨季 2021-02-07 15:55

This is a pretty basic MPI question, but I can\'t wrap my head around it. I have a main function that calls another function that uses MPI. I want the main function to execute i

2条回答
  •  日久生厌
    2021-02-07 16:37

    Have a look at this answer.

    Short story: MPI_Init and MPI_Finalize do not mark the beginning and end of parallel processing. MPI processes run in parallel in their entirety.

提交回复
热议问题