#! /bin/csh -f
##############################################################
#
# Ludi_Genlib
#  Script to run Ludi genfra program at UNIX command prompt
#
#  author: Ann Giammona 
#          Molecular Simulations Inc. 
#  
#  date:   17 July 1998
#
##############################################################
#
#  revision history:
#
#  17 JUL 1998  agiammon   Modified license setup to 
#                          match C2 3.8 model and to 
#                          automate installation.
#
##############################################################

# set path to C2 installation
setenv C2DIR /usr/global/msi/cerius2_4.2MS

# Set some environmental variables
source $C2DIR/install/lic_setup

# Check that the executable genfra exists
if ( -e $C2DIR/exec/genfra ) then

  # Now, run the executable
  $C2DIR/exec/genfra $argv[1-$#argv]

else
  echo 'The genfra executable cannot be located.'
  echo 'There may be a problem with your Cerius2 installation.'
endif
