3 # Exclude examples 7 and 11 as they use random number generator not compatible across platforms
4 # Exclude example 12 as small differences in phi across gcc5.4 vs gcc7.2
6 for i in 1 2 3 4 5 6 8 9 10 13;
8 echo Computing the diff for example b"$i".
10 if [ `diff -b -B -I '[0-9*.0-9*].*second.*' -I "time for" -I "A PICTURE RECONSTRUCTION" -I "snark14Experimenter" b"$i"r.out b"$i".out | wc -l` == 0 ]
12 echo "No differences found."
14 echo "Some differences were found, you can examine them below."
16 diff -b -B -I '[0-9*.0-9*].*second.*' -I "time for" -I "A PICTURE RECONSTRUCTION" -I "snark14Experimenter" b"$i"r.out b"$i".out | more