#!/bin/tcsh -f
set nruns=$1
set suff=1
while ($suff <= $nruns)
mkdir run$suff
cp smd-multi.namd run$suff
cp smd-multi.tcl run$suff
cp write_data_multi.tcl run$suff
cd run$suff
namd2 +p2 smd-multi.namd > a8_smd.log
/usr/bin/tclsh write_data_multi.tcl
cd ..
@ suff = $suff + 1
end
