---+ 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
This topic: AtlasCanada
>
WebHome
>
GettingStarted
>
WorkbookExampleSupplement
Topic revision: r6 - 2007-11-08 - AsokaDeSilva
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