Serialize mpi threads

后端 未结 3 1122
失恋的感觉
失恋的感觉 2021-01-07 12:58

Is there anyway to serialize a certain part of your MPI code ? For example when printing the information out to the screen. Something like below:

MPI_SERIALI         


        
3条回答
  •  天涯浪人
    2021-01-07 13:14

    Nothing like that can be explicitly specified with MPI. You can, however use MPI_Gather to gather the stuff/values you want in one process and print them in order there.

提交回复
热议问题