/usr/share/sofa/examples/Benchmark/Performance/run-Bar16.sh is in sofa-data 1.0~beta4-11.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash
for d in Vec3f CudaVec3f;
do
let i=1; while [ $i -le 52 ];
do
export s=$i
echo $d - $i - fem
sofaCUDA Bar16-fem-implicit-$d.pscn 1000
mv -f Bar16-fem-implicit-$d.-log.txt Bar16-$i-fem-implicit-$d-log.txt
echo $d - $i - spring
sofaCUDA Bar16-spring-rk4-$d.pscn 1000
mv -f Bar16-spring-rk4-$d.-log.txt Bar16-$i-spring-rk4-$d-log.txt
if [ $i -lt 8 ]; then
let i+=1
else
let i+=4
fi
done
done
|