#! /bin/csh -f 

#set variable
	set nors = $1
	set fn = $2

#find directory 
	if ( $fn != "" ) then 
		cd $fn  
  	endif

#execution
	if ( -e f05 && -e f25 ) then

		if ( $nors == "n" || $nors == "N" ) then
			time $dvdir/object/ndimchk.exe
		else if ($nors == "s" || $nors == "S" ) then
			time $dvdir/object/sdimchk.exe
		else if ($nors == "w" || $nors == "W" ) then
			time $dvdir/object/wdimchk.exe
		else if ($nors == "u" || $nors == "U" ) then
			time $dvdir/object/udimchk.exe
		else if ($nors == "g" || $nors == "G" ) then
			time $dvdir/object/gdimchk.exe
		else if ($nors == "h" || $nors == "H" ) then
			time $dvdir/object/hdimchk.exe
		else if ($nors == "i" || $nors == "I" ) then
			time $dvdir/object/idimchk.exe
		else if ($nors == "j" || $nors == "J" ) then
			time $dvdir/object/jdimchk.exe
		else 
			echo  "dimchk [n/s/w/u/g/h/i/j] (filename)"
			exit
		endif

		rm f07d
		rm f08d
	else
		echo  " f05 or f25  not exist "
		exit
	endif
