#! /bin/csh -f 

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

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

#execution
	if ( -e f09 && -e f39 ) then

		if ( $nors == "n" || $nors == "N" ) then
			time $dvdir/object/npopanls.exe
		else if ($nors == "s" || $nors == "S" ) then
			time $dvdir/object/spopanls.exe
		else if ($nors == "w" || $nors == "W" ) then
			time $dvdir/object/wpopanls.exe
		else if ($nors == "u" || $nors == "U" ) then
			time $dvdir/object/upopanls.exe
		else if ($nors == "g" || $nors == "G" ) then
			time $dvdir/object/gpopanls.exe
		else if ($nors == "h" || $nors == "H" ) then
			time $dvdir/object/hpopanls.exe
		else if ($nors == "i" || $nors == "I" ) then
			time $dvdir/object/ipopanls.exe
		else if ($nors == "j" || $nors == "J" ) then
			time $dvdir/object/jpopanls.exe
		else 
			echo  "popanls [n/s/w/u/g/h/i/j] (filename)"
			exit
		endif

	else
		echo  " f09 or f39  not exist "
		exit
	endif
