---++ Tutorial Setup on lxplus %BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. Please look at [[ https://atlas-software.docs.cern.ch/analysis/analysis_tutorial/basicSetup/ ]]. %BR%%BR%%BR%%BR%%BR% These instructions are for setting up for the tutorial on lxplus. You should do this prior to the tutorial. To do these, log in to lxplus.cern.ch. %TOC% ---+++ Unix Shell We recommend your shell be bash or zsh but not csh or other c-shell flavors. To check which shell you are using, do <verbatim> ps -p $$</verbatim> ---+++ Grid Certificates Make sure your grid certificates are visible in ~/.globus. For example, you should see the following protections: <verbatim> ls -l ~/.globus total 9 6 -rw-r--r-- 1 desilva zp 5711 Oct 23 2007 usercert.pem 1 -rw------- 1 desilva zp 963 Oct 23 2007 userkey.pem</verbatim> ---+++ Requirements (If you have a ~/cmthome directory, you may want to temporarily rename it for the duration of the tutorial.) Create a file ~/cmthome/requirements. This can be downloaded from cvs and configured as follows: <verbatim> mkdir ~/workshopSetup cd ~/workshopSetup cvs -d:pserver:anonymous@cvs.atlas-canada.ca:/atlas/cvs/cvs/atlasCanada checkout userSupport/TutorialSetup/2008-Americas mkdir ~/cmthome cd ~/cmthome cp ~/workshopSetup/userSupport/TutorialSetup/2008-Americas/requirements.CERN ~/cmthome/requirements source /afs/cern.ch/sw/contrib/CMT/v1r20p20070720/mgr/setup.sh cmt config</verbatim> You should not see any errors or warnings at this stage; if you do, something is wrong. Some possibilities to check (see the requirements file): ATLAS_DIST_AREA and ATLAS_GROUP_AREA actually exists Next, do the setup (do this in a new session; this will be the starting point each time you want to work): <verbatim> source ~/cmthome/setup.sh -tag=13.0.40,groupArea</verbatim> Again, you should not see any errors or warnings here. If you do, check also that $TestArea does not exist (do an ls); if it does, delete or move it and repeat the above command. ---+++ Checkout Software Next, create the work directory as defined in the requirements file: <verbatim> mkdir -p $TestArea cd $TestArea</verbatim> Now check out the packages which are needed for the tutorial: <verbatim> cmt co -r TopPhysTools-13-00-40-06 PhysicsAnalysis/TopPhys/TopPhysTools cmt co -r TopPhysDPDMaker-00-00-10 PhysicsAnalysis/TopPhys/TopPhysDPDMaker cmt co PhysicsAnalysis/DistributedAnalysis/PandaTools # note that this is the head version</verbatim> Look in the directories <verbatim> ls PhysicsAnalysis/TopPhys/TopPhysTools ls PhysicsAnalysis/TopPhys/TopPhysDPDMaker ls PhysicsAnalysis/DistributedAnalysis/PandaTools</verbatim> You should NOT see only one directory (such as !TopPhysTools-13-00-40-06 or !TopPhysDPDMaker-00-00-10) but several - cmt, etc. If you only see one directory, it means your requirements file in ~/cmthome is probably incorrect. ---+++ Compile the Packages Next you will compile the packages; to do this: <verbatim> cd ${TestArea}/PhysicsAnalysis/TopPhys/TopPhysTools/cmt source setup.sh cmt bro make cd ${TestArea}/PhysicsAnalysis/TopPhys/TopPhysDPDMaker/cmt source setup.sh cmt bro make cd ${TestArea}/PhysicsAnalysis/DistributedAnalysis/PandaTools/cmt source setup.sh cmt bro make</verbatim> You should not see any errors ---+++ Check that you are able to submit a job to the grid Setup the grid tools and then authenticate <verbatim> source /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh voms-proxy-init -voms=atlas # Canadian users, please use your /atlas/ca role as follows: voms-proxy-init -voms=atlas:/atlas/ca</verbatim> You should see something like the following when you type !voms-proxy-info -all: <verbatim> > voms-proxy-info -all subject : /C=CA/O=Grid/OU=TRIUMF/CN=Asoka De Silva/CN=proxy issuer : /C=CA/O=Grid/OU=TRIUMF/CN=Asoka De Silva identity : /C=CA/O=Grid/OU=TRIUMF/CN=Asoka De Silva type : proxy strength : 512 bits path : /tmp/x509up_u1179 timeleft : 88:38:48 === VO atlas extension information === VO : atlas subject : /C=CA/O=Grid/OU=TRIUMF/CN=Asoka De Silva issuer : /DC=ch/DC=cern/OU=computers/CN=voms.cern.ch attribute : /atlas/ca/Role=NULL/Capability=NULL attribute : /atlas/Role=NULL/Capability=NULL attribute : /atlas/lcg1/Role=NULL/Capability=NULL timeleft : 88:38:47</verbatim> Next, try to submit a test job as outlined in the [[https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookRunningGrid][Computing Workbook]]. -- Main.AsokaDeSilva - 15 May 2008
This topic: AtlasCanada
>
ComputingPage
>
ComputingATLASOfTheAmericasTutorialSetup
>
LxplusTutorialSetup
Topic revision: r10 - 2026-10-05 - 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