To set up your environment to use VEGAS, use the module command:
module load vegas
See How to use the module command for further information.
To run VEGAS interactively on the cluster please request an interactive node with qrsh (see: How to Get and Interactive Session through UGE for further information), load VEGAS into your environment, and invoke VEGAS at the command line as needed.
To run VEGAS in batch on the cluster prepare a script to submit to the queue with the sequence of VEGAS commands needed (see: Running a Batch Job for further information). The script will need to contain setting up of the environment to use VEGAS (see How to use the module command for further information).