Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67235385
updateref.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, Jun 21, 01:50
Size
496 B
Mime Type
text/x-shellscript
Expires
Sun, Jun 23, 01:50 (2 d)
Engine
blob
Format
Raw Data
Handle
18347471
Attached To
rLAMMPS lammps
updateref.sh
View Options
#!/bin/sh
if [ $# == 0 ]
then
dirs=`/bin/ls -d bench_*`
else
dirs="$@"
fi
for d in $dirs
do \
pushd $d
for s in log.*-serial
do \
t=`echo $s | sed -e 's/log./ref./' -e 's,-serial,,'`
if [ ! -f $s ]
then
popd
continue
fi
egrep -v '(LAMMPS|OpenMP|MPI|serial|Memory|Loop|Perform|FFT)' $s \
| sed -e 's/-0\.0000000000/0.0000000000 /g' \
-e '/^Section.*/,$d' -e '/^.*Pair time.*/,$d' \
| gzip -9 > ${t}.gz
done
popd
done
Event Timeline
Log In to Comment