2013-08-22 07:40:18 +08:00
|
|
|
#!/bin/bash
|
2013-08-23 07:15:47 +08:00
|
|
|
cd /code/lammps-atc/regress
|
2013-08-24 04:33:35 +08:00
|
|
|
./benchmark.py 4 12 min melt >& latest
|
2013-08-22 07:40:18 +08:00
|
|
|
fail=`grep -c FAIL latest`
|
2013-08-24 04:32:28 +08:00
|
|
|
addresses="rjones@sandia.gov jatempl@sandia.gov jzimmer@sandia.gov sjplimp@sandia.gov pscrozi@sandia.gov akohlmey@gmail.com"
|
|
|
|
subject="\"LAMMPS regression $fail tests failed\""
|
2013-08-22 07:40:18 +08:00
|
|
|
if [ $fail == 0 ] ; then
|
2013-08-24 04:32:28 +08:00
|
|
|
subject='"LAMMPS regression passed"'
|
2013-08-22 07:40:18 +08:00
|
|
|
fi
|
2013-08-24 04:32:28 +08:00
|
|
|
scp latest vikramarka.ca.sandia.gov:.
|
|
|
|
#echo $subject
|
|
|
|
#echo "mhmail $addresses -subject $subject < latest"
|
|
|
|
ssh vikramarka.ca.sandia.gov "mhmail $addresses -subject $subject < latest"
|
2013-08-22 07:40:18 +08:00
|
|
|
|