Difference between revisions of "HOWTO set up the GlueX environment"

From GlueXWiki
Jump to: navigation, search
(gluex_env.csh)
Line 1: Line 1:
 +
=Getting the scripts=
 +
 +
The scripts mentioned in this HOWTO are available from our Subversion repository:
 +
 +
svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/build_scripts
 +
 
=gluex_env.csh=
 
=gluex_env.csh=
  

Revision as of 08:06, 18 May 2010

Getting the scripts

The scripts mentioned in this HOWTO are available from our Subversion repository:

svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/build_scripts

gluex_env.csh

This is a generic script for defining all of the environment variables necessary to run GlueX software. It provides sensible defaults and respects existing definitions of certain key variables.

Variable Default Value
GLUEX_TOP /usr/local/gluex
BUILD_SCRIPTS $GLUEX_TOP/build_scripts
XERCESCROOT $GLUEX_TOP/xerces-c/prod
ROOTSYS $GLUEX_TOP/root/prod
CERN $GLUEX_TOP/cernlib
CERN_LEVEL 2006
HDDS_HOME $GLUEX_TOP/hdds/prod
HALLD_HOME $GLUEX_TOP/sim-recon/prod
HALLD_MY $HOME/halld_my
JANA_HOME $GLUEX_TOP/jana/prod
JANA_CALIB_URL file://$GLUEX_TOP/calib
JANA_GEOMETRY_URL xmlfile://$HDDS_HOME/main_HDDS.xml

gluex_env_jlab.csh

This is a wrapper around gluex_env.csh that provides defaults specific to the current production versions on the various platforms in common use at JLab. Some variables are still left override-able by the user. They are:

  • HDDS_HOME
  • HALLD_HOME
  • HALLD_MY
  • JANA_HOME