#!/bin/bash norbitals=18 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