Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67716213
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
Sun, Jun 23, 23:16
Size
496 B
Mime Type
text/x-shellscript
Expires
Tue, Jun 25, 23:16 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18457101
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