git clone dbxa.git
Host svn.cern.ch svn Protocol 2 GSSAPITrustDns yes PubkeyAuthentication no GSSAPIAuthentication yes GSSAPIDelegateCredentials yesfrom: https://twiki.cern.ch/twiki/bin/view/AtlasComputing/SoftwareTutorialxAODEDM#On_your_local_machine_optional From Aytul Setup: 1.Create a key and do not enter a passphrase.
ssh-keygen -t dsaNote that the default key file will be id_dsa and id_dsa.pub but you can create it with a different name (in case you need different keys for different remote hosts but try not to do that unless you have good reason !) by adding the option
-f ~/.ssh/<filename>
.
2. Create . ssh directory under it, using following command (The directory may already exist, which is fine).
ssh username@lxplus.cern.ch mkdir -p .ssh3. Copy the public key to your remote machine; replace <username> and <remote machine name> below.
cat ~/.ssh/id_dsa.pub | ssh <username>@<remote machine name> 'cat >> .ssh/authorized_keys'4. After copying the above public key to lxplus, login to lxplus and type
/afs/cern.ch/project/svn/dist/bin/set_ssh
. This will fix the acl permissions of the file on lxplus.
5. Create a file ~/.ssh/config with the following information.
Host lxplus*.cern.ch lxplus User username PubkeyAuthentication no PasswordAuthentication yes ForwardX11 yes Host svn.cern.ch svn GSSAPIAuthentication yes GSSAPIDelegateCredentials yes User username ForwardX11 no Host * Protocol 2 IdentityFile ~/.ssh/id_dsa6. Make sure the permissions of the ~/.ssh directory and its contents have permissions set correctly; an example is
chmod 700 ~/.ssh chmod 600 ~/.ssh/id_dsa chmod 644 ~/.ssh/config ~/.ssh/id_dsa.pub
setupATLASWe usually recommend you add these lines to your login shell script so you don't need to type it every time you log in.To determine the type of shell you are using (bash or zsh) type
ps -p $$
. Depending on the shell you will need to edit (or create) your login script file .login, .zlogin or .bash_login
in your home directory. If you are using the zsh
shell, try .zlogin
. If using bash
, try .bash_profile
(or .bash_login
).
ssh -X lxplus.cern.ch
rcSetup -d Base,2.0.14which would download all the required packages for Base-2.0.14, at the end print out a list of package tags downloaded, and a list of packages not downloaded because they already exist under the working directory. Then you can compile all the packages via command
rc compile
"rcSetup -b"
. For example, to build ASG release of Base-2.0.14, just run
rcSetup -b Base,2.0.14
which will create directory $PWD/AnalysisBase/2.0.14/,
download the packages (if not downloaded yet) in ASG release Base-2.0.14,
compile the release,
write a private configuration file $HOME/.rcSetup.conf if the above compilation is successful.
rc version
setupATLAS lsetup 'rcsetup -r' lsetup 'rcsetup Base,2.0.14' rc find_packages rc compile
You need to type
lsetup rcsetupevery time you log in, after setupATLAS.
cp /data/nfs/chakanau/tutorial_xAOD_long/valid2.117050.PowhegPythia_P2011C_ttbar.digit.AOD.e2657_s1933_s1964_r5534_tid01482225_00/AOD.01482225._000140.pool.root.1 AOD.01482225._000140.pool.root
localSetupFAX --rootVersion=current-SL6 voms-proxy-init -voms atlas xrdcp $STORAGEPREFIX/atlas/rucio/valid2:AOD.01482225._000140.pool.root.1 AOD.01482225._000140.pool.root
/afs/cern.ch/atlas/project/PAT/xAODs/r5597/data12_8TeV.00204158.physics_JetTauEtmiss.recon.AOD.r5597/AOD.01495682._003054.pool.root.1 /afs/cern.ch/atlas/project/PAT/xAODs/r5591/mc14_8TeV.117050.PowhegPythia_P2011C_ttbar.recon.AOD.e1727_s1933_s1911_r5591/AOD.01494882._111853.pool.root.1
setupATLAS diagnostics setMeUpData anl-oct2014Once your environment is setup and you have an xAOD, you can run this script by doing:
checkxAOD.py xAODFile.rootwhere xAODFile.root is the full path and name of your xAOD.
setupATLAS rcSetup Base,2.0.14 root.exe root[0]gROOT->Macro("$ROOTCOREDIR/scripts/load_packages.C"); root[1]xAOD::Init(); root[2]f=TFile::Open("~/AOD.01495682._003054.pool.root.1"); root[3]t=xAOD::MakeTransientTree(f); root[4]t->Draw("EventInfo.eventNumber()");
gcc -fsigned-char -Wall -DNUM_LONG -m64 -DCOMPHEP -o bin/s_comphep.exe src/symb/s_comphep.o -lsymb -lserv -lmssm -lexternal -Llib -L/usr/X11R6/lib -lX11 -lm -lgfortran -lgccThen you need to check where gfortran and gcc are located and which version you use. May be they clash if they are in more than one location and CompHEP can call another version. So you need to change version name in CC and F77 file. Change gcc -> gcc-4.9 in CC and gfortran -> gfortran-4.9 then do make. Hope it works :) 2. Another error about CXX. If you use different compiler (c++), ComHEP may not set it. So open Makefile and set CXX as c++ (CXX=c++-4.9).
Undefined symbols for architecture x86_64:
"__gfortran_transfer_character_write", referenced from:
_feynhiggsfast_ in libexternal.a(FeynHiggsFast.o)
_b0ss_ in libexternal.a(FeynHiggsFastCodes.o)
_gentadh_ in libexternal.a(FeynHiggsFastCodes.o)
_genhquad_ in libexternal.a(FeynHiggsFastCodes.o)
_genzquad_ in libexternal.a(FeynHiggsFastCodes.o)
_gengquad_ in libexternal.a(FeynHiggsFastCodes.o)
_genwquad_ in libexternal.a(FeynHiggsFastCodes.o)
...
"__gfortran_transfer_real_write", referenced from:
_feynhiggsfast_ in libexternal.a(FeynHiggsFast.o)
_sigmaz_ in libexternal.a(FeynHiggsFastCodes.o)
_sigmaa_ in libexternal.a(FeynHiggsFastCodes.o)
_dsigmaa_ in libexternal.a(FeynHiggsFastCodes.o)
_sigmaaz_ in libexternal.a(FeynHiggsFastCodes.o)
_sigmaw_ in libexternal.a(FeynHiggsFastCodes.o)
_dsigmag_ in libexternal.a(FeynHiggsFastCodes.o)
...
"__gfortran_transfer_integer_write", referenced from:
_wgplg_ in libexternal.a(FeynHiggsFastCodes.o)
_dsigmalh_ in libexternal.a(FeynHiggsFastCodes.o)
_msbartoonshellpptopbot_ in libexternal.a(FeynHiggsFastSub.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [link] Error 1
ifneq (${ROOTSYS},)
$(CXX) $(CFLAGS) -o bin/rtupler.exe src/num/rtuple.o -ltranls -lnum -levents -lpdf -lserv $(CLIBS) $(F77LIBS) $(ROOTLIBS)
I | Attachment | Action | Size![]() |
Date | Who | Comment |
---|---|---|---|---|---|---|
![]() |
e6-model.rar | manage | 2.9 K | 10 Feb 2016 - 16:10 | AhmetCoskuner | E6 model files, add them to the "models" folder in CompHEP |
![]() |
README.pdf | manage | 35.8 K | 04 Feb 2016 - 11:12 | AytulA | How to run dbxa |
![]() |
tutorial_xAODEDM.pdf | manage | 195.3 K | 12 Jul 2016 - 21:01 | SerayBeser | xAOD: The essentials |
![]() |
DownTypeIsoSinglet_0711.1116.pdf | manage | 233.7 K | 11 Feb 2016 - 08:30 | AytulA | E6 Model |
![]() |
AnalysisModel.pdf | manage | 330.0 K | 12 Jul 2016 - 21:07 | SerayBeser | RunII analysis model, The xAOD data format |
![]() |
E6Isosinglet.pdf | manage | 765.2 K | 11 Feb 2016 - 08:31 | AytulA | E6 Model |
![]() |
xrootd-SanDegio-talk.combined.pdf | manage | 1880.3 K | 27 Jul 2016 - 11:16 | SerayBeser | ATLAS Data Formats and Impact on Federated Access |
![]() |
dBXA.pdf | manage | 2019.8 K | 04 Feb 2016 - 10:22 | AytulA | Presentation about dbxa |
![]() |
DBXAEss.pdf | manage | 2916.9 K | 27 Jul 2016 - 11:14 | SerayBeser | DBX_A CODE ESSENTIALS |
![]() |
CERN-THESIS-2015-071.pdf | manage | 3059.0 K | 12 Feb 2016 - 13:21 | AhmetCoskuner | Merve Şahinsoy'un Tezi |
![]() |
E6-GUT-MODELS.pdf | manage | 3346.7 K | 04 Feb 2016 - 10:21 | AytulA | E6-GUT Models |
![]() |
ATLAS_Event_Data_Model.pdf | manage | 3943.3 K | 12 Jul 2016 - 21:06 | SerayBeser | An Introduction to the ATLAS Event Data Model, The new EDM: xAOD |
![]() |
xAODs_and_ROOT_2014.07.08..pdf | manage | 5040.6 K | 27 Jul 2016 - 11:09 | SerayBeser | Analysing/Using xAODs in ROOT |