#!/usr/local/bin/tcsh -f
#  distjob: distributed jobs over many pentium machines
#
#   pwd is n.g
echo "enter first or add depending on the run is first or adding data"
set add=$< 
if(x$add == "x")  then
	echo "add= " $add " invalid"
	exit 1	
else if ($add == "first") then
else if ($add == "add") then
else
	echo "add= " $add " invalid"
	exit 1
endif	
echo "enter directory name to store data"
set dir=$<
echo $dir is the Data directory
if( ! -d $dir) then
	echo it not exist
	exit 1
endif

set xx=`echo $cwd`
f                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             