Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91056695
runtests.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, Nov 7, 10:01
Size
859 B
Mime Type
text/x-shellscript
Expires
Sat, Nov 9, 10:01 (2 d)
Engine
blob
Format
Raw Data
Handle
22152108
Attached To
rLAMMPS lammps
runtests.sh
View Options
#!/bin/sh
if
[
$#
-lt 1
]
then
cat
<<EOF
usage: $0 <LAMMPS binary>
EOF
exit
0
fi
exe
=
"$@"
dirs
=
`
/bin/ls -d bench_*
`
for
d in
$dirs
do
\
pushd
$d
in
=
`
/bin/ls in.* | head -1
`
for
s in 1 2 4 8
do
\
mpirun -np
${
s
}
-x
OMP_NUM_THREADS
=
1
$exe
-log log.0xOpenMP_
${
s
}
xMPI -in
$in
-echo none
done
t
=
1
for
s in 1 2 4 8
do
\
mpirun -np
${
s
}
-x
OMP_NUM_THREADS
=
${
t
}
$exe
-log log.
${
t
}
xOpenMP_
${
s
}
xMPI -in
$in
-echo none -sf omp
done
t
=
2
for
s in 1 2 4
do
\
mpirun -np
${
s
}
-x
OMP_NUM_THREADS
=
${
t
}
$exe
-log log.
${
t
}
xOpenMP_
${
s
}
xMPI -in
$in
-echo none -sf omp
done
t
=
4
for
s in 1 2
do
\
mpirun -np
${
s
}
-x
OMP_NUM_THREADS
=
${
t
}
$exe
-log log.
${
t
}
xOpenMP_
${
s
}
xMPI -in
$in
-echo none -sf omp
done
t
=
8
mpirun -np 1 -x
OMP_NUM_THREADS
=
${
t
}
$exe
-log log.
${
t
}
xOpenMP_1xMPI -in
$in
-echo none -sf omp
popd
done
Event Timeline
Log In to Comment