2 # Script to run the program unres (serial version).
5 echo "USAGE: unres_clust.csh INPUT INTIN [OUTPUT]"
9 set BIN = /users/kdm/adaml/UNRES/bin
18 # Check for the existence of the input file
20 if (!(-e $1.inp)) then
21 echo "Error: The input file $1.inp does not exist."
25 if (!(-e $2.int)) then
26 echo "Error: The input internal coordinate file $2.int does not exist."
30 time ${BIN}/unres_clustMD
33 foreach zbior (`/bin/ls ${INTIN}.* ${OUTPUT}.* `)
35 if (-z $zbior) /bin/rm $zbior