tag=dbg: debug, unoptimized (but unavailable for most releases)
tag=opt: optimized (-O2)
/afs/usatlas/software/dist were not installed from kit, and you can find more documentations about them and setup at "old AFS releases".
SVNROOT=file:///usatlas/projects/svn. Follow this link for details.
/usatlas/OSG/atlas_app/atlas_rel (and symbolic link /opt/usatlas/kit_rel/OSG_rel).
/afs/usatlas/software/downloads/releases (and a shorter symbolic link /opt/usatlas/kit_rel).
/afs/usatlas/software/downloads/nightlies (bugfix and dev branches) also with shorter sym-links /opt/usatlas/kit_rel/bugfix and /opt/usatlas/kit_rel/dev.
requirements coming with the kit, the other using user's private requirements. Please refer to here for setup instruction of old releases (≤11.2.0).
requirements file to setup the environment: requirements files in $HOME/cmthome directory with the following basic content:
#---------------------------------------------------------------------
set CMTSITE STANDALONE
macro PROJ_BASE_RELEASE "latest"
macro PROJ_SUBDIR "$(PROJ_BASE_RELEASE)" \
bugfix "bugfix/$(PROJ_BASE_RELEASE)" \
dev "dev/$(PROJ_BASE_RELEASE)"
set SITEROOT /opt/usatlas/kit_rel/${PROJ_SUBDIR}
macro ATLAS_DIST_AREA ${SITEROOT}
macro ATLAS_TEST_AREA ${HOME}/testarea/${PROJ_BASE_RELEASE}
# macro ATLAS_GROUP_AREA "/afs/usatlas/project/analysis/EventViewGroupArea/Numbered/13.0.40.1
# apply_tag groupArea
apply_tag oneTest
# apply_tag setupCMT
apply_tag setup
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
set CMTCONFIG i686-slc4-gcc34-opt
set SVNROOT svn+ssh://svn.cern.ch/reps/atlasoff
#---------------------------------------------------------------------
set PATHENA_GRID_SETUP_SH /afs/usatlas.bnl.gov/osg/client/@sys/current/setup.sh source /opt/usatlas/bin/panda_setup.[c]sh
cd $HOME/cmthome
source /afs/usatlas/cernsw/contrib/CMT/v1r20p20090520/mgr/setup.[c]sh
cmt config
requirements file. Then for each release or a new terminal you execute the following (12.0.6, 14.5.0 and bugfix nightly rel_1 for examples): cd ~/testarea/12.0.6 cd ~/testarea/14.5.0 cd ~/testarea/rel_1 for bugfix nightly rel_1.
source ~/cmthome/setup.[c]sh -tag=12.0.6,gcc323,slc4 source ~/cmthome/setup.[c]sh -tag=14.5.0 source ~/cmthome/setup.[c]sh -tag=bugfix,rel_1 for bugfix nightly rel_1.
"cmt co" to check them out, and/or compile them.
requirements file, you can use the requirements file coming with the kit as the following setup:
source /path_to_kit/cmtsite/setup.sh [or .csh] -tag=release_number[,projectName]
export CMTPATH=${working_directory}:${CMTPATH} for zsh/bash/ksh; setenv CMTPATH ${working_directory}:${CMTPATH} for tcsh export CMTPATH=${ATLAS_GROUP_AREA}:${CMTPATH} for zsh/bash/ksh; setenv CMTPATH ${ATLAS_GROUP_AREA}:${CMTPATH} for tcsh
source /path_to_kit/AtlasProduction/release_number/AtlasProductionRunTime/cmt/setup.sh [or .csh]
projectName is optional and it default project is AtlasOffline. The last command sets full run-time environment. The middle one is needed if you like to add your own package on top of the release. For release 14.5.0, path_to_kit is /afs/usatlas/software/downloads/releases/14.5.0 or /opt/usatlas/kit_rel/14.5.0.
If no additional package is required, the above setup can be simpler. That is, you can skip the middle step and combine the other two commands:
source /path_to_kit/cmtsite/setup.sh [or .csh] -tag=release_number,setup[,projectName]
projectName must be specified as AtlasProduction for production patched releases, export PATHENA_GRID_SETUP_SH=/afs/usatlas/lcg/current/etc/profile.d/grid_env.sh source /opt/usatlas/bin/panda_setup.[c]sh /usatlas/OSG/atlas_app/atlas_rel (that is on NFS) by OSG group
svn+ssh://svn.cern.ch/reps/atlasoff. Otherwise, you need explicitly specify your CERN account name in SVNROOT in the format of svn+ssh://YourCERNName@svn.cern.ch/reps/atlasoff. There is another option to omit your CERN account name in SVNROOT, i.e., just to add the following lines in $HOME/.ssh/config:
Host svn.cern.ch GSSAPIAuthentication yes GSSAPIDelegateCredentials yes # GSSAPITrustDNS yes Protocol 2 ForwardX11 no User YourCERNName
file:///usatlas/projects/svn, or use command bnl_cmt instead cmt.
Please be aware that the SVN repository at BNL is just a mirror of ATLAS SVN repository, and this mirror is available for checkouts only. The import and commit operations should be performed with CERN ATLAS SVN repository. Please visit here for details.
export DBRELEASE_OVERRIDE=${DBRELEASE_VERSION}
before setting up runtime environment.
There are more DBRelease versions installed at /afs/usatlas/software/downloads/DB/DBRelease, to use them, you need set both env variables DBRELEASE_OVERRIDE and export ATLAS_DB_AREA=/afs/usatlas/software/downloads/DB before runtime environment setup.
In case you are interested in overriding geomDB or sqlite200, part of DBRelease, you can simply create a sym-link to them under your run directory.
/usatlas/workarea/atlas/PFC/catalogue/poolcond with condition files residing in dcache. You can make your athena job to use this poolcond by creating a sym-link to this path under your working directory (or ${ATLAS_TEST_AREA}) by:
ln -s /usatlas/workarea/atlas/PFC/catalogue/poolcond ${working_directory}/InstallArea/share/poolcond
Or you can add path /usatlas/workarea/atlas/PFC/catalogue directly into ${DATAPATH} before running your jobs.
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.