2013-08-22 07:40:18 +08:00
|
|
|
#!/bin/bash
|
2013-08-23 07:15:47 +08:00
|
|
|
cd /code/lammps-atc/regress
|
|
|
|
./benchmark.py 4 12 min melt >& latest
|
2013-08-22 07:40:18 +08:00
|
|
|
fail=`grep -c FAIL latest`
|
2013-08-23 07:15:47 +08:00
|
|
|
addrs="rjones@sandia.gov jatempl@sandia.gov jzimmer@sandia.gov sjplimp@sandia.gov pscrozi@sandia.gov akohlmey@gmail.com"
|
2013-08-22 07:40:18 +08:00
|
|
|
if [ $fail == 0 ] ; then
|
|
|
|
mhmail $addrs -subject "LAMMPS regression passes" < latest
|
|
|
|
else
|
|
|
|
mhmail $addrs -subject "LAMMPS regression $fail tests failed" < latest
|
|
|
|
fi
|
|
|
|
|