Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F86665774
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
Mon, Oct 7, 21:42
Size
454 B
Mime Type
text/x-shellscript
Expires
Wed, Oct 9, 21:42 (2 d)
Engine
blob
Format
Raw Data
Handle
21466231
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
s
=
log.0xOpenMP_1xMPI
t
=
`
echo
$s
| sed -e
's/log./ref./'
`
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 > refoutput/
${
t
}
.gz
popd
done
Event Timeline
Log In to Comment