Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F88082229
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
Wed, Oct 16, 16:48
Size
454 B
Mime Type
text/x-shellscript
Expires
Fri, Oct 18, 16:48 (2 d)
Engine
blob
Format
Raw Data
Handle
21638952
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