Difference between revisions of "LHCb Software At Nikhef: Prepare for Workshop 22-24 June 2009"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | == Your first time to run over a | + | == Your first time to run over a MicroDST at Nikhef == |
''' Prepare ssh on your Nikhef account ''' | ''' Prepare ssh on your Nikhef account ''' | ||
Line 43: | Line 43: | ||
>>> massResPlots.plots[531].Draw() | >>> massResPlots.plots[531].Draw() | ||
>>> propTimePlots.plots[531].Draw() | >>> propTimePlots.plots[531].Draw() | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == Install a Virtual Machine on your laptop: CernVM == | ||
+ | |||
+ | See talk by Pere Mato, slide 14: | ||
+ | [http://indico.cern.ch/conferenceDisplay.py?confId=52399 17 March 2009] | ||
+ | |||
+ | ''' Download VMware player ''' | ||
+ | |||
+ | <pre> | ||
+ | * Download from http://www.vmware.com/download/player/ | ||
+ | * put cernvm in fixed place ie C:\Program Files/CernVM | ||
+ | * start vmplayer from desktop | ||
+ | * open cernvm from C:\Program Files\CernVM | ||
+ | * open in browser: http://192.168.204.128:8004/ | ||
+ | (Your number might be different!) | ||
+ | * account, for example use lxplus username and password | ||
+ | * virtual organization: lhcb | ||
+ | * change memory allocation in vmware player | ||
+ | -> troubleshoot | ||
+ | -> change memory allocation | ||
+ | -> 1024 GB | ||
</pre> | </pre> |
Revision as of 15:52, 28 May 2009
Your first time to run over a MicroDST at Nikhef
Prepare ssh on your Nikhef account
Follow these instructions: Configuring SSH access from Linux/Unix
Get software packages
mkdir cmtuser cd cmtuser setenv MYSITEROOT /project/bfys/lhcb/sw source $MYSITEROOT/lhcb/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.csh --quiet --mysiteroot $MYSITEROOT SetupProject --build-env DaVinci v23r0p1 getpack Phys/DaVinci v23r0p1 cd ~/cmtuser/DaVinci_v23r0p1/Phys/DaVinci/cmt/ make
cd ~/cmtuser/DaVinci_v23r0p1/ getpack Ex/MicroDSTExample v2r3 cd ~/cmtuser/DaVinci_v23r0p1/Ex/MicroDSTExample/cmt cvs update -A cmt br cmt make
Loop over events
cd /data/bfys/h71/Workshop/ SetupProject DaVinci v23r0p1 python -i BfysWorkshopMicroDSTReader_1.1.py --input SeqDC06selBs2JpsiPhiWithMC_50.0_Kevt_NoPVReFit.dst
Plot
>>> massPlots.plots[443].Draw() >>> massPlots.plots[531].Draw() >>> massResPlots.plots[531].Draw() >>> propTimePlots.plots[531].Draw()
Install a Virtual Machine on your laptop: CernVM
See talk by Pere Mato, slide 14: 17 March 2009
Download VMware player
* Download from http://www.vmware.com/download/player/ * put cernvm in fixed place ie C:\Program Files/CernVM * start vmplayer from desktop * open cernvm from C:\Program Files\CernVM * open in browser: http://192.168.204.128:8004/ (Your number might be different!) * account, for example use lxplus username and password * virtual organization: lhcb * change memory allocation in vmware player -> troubleshoot -> change memory allocation -> 1024 GB