time mpirun -np 4 a.out
100 3.12876... .004 . . . 100000 3.14155... .000013In order to graph this data, start gnuplot and type:
plot 'data.txt' using 1:3 with linesThis plots the data in the file data.txt using the 1st and 3rd columns of data.
2 .05 . . . 16 .001In order to graph this data, start gnuplot and type:
plot 'data.txt' using 1:2 with linesThis plots the data in the file data.txt using the 1st and 2nd columns of data.