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

From GlueXWiki
Jump to: navigation, search
(gluex_env_jlab.csh)
(table of key variables)
Line 2: Line 2:
  
 
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.
 
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.
 +
 +
{| border
 +
|-
 +
! 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/halld/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==
 
==gluex_env_jlab.csh==

Revision as of 13:58, 1 March 2010

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/halld/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:

  • JANA_HOME
  • HDDS_HOME
  • HALLD_HOME
  • HALLD_MY