Linux Installation (Developers): Assumptions & Prerequisites
Note: This section is for downloading and installing GLAST software on a Linux/Unix machine.
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.
Prerequisites
- Basic Prerequisites
Refer to Prerequisites: Basic and be sure that you have met all of the prerequisites
that pertain to your site before proceeding.
- GLAST-supported Compiler
If you have not already done so, you must also install the GLAST-supported compiler
on your machine. (GLAST does not provide this software.)
- Java
You need to have Java installed prior to using the GUI installer. If you are a VRVS user you should already have Java installed; if not, you can download Java from java.com.
Note: If you are a Linux user and prefer using a command line installer instead of a GUI, you do not need to install Java. (See Linux Command Line Installer.)
- Concurrent Versions System (CVS)
Note: The CVS utility should already be installed on your system.
- To verify that it is installed, enter a command such as cvs -v from the command line.
If CVS is not installed on your system, contact your system administrator to have it installed.
- Create the following environment variables so that you have
access to the GLAST cvs respository:
setenv CVS_RSH ssh
setenv CVSROOT :ext:centaurusa.slac.stanford.edu:/nfs/slac/g/glast/ground/cvs
Troubleshooting Tip : If your userid on your local machine is different from your userid for SLAC, you must specify your SLAC userid. For example, if your SLAC userid is mySLACid then, in the second setenv command above:
:ext:centaurusa.slac.stanford.edu
should be replaced with:
:ext:yourAccountName@centaurusa.slac.stanford.edu:/nfs/slac/g/glast/ground/cvs
- To verify that you can access the GLAST CVS server, issue a query.
For example, the start of output for a cvs rlog command on a module
in the GLAST repository:
|
$ |
cvs rlog -t GlastRelease/doc |
|
|
cvs rlog: Logging GlastRelease/doc |
|
|
RCS File: /nfs/slac/g/glast/ground/cvs/GlastRelease/doc/release.notes, v head: 1.7 |
If the command does not produce a reasonable response, make sure that the environment variables are set correctly, and that ssh was set up as specified by the instructions in Basic Prerequisites.
Useful References:
If you are not familiar with CVS, refer to:
Directory Structure
It is often helpful to create a special directory for GLAST work. This new directory, named
"glast" in this example, can then be used to contain subdirectories such as:
Subdirectory |
Contains |
|
The GLASTOffline CVS repository contains source code in packages that can obtained using the installer or from a source tarball. |
|
Tools such as CMT, MRvcmt, Doxygen, etc. |
|
External libraries such as ROOT, Gaudi, etc. |
Last updated by: Chuck Patterson
05/22/2008 |
|
|