TWiki
>
AtlasCanada Web
>
GettingStarted
>
WorkbookExampleSupplement
(2007-11-08,
AsokaDeSilva
)
(raw view)
E
dit
A
ttach
---+ Running Workbook Examples %TOC{depth="4"}% %ICON{tip}% If you use a different release for testing the workbook examples, you may need different versions of packages checkedout. Please see [[http://www.lps.umontreal.ca/twiki/bin/view/AtlasCanada/ComputingTips#How_to_determine_the_version_of][this section]] for details on how to determine the package versions. ---++ Example requirements file This is an example of a requirements file which lives in ~/cmthome: <verbatim> set CMTSITE STANDALONE set SITEROOT /data/Kits/13.0.20/ macro ATLAS_DIST_AREA ${SITEROOT} macro ATLAS_TEST_AREA ${HOME}/testarea apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} apply_tag setup apply_tag simpleTest use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc4-gcc34-opt set DBRELEASE_INSTALLED 3.1.1 </verbatim> Note that this is for Scientific Linux 4. Here is another example of a requirements file: <verbatim> set CMTSITE STANDALONE macro PROJ_RELEASE "latest" \ 12.0.6 "12.0.6" \ 13.0.20 "13.0.20" set SITEROOT /data/Kits/${PROJ_RELEASE} macro ATLAS_DIST_AREA ${SITEROOT} macro ATLAS_TEST_AREA ${HOME}/testarea apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} apply_tag setup apply_tag simpleTest use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc4-gcc34-opt set DBRELEASE_INSTALLED 3.1.1 </verbatim> This allows one to switch releases without having it "hardcoded" in SITEROOT. For example, I can then setup as <verbatim> source ~/cmthome/setup.sh -tag=13.0.20,32 (for 13.0.20 32-bit) source ~/cmthome/setup.sh -tag=12.0.7,gcc323 (for 12.0.7 running gcc 3.2.3) </verbatim> Note that the SITEROOT directory should at least have a softlink "latest" to one of the new releases. Also, if you change the requirements file, remember to do a cmt config. ---++ Environment Variables * CVSROOT should be automatically setup to point you to <verbatim> :kserver:atlas-sw.cern.ch:/atlascvs </verbatim> ---++ Tasks at Each Login * Setup the cmt configuration <verbatim> ~/cmthome/source.[c]sh -tag=xx.xx.xx[,32] </verbatim> * %ICON{stop}% (do this, or the *.csh version only if you install the [[AtlasCanada/GLite-SingleUser][gLite single-user]] version) <verbatim> source ~/gLite/etc/profile.d/grid_env.sh source ~/gLite/etc/profile.d/lcgenv.sh </verbatim> * Ganga setup is *not* needed ... <strike>(for bash) export GANGA_CONFIG_PATH=GangaAtlas/Atlas.ini <br> (for tcsh) setenv GANGA_CONFIG_PATH !GangaAtlas/Atlas.ini </strike> * set the environment variable for EDITOR <verbatim> (for bash) export EDITOR=emacs (for tcsh) setenv EDITOR emacs </verbatim> * authenticate Kerberos if you want access to source code <verbatim> kinit -4 -5 user@CERN.CH </verbatim> * authenticate afs if you want to write to your CERN afs area <verbatim> klog </verbatim> * get the grid proxy <verbatim> voms-proxy-init --voms atlas:/atlas/ca </verbatim> Please see also [[AtlasCanada/InstallAtlasSoftware#For_a_user_of_the_cluster][this link]]. -- Main.AsokaDeSilva - 28 Sep 2007
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r6
<
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r6 - 2007-11-08
-
AsokaDeSilva
AtlasCanada
Navigate ATLAS-Canada Wiki:
*
Home
* *
Activities
*
Analysis
Computing
Datasets
Getting Started
Grid Activities
*
Meetings
* *
People in ATLAS Canada
*
User Services
Travel To CERN
Wikis:
ATLAS
ATLAS Physics
Alberta
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
ATLAS-Canada Institute Websites:
ATLAS-Canada
ATLAS Home
Alberta
UBC
Carleton
IPP
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
York
Create New Topic
Search
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback