Files
lammps/examples/pace/multi-elem/loop.sh
2022-09-29 10:07:22 -06:00

9 lines
132 B
Bash
Executable File

for (( ; ; ))
do
python test_en.py
# terminate loop if seg fault
if [[ $? -eq 139 ]]; then
break
fi
done