When I launch the program with the mpirun command, prinf is triggered as many times as I have set the processes and it turns out such an unpleasant output. How to make sure that when launching MPI of the printf program it worked only once? 
- Print to console and read from console only in process with index 0. - Igor
- Save big, helped out. - Ivan
|