:

   cd results 

   if(test -r LOCK) then
           xterm  -title "Error massage"  -e sh -c \
 " echo   This program was already launched and not normaly finished.
   echo remove the \'results/LOCK\' file to start the numerical session anyway
   echo Press the Enter key to continue
   read qq
 "
     exit 1
   fi

   echo n_comphep is started in this directory > LOCK

   if(test -x ../make__n_calchep) then 
      xterm -e  ../make__n_calchep 
   else 
      xterm -e  $CALCHEP/make__n_calchep 
   fi 
   if(test -x n_calchep) then

      ./n_calchep
   fi  
   rm LOCK
