$mpirun -np 4 prime-debug
Do you want to test a number?
 0= done 
 1=yes
 1

Please input the number you wish to check
24545732423572453
 I heard 0 from 0.
 I heard 1 from 1.
 I heard 1 from 2.
 I heard 1 from 3.
This is not a prime.
wall clock time = 3.140705

Do you want to test a number?
 0= done 
 1=yes
 0
$ cat iofile0
iofile0
4 is  the numprocs
24545732423572453 is  the number.
156670778 is  the square root.
39167694 is  the range.
39167694 is  the top of my range.
2 is  the divisor

$ cat iofile1
iofile1
4 is  the numprocs
24545732423572453 is  the number.
156670778 is  the square root.
39167694 is  the range.
78335388 is  the top of my range.
39167694 is  the divisor

$ cat iofile2
iofile2
4 is  the numprocs
24545732423572453 is  the number.
156670778 is  the square root.
39167694 is  the range.
117503082 is  the top of my range.
78335388 is  the divisor

$ cat iofile3
iofile3
4 is  the numprocs
24545732423572453 is  the number.
156670778 is  the square root.
39167694 is  the range.
156670778 is  the top of my range.
117503082 is  the divisor