#!/bin/bash norbitals=43 nelectrons=8 xcut=6.0 if [ -f "input" ]; then rm "input" fi echo "$nelectrons $norbitals" > input ../determinants/determinants.x < input rm "input" for i in {1..6} do ./compute_NPE.pl $i $xcut done