End-user Desktop Install: Linux
(GlastRelease, BeamtestRelease, or EngineeringModel)

This section is for downloading and installing GLAST Binary Distribution packages for GlastRelease BeamtestRelease, or EngineeringModel on a Linux machine. These packages include all files necessary to run simulations and reconstructions independent of the public installations.

Notice: The GLAST code has not been released to the public and is for use by members of the LAT Collaboration only!

Assumptions

  • All installation instructions assume that you are using the GUI version of the installer, not the command line version.
  • All environment setup examples assume a .cshrc environment. If working in a .bashrc environment, substitute the export command for setenv in all examples shown.

Notes:

  • If you wish to perform any non-standard analyses or make any changes to code, please refer to: rednavbar --> Installing GLAST S/W: Developer

Prerequisites

  • Java

You need to have Java installed prior to using the installer. If you are a VRVS user you should already have Java installed; if not, you can download Java from
java.com
.

Directory Structure

The installer requires two directory paths to be provided so that it knows where to install the binary distribution packages and the required external libraries.  These paths may point to any read/write-accessible location, but it is probably a good idea to create a special area for the installed products. Doing so will make it easy to "uninstall" a distribution simply by deleting the appropriate directory tree. 

In the following example, the software will be installed in a subdirectory, called "glast", in the user's home directory.  So, one would need to create the subdirectories by entering the following commands at the shell command-line:

mkdir $HOME/glast

mkdir $HOME/glast/packages

mkdir $HOME/glast/extlib

The resulting installation will have the following organization

Directory
Contains
  • $HOME/glast/packages

The source code distribution, libraries, and parameter files.

  • $HOME/glast/extlib

External libraries such as ROOT, Gaudi, etc.

Install GLAST Software and External Libraries

  1. Decide which checkout package you wish to install - GlastRelease or EngineeringModel - and the version of the package.

If necessary, refer to the Release Manager to determine the release status of a version.

  1. If you have not done so, create the directories where you want the software to be installed.

Note: It is recommended that you install the software release in your work directory (e.g., c:\glast\yourWorkDirectory) and the External Libraries in your C:\glast\extlib directory.

  1. Create a GLAST_EXT environment variable that points to the directory you wish to contain the external libraries, e.g., in accord with the directory structure we have defined above, enter:

 setenv GLAST_EXT ${HOME}/glast/extlib

  1. Click on Launch Installer Now! and follow the instructions on the GUI for installing both the release and the external libraries for the release.

If you experience problems, refer to: Glast Software Installer.

Note: If you are a Linux user and prefer using a command line installer instead of a GUI, see Linux Command Line Installer.

  1. When prompted, select: Open with javaws.

Tip: If the Installer fails to open, check that you have javaws (typically located in /usr/java/bin/java).

  1. Once the installer is completed, you will have a number of directories installed in your instDir directory.  One of those directories is called bin.  This directory contains scripts used to run any of the applications available within your new binary distribution. 

For example, if you checked out GlastRelease and wish to run Gleam, you would enter:

     /fullPath/to/GlastInstall/bin/Gleam

where an optional input parameter would be a jobOptions file; otherwise, a default jobOptions file will be used.

Also See:

Related Topics

Note: FRED is an event viewer and is included with the installation of the External Libraries.

 

Last updated by: Chuck Patterson 11/30/2007

 

 

05/22/2008