Why is my MPI program outputting incorrectly

前端 未结 2 665
青春惊慌失措
青春惊慌失措 2020-12-12 07:08

I am a beginner in MPI and I have a homework. I am not asking for you to solve it, I only need a hint on why my program is malfunctioning.

Here is the problem

2条回答
  •  星月不相逢
    2020-12-12 07:29

    For anyone who might be looking for the answer, i managed to find out that you should let one process handle all the printing.

提交回复
热议问题