Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91879652
regression.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 15, 10:10
Size
533 B
Mime Type
text/x-shellscript
Expires
Sun, Nov 17, 10:10 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22254172
Attached To
rLAMMPS lammps
regression.sh
View Options
#!/bin/bash
cd
/code/lammps-atc/regress
./benchmark.py 4 12 min melt >& latest
fail
=
`
grep -c FAIL latest
`
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\""
if
[
$fail
==
0
]
;
then
subject
=
'"LAMMPS regression passed"'
fi
scp latest vikramarka.ca.sandia.gov:.
#echo $subject
#echo "mhmail $addresses -subject $subject < latest"
ssh vikramarka.ca.sandia.gov
"mhmail $addresses -subject $subject < latest"
Event Timeline
Log In to Comment