Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91133252
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 8, 06:12
Size
533 B
Mime Type
text/x-shellscript
Expires
Sun, Nov 10, 06:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22075582
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