for i in  1 2 3 4 \
          5 6 7 8
do
  echo ""
  echo ""
  echo "======================================================================"
  echo $i
  echo "======================================================================"
  echo ""
  echo ""

  sed -i "s/^ ....... Distributed alg./ $i      Distributed alg./" config.in

  echo "----------"
  cat config.in
  echo "----------"
  echo ""
  echo ""

  mpirun --hostfile hostfile -np 4 ./test_crc.x ../mat_perf/mat014_150x50x28.in
  echo ""
  echo ""

  ./limpiaOuts
  echo ""
  echo ""

  ./check_smallset_a
  echo ""
  echo ""

  ./check_smallset_a2
  echo ""
  echo ""

done
