Crear un script para ejecutar de forma iterativa el programa bigstick.x y recopilar los resultados
#!/bin/bash
# Limpiar archivos de entrada previos
rm -f ../input/p*
echo "Inicio de la ejecución: $(date)"
for (( idxProton=0; idxProton<=6; idxProton++ ))
do
for (( idxNeutron=$idxProton; idxNeutron<=6; idxNeutron++ ))
do
protonCount=$((idxProton * 2))
neutronCount=$((idxNeutron * 2))
echo & ...
Publicado el 6-8 20:31