Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F80110255
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
Thu, Aug 29, 22:45
Size
454 B
Mime Type
text/x-shellscript
Expires
Sat, Aug 31, 22:45 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19697770
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