tag=dbg: debug, unoptimized
tag=opt: optimized (-O2)
/usatlas/OSG/atlas_app/atlas_rel (and also in /opt/usatlas/kit_rel/OSG_rel -- note that these are separate installations).
/afs/usatlas/software/downloads/releases (and a shorter symbolic link /opt/usatlas/kit_rel).
/afs/usatlas/software/downloads/nightlies (bugfix and development branches).
requirements coming with the kit, the other using user's private requirements which does not work for 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" \
rel_0 "rel_0" \
rel_1 "rel_1" \
rel_2 "rel_2" \
rel_3 "rel_3" \
rel_4 "rel_4" \
rel_5 "rel_5" \
rel_6 "rel_6"
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
apply_tag noCVSROOT
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
#---------------------------------------------------------------------
set PATHENA_GRID_SETUP_SH /afs/usatlas/lcg/current/etc/profile.d/grid_env.sh
cd $HOME/cmthome
source /afs/usatlas/cernsw/contrib/CMT/v1r19/mgr/setup.[c]sh
cmt config
requirements file. Then for each release or a new terminal you execute the following (12.0.6, 13.010 and bugfix nightly rel_1 for examples): cd ~/testarea/12.0.6 cd ~/testarea/13.0.10 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=13.0.10 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 13.0.10, path_to_kit is /afs/usatlas/software/downloads/releases/13.0.10 or /opt/usatlas/kit_rel/13.0.10.
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, /usatlas/OSG/atlas_app/atlas_rel (that is on NFS) by OSG group
requirements file. You have to follow the setup below (11.0.5 for an example):
source /path_to_kit/setup.sh [or .csh]
export CMTPATH=${working_directory}:${CMTPATH} for zsh/bash/ksh; setenv CMTPATH ${working_directory}:${CMTPATH} for tcsh
source /opt/usatlas/kit_rel/11.0.5/dist/11.0.5/Control/AthenaRunTime/*/cmt/setup.sh | CERN Location | Analogous U.S. ATLAS Location |
|---|---|
| /afs/cern.ch/atlas/software/dist | /afs/usatlas/software/dist |
| /afs/cern.ch/atlas/software/builds | /afs/usatlas/software/builds |
| /afs/cern.ch/atlas/offline/external | /afs/usatlas/offline/external |
| /afs/cern.ch/sw/packages | /afs/usatlas/cernsw/packages |
| /afs/cern.ch/sw/contrib | /afs/usatlas/cernsw/contrib |
| /afs/cern.ch/sw/lcg/app | /afs/usatlas/cernsw/lcg/app |
/afs/usatlas/software/dist. These obsolete releases do not have packages assigned to different software projects.
The"project oriented" ATLAS releases (≥11.3.0 and <13.0.0) are installed in /afs/usatlas/software/builds. The ATLAS software is split into 10 projects (AtlasCore, DetCommon, AtlasConditions, AtlasEvent, AtlasReconstruction, AtlasSimulation, AtlasTrigger, AtlasAnalysis, AtlasProduction, AtlasOffline) after release 11.2.0. AtlasProduction and AtlasOffline release numbers continue the "monolithic" sequence (11.3.0, 11.4.0 etc.) while the major versions of other projects are reset to "1". For example, AtlasOffline release 11.3.0 uses releases 1.3.0 of other projects. However, starting release 13.0.0 the rule is changed again and all projects get the same release numbers. For details refer to ATLAS projects wiki page.
requirements files in $HOME/cmthome directory with the following basic content:
#---------------------------------------------------------------------
set CMTSITE BNL
set SITEROOT /afs/usatlas
macro ATLAS_DIST_AREA /afs/usatlas/software/dist
macro ATLAS_TEST_AREA ${HOME}/testarea
apply_tag setup
apply_tag oneTest
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
#---------------------------------------------------------------------
cd $HOME/cmthome
source /afs/usatlas/cernsw/contrib/CMT/v1r19/mgr/setup.[c]sh
cmt config
requirements file. Then for each release or a new terminal you execute the following (12.0.6 for an example): cd ~/testarea/12.0.6
source ~/cmthome/setup.[c]sh -tag=12.0.6,gcc323 . Tag gcc323 is necessary to run on acasxxxx machines which are running SLC4.
"cmt co" to check them out, and/or compile them.
setup_cmt_usatlas.[c]sh is provided for the trouble free CMT setup for releases preceding 13.0.0 at BNL, which takes care of automatic setting of compiler gcc, CMT version, etc. The recipe is the following:
requirements file in your home directory. Alternatively, the requirements file can reside in the directory defined in variable REQUIREMENTS_DIR. Without the login requirements file the script setup_cmt_usatlas.[c]sh sets the standard CMT environment for BNL. A user can specify additional CMT macros and patterns in the login requirements file.
cd) to it.
source /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh <base release name> <(--dbg or --opt)> <(--gcc323 or --gcc34)> AtlasOffline, other projects can be indicated with option -p: source /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh -p <project> <release> <(--dbg or --opt)>
12.1.0), or "latest". The script tries to correct for the project release numbering convention. So source /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh 2.0.3 --opt sets the environment for AtlasOffline 12.0.3 release
source /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh -p AtlasOffline 12.0.3 --opt - same as 1.
source /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh 11.0.3 --opt sets the environment for the monolithic 11.0.3 release
--gcc323 and --gcc34 allow to choose the compiler on slc4 machines. The default is gcc323 for 12.2.0 release or older releases, otherwise gcc34 is chosen
/afs/cern.ch/atlas/scripts/setup_cmt_cern.[c]sh, can be used for CMT setup at CERN (on lxplus machines).
Note about running ATLAS jobs on RHIC machines. ATLAS stable releases (installed on AFS) can be used on RHIC machines providing /opt/usatlas/lib is added to $LD_LIBRARY_PATH. This insures that libshift.so can be found when loading some libraries of CERN origin. The script /afs/usatlas/scripts/setup_cmt_usatlas.[c]sh does this addition automatically. If a different setup recipe is used then the following line in the login requirements file helps:
path_append LD_LIBRARY_PATH "/opt/usatlas/lib"After the CMT setup, a user can proceed with the checkout of ATLAS packages (with
cmt co command). The work environment for the package is installed with command source setup.[c]sh run from the cmt directory of a package. The subsequent build of the package (with gmake) establishes the InstallArea of the work release with binaries, include, and share files. Script setup.sh also sets the run time environment for athena jobs associated with the package providing that the requirements file is properly configured. In particular the package should have a dependency on an ATLAS release package with run time settings (such as Control/AthenaRunTime, AtlasCoreRunTime, AtlasConditionsRunTime, etc.) and declare its jobOptions files. The procedure for run-time environment settings continues to evolve. Please refer to ATLAS Software Development and ATLAS Wiki pages for the latest updates.
CVSROOT will be changed to ":gserver:isscvs.cern.ch:/local/reps/atlas".
There is a mirror of the ATLAS cvs repository available at BNL: "/afs/usatlas.bnl.gov/software/cvs". Two defined commands, bnl_cvs and bnl_cmt, in place of cvs and cmt respectively, can make use of this local mirror for cvs checkout.
Please be aware that the CVS repository at BNL is just a mirror of ATLAS CVS repository, and this mirror is available for checkouts only.
The import and commit operations should be performed with CERN ATLAS CVS repository. Please visit here for details.
Please note that this site is a content mirror of the BNL USATLAS 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 BNL USATLAS account.