Persistent "The dataset 'samples/*.lhe.gz' has not been found or has a unsupported format" error

Asked by Rebecca Riley on 2018-01-31

Hi,

I just installed Root 6.12 and now I can no longer import samples into MadAnalysis (.lhe.gz or unzipped .lhe files). Samples install fine but then won't import.

Any thoughts?

Thanks, RR

Trace:
(py2) [rebecca_riley@riley-linux bin]$ ./ma5
MA5:
MA5: *************************************************************
MA5: * *
MA5: * W E L C O M E to M A D A N A L Y S I S 5 *
MA5: * ______ ______ *
MA5: * /'\_/`\/\ __ \/\ ___\ *
MA5: * /\ \ \ \_\ \ \ \__/ *
MA5: * \ \ \__\ \ \ __ \ \___``\ *
MA5: * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
MA5: * \ \_\\ \_\ \_\ \_\ \____/ *
MA5: * \/_/ \/_/\/_/\/_/\/___/ *
MA5: * *
MA5: * MA5 release : 1.5 2016/12/30 *
MA5: * *
MA5: * Comput. Phys. Commun. 184 (2013) 222-256 *
MA5: * Eur. Phys. J. C74 (2014) 3103 *
MA5: * *
MA5: * The MadAnalysis Development Team - Please visit us at *
MA5: * https://launchpad.net/madanalysis5 *
MA5: * *
MA5: * Type 'help' for in-line help. *
MA5: * *
MA5: *************************************************************
MA5: Platform: Linux 4.14.15-1-MANJARO [Linux mode]
MA5: Reading user settings ...
MA5: Checking mandatory packages:
MA5: - Python [OK]
MA5: - GNU GCC g++ [OK]
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
MA5: - Zlib [OK]
MA5: - Zlib [OK]
MA5: - FastJet [DISABLED]
MA5: - Root [OK]
MA5: - Delphes [DISABLED]
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking optional packages devoted to histogramming:
MA5: - Root [OK]
MA5: - Matplotlib [DISABLED]
MA5: - pdflatex [OK]
MA5: - latex [OK]
MA5: Package used for graphical rendering: Root
MA5: Checking the MadAnalysis 5 core library:
MA5: => MadAnalysis libraries found.
MA5: => MadAnalysis test program works.
MA5: *************************************************************
MA5: Particle labels exported from madanalysis/input/particles_name_default.txt
MA5: => 87 particles successfully exported.
MA5: Multiparticle labels exported from madanalysis/input/multiparticles_default.txt
MA5: => Creation of the label 'invisible' (-> missing energy).
MA5: => Creation of the label 'hadronic' (-> jet energy).
MA5: => 8 multiparticles successfully exported.
ma5>install samples
MA5:
MA5: **********************************************************
MA5: Installing samples
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => found
MA5: Removing the previous installation ...
MA5-WARNING: Are you sure to remove the directory called '/home/rebecca_riley/analysis2/samples' ? (Y/N)
Answer: y
MA5: Creating a devoted folder ...
MA5: Downloading the package ...
MA5: - 1/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_sl_1.lhe.gz ...
      Download 391.24K of 391.24K (100.0%)
MA5: - 2/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/zz.lhe.gz ...
      Download 240.34K of 240.34K (100.0%)
MA5: - 3/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_fh.lhe.gz ...
      Download 389.05K of 389.05K (100.0%)
MA5: - 4/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_sl_2.lhe.gz ...
      Download 391.26K of 391.26K (100.0%)
MA5: Checking the installation ...
MA5: Installation complete.
MA5: => Status: [OK]
MA5: **********************************************************
MA5:
ma5>import samples/zz.lhe.gz
MA5-ERROR: The dataset 'samples/zz.lhe.gz' has not been found or has a unsupported format.
ma5>import zz.lhe.gz
MA5-ERROR: The dataset 'zz.lhe.gz' has not been found or has a unsupported format.
ma5>import samples/zz.lhe
MA5-ERROR: The dataset 'samples/zz.lhe' has not been found or has a unsupported format.

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Rebecca Riley
Solved:
2018-02-01
Last query:
2018-02-01
Last reply:
2018-02-01
Benjamin Fuks (fuks) said : #1

Hi,

This looks more a zlib issue than a root issue. Can you try to manually set the path to zlib in madanalysis/input/installation_options.dat and see whether i works?

Cheers,

Benjamin

> On 31 Jan 2018, at 18:32 , Rebecca Riley <email address hidden> wrote:
>
> New question #663915 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/663915
>
> Hi,
>
> I just installed Root 6.12 and now I can no longer import samples into MadAnalysis (.lhe.gz or unzipped .lhe files). Samples install fine but then won't import.
>
> Any thoughts?
>
> Thanks, RR
>
> Trace:
> (py2) [rebecca_riley@riley-linux bin]$ ./ma5
> MA5:
> MA5: *************************************************************
> MA5: * *
> MA5: * W E L C O M E to M A D A N A L Y S I S 5 *
> MA5: * ______ ______ *
> MA5: * /'\_/`\/\ __ \/\ ___\ *
> MA5: * /\ \ \ \_\ \ \ \__/ *
> MA5: * \ \ \__\ \ \ __ \ \___``\ *
> MA5: * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
> MA5: * \ \_\\ \_\ \_\ \_\ \____/ *
> MA5: * \/_/ \/_/\/_/\/_/\/___/ *
> MA5: * *
> MA5: * MA5 release : 1.5 2016/12/30 *
> MA5: * *
> MA5: * Comput. Phys. Commun. 184 (2013) 222-256 *
> MA5: * Eur. Phys. J. C74 (2014) 3103 *
> MA5: * *
> MA5: * The MadAnalysis Development Team - Please visit us at *
> MA5: * https://launchpad.net/madanalysis5 *
> MA5: * *
> MA5: * Type 'help' for in-line help. *
> MA5: * *
> MA5: *************************************************************
> MA5: Platform: Linux 4.14.15-1-MANJARO [Linux mode]
> MA5: Reading user settings ...
> MA5: Checking mandatory packages:
> MA5: - Python [OK]
> MA5: - GNU GCC g++ [OK]
> MA5: - GNU Make [OK]
> MA5: Checking optional packages devoted to data processing:
> MA5: - Zlib [OK]
> MA5: - Zlib [OK]
> MA5: - FastJet [DISABLED]
> MA5: - Root [OK]
> MA5: - Delphes [DISABLED]
> MA5: - Delphes-MA5tune [DISABLED]
> MA5: Checking optional packages devoted to histogramming:
> MA5: - Root [OK]
> MA5: - Matplotlib [DISABLED]
> MA5: - pdflatex [OK]
> MA5: - latex [OK]
> MA5: Package used for graphical rendering: Root
> MA5: Checking the MadAnalysis 5 core library:
> MA5: => MadAnalysis libraries found.
> MA5: => MadAnalysis test program works.
> MA5: *************************************************************
> MA5: Particle labels exported from madanalysis/input/particles_name_default.txt
> MA5: => 87 particles successfully exported.
> MA5: Multiparticle labels exported from madanalysis/input/multiparticles_default.txt
> MA5: => Creation of the label 'invisible' (-> missing energy).
> MA5: => Creation of the label 'hadronic' (-> jet energy).
> MA5: => 8 multiparticles successfully exported.
> ma5>install samples
> MA5:
> MA5: **********************************************************
> MA5: Installing samples
> MA5: **********************************************************
> MA5: Detecting a previous installation ...
> MA5: => found
> MA5: Removing the previous installation ...
> MA5-WARNING: Are you sure to remove the directory called '/home/rebecca_riley/analysis2/samples' ? (Y/N)
> Answer: y
> MA5: Creating a devoted folder ...
> MA5: Downloading the package ...
> MA5: - 1/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_sl_1.lhe.gz ...
> Download 391.24K of 391.24K (100.0%)
> MA5: - 2/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/zz.lhe.gz ...
> Download 240.34K of 240.34K (100.0%)
> MA5: - 3/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_fh.lhe.gz ...
> Download 389.05K of 389.05K (100.0%)
> MA5: - 4/4 http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/samples/ttbar_sl_2.lhe.gz ...
> Download 391.26K of 391.26K (100.0%)
> MA5: Checking the installation ...
> MA5: Installation complete.
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5:
> ma5>import samples/zz.lhe.gz
> MA5-ERROR: The dataset 'samples/zz.lhe.gz' has not been found or has a unsupported format.
> ma5>import zz.lhe.gz
> MA5-ERROR: The dataset 'zz.lhe.gz' has not been found or has a unsupported format.
> ma5>import samples/zz.lhe
> MA5-ERROR: The dataset 'samples/zz.lhe' has not been found or has a unsupported format.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Rebecca Riley (r-riley) said : #2

Okay, I tried that with no luck...
I am using Arch Linux and initially installed zlib through pacman, Arch's package manager.
I tried reinstalling zlib and all related packages.

Trying to find zlib, however, proved to be elusive; a pacman command to display the package-provided file list helped somewhat...
[rebecca_riley@riley-linux lib]$ pacman -Ql zlib
zlib /usr/
zlib /usr/include/
zlib /usr/include/zconf.h
zlib /usr/include/zlib.h
zlib /usr/lib/
zlib /usr/lib/libz.a
zlib /usr/lib/libz.so
zlib /usr/lib/libz.so.1
zlib /usr/lib/libz.so.1.2.11
zlib /usr/lib/pkgconfig/
zlib /usr/lib/pkgconfig/zlib.pc
zlib /usr/share/
zlib /usr/share/licenses/
zlib /usr/share/licenses/zlib/
zlib /usr/share/licenses/zlib/LICENSE
zlib /usr/share/man/
zlib /usr/share/man/man3/
zlib /usr/share/man/man3/zlib.3.gz

I changed the installation_options.dat file options to the following:
# -----ZLIB-----
# zlib_veto = 0 # 0=No, 1=Yes
# zlib_includes = /home/zlib/include/
zlib_includes = /usr/include
# zlib_libs = /home/zlib/lib/
zlib_libs = /usr/lib

Madanalysis recompiled, but still the same problem.

Thanks for your help,
RR

Benjamin Fuks (fuks) said : #3

Can you please start MA5 in the debug mode (./bin/ma5 -d) and dump me the screen output?

Regards,

Benjamin

> On 1 Feb 2018, at 05:08 , Rebecca Riley <email address hidden> wrote:
>
> Question #663915 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/663915
>
> Status: Answered => Open
>
> Rebecca Riley is still having a problem:
> Okay, I tried that with no luck...
> I am using Arch Linux and initially installed zlib through pacman, Arch's package manager.
> I tried reinstalling zlib and all related packages.
>
> Trying to find zlib, however, proved to be elusive; a pacman command to display the package-provided file list helped somewhat...
> [rebecca_riley@riley-linux lib]$ pacman -Ql zlib
> zlib /usr/
> zlib /usr/include/
> zlib /usr/include/zconf.h
> zlib /usr/include/zlib.h
> zlib /usr/lib/
> zlib /usr/lib/libz.a
> zlib /usr/lib/libz.so
> zlib /usr/lib/libz.so.1
> zlib /usr/lib/libz.so.1.2.11
> zlib /usr/lib/pkgconfig/
> zlib /usr/lib/pkgconfig/zlib.pc
> zlib /usr/share/
> zlib /usr/share/licenses/
> zlib /usr/share/licenses/zlib/
> zlib /usr/share/licenses/zlib/LICENSE
> zlib /usr/share/man/
> zlib /usr/share/man/man3/
> zlib /usr/share/man/man3/zlib.3.gz
>
> I changed the installation_options.dat file options to the following:
> # -----ZLIB-----
> # zlib_veto = 0 # 0=No, 1=Yes
> # zlib_includes = /home/zlib/include/
> zlib_includes = /usr/include
> # zlib_libs = /home/zlib/lib/
> zlib_libs = /usr/lib
>
> Madanalysis recompiled, but still the same problem.
>
> Thanks for your help,
> RR
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Rebecca Riley (r-riley) said : #4

MA5-DEBUG:
MA5-DEBUG: DEBUG MODE ACTIVATED
MA5-DEBUG:
MA5: Platform: Linux 4.14.15-1-MANJARO [Linux mode]
MA5-DEBUG:
MA5-DEBUG: Machine - Cross platform information
MA5-DEBUG: Machine type: x86_64
MA5-DEBUG: Processor name:
MA5-DEBUG: Platform: Linux-4.14.15-1-MANJARO-x86_64-with-glibc2.2.5
MA5-DEBUG: Platform release: 4.14.15-1-MANJARO
MA5-DEBUG: System: Linux
MA5-DEBUG: Node: riley-linux
MA5-DEBUG: Number of cores: 4
MA5-DEBUG:
MA5-DEBUG: Machine - OS-specific information
MA5-DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
MA5-DEBUG: Windows version: ('', '', '', '')
MA5-DEBUG: Mac Os version: ('', ('', '', ''), '')
MA5-DEBUG: Unix distribution: Linux-4.14.15-1-MANJARO-x86_64-with-glibc2.2.5
MA5-DEBUG:
MA5: Reading user settings ...
MA5-DEBUG: Opening the file: /home/rebecca_riley/analysis2/madanalysis/input/installation_options.dat
MA5-DEBUG: Lines to interpret:
MA5-DEBUG: - zlib_includes = /usr/include
MA5-DEBUG: - zlib_libs = /usr/lib
MA5-DEBUG: Closing the file: /home/rebecca_riley/analysis2/madanalysis/input/installation_options.dat
MA5-DEBUG:
MA5-DEBUG: User
MA5-DEBUG: User name: rebecca_riley
MA5-DEBUG: User ID: 1000
MA5-DEBUG: Expanding folder ~/: /home/rebecca_riley/
MA5-DEBUG: Variable $USER: rebecca_riley
MA5-DEBUG: Variable $USERNAME:
MA5-DEBUG: Variable $LNAME:
MA5-DEBUG: Variable $LOGNAME: rebecca_riley
MA5-DEBUG: Variable $HOME: /home/rebecca_riley
MA5-DEBUG: Variable $HOMEDRIVE:
MA5-DEBUG: Variable $posix:
MA5-DEBUG: Variable $HOMEPATH:
MA5-DEBUG:
MA5-DEBUG: Web access
MA5-DEBUG: enable
MA5-DEBUG:
MA5-DEBUG: Temporary folder
MA5-DEBUG: Variable $TMPDIR:
MA5-DEBUG: Variable $TMP:
MA5-DEBUG: Variable $TEMP:
MA5-DEBUG: Check if the folder /tmp/rebecca_riley exists ...
MA5-DEBUG: -> found
MA5-DEBUG: temporary folder will be used for MA5: /tmp/rebecca_riley
MA5-DEBUG:
MA5-DEBUG: Download dir
MA5-DEBUG: Check if the folder /tmp/rebecca_riley/MA5_downloads exists ...
MA5-DEBUG: -> found
MA5-DEBUG: download folder will be used for MA5: /tmp/rebecca_riley/MA5_downloads
MA5-DEBUG:
MA5-DEBUG: Text editor
MA5-DEBUG: Look for the global variable $EDITOR ...
MA5-DEBUG: -> variable $EDITOR found : /usr/bin/nano
MA5-DEBUG:
MA5: Checking mandatory packages:
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package python
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG:
MA5-DEBUG: Python release: 2.7.14
MA5-DEBUG: Python build: ('default', 'Jan 5 2018 10:41:29')
MA5-DEBUG: Python compiler: GCC 7.2.1 20171224
MA5-DEBUG: Python prefix: /home/rebecca_riley/graph1/bin/py2
MA5-DEBUG: Python executable used: /home/rebecca_riley/graph1/bin/py2/bin/python
MA5-DEBUG: sys.executable: /home/rebecca_riley/graph1/bin/py2/bin/python
MA5-DEBUG: which: /home/rebecca_riley/graph1/bin/py2/bin/python
MA5-DEBUG: which-all:
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/bin/python
MA5-DEBUG: - /usr/bin/python
MA5-DEBUG: Python internal paths:
MA5-DEBUG: - /home/rebecca_riley/analysis2/tools/ReportGenerator/Services
MA5-DEBUG: - /home/rebecca_riley/analysis2
MA5-DEBUG: - /home/rebecca_riley/analysis2/bin
MA5-DEBUG: - /usr/lib/root
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python27.zip
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/plat-linux2
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-tk
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-old
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-dynload
MA5-DEBUG: - /usr/lib64/python2.7
MA5-DEBUG: - /usr/lib/python2.7
MA5-DEBUG: - /usr/lib/python2.7/plat-linux2
MA5-DEBUG: - /usr/lib64/python2.7/lib-tk
MA5-DEBUG: - /usr/lib/python2.7/lib-tk
MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/site-packages
MA5-DEBUG: $PYTHONPATH:
MA5-DEBUG: - /usr/lib/root
MA5-DEBUG:
MA5-DEBUG: Saving informations ...
MA5: - Python [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package gpp
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/bin/g++
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/g++
MA5-DEBUG: version: 7.2.1
MA5-DEBUG: search path for headers:
MA5-DEBUG: - /usr/include/c++/7.2.1
MA5-DEBUG: - /usr/include/c++/7.2.1/x86_64-pc-linux-gnu
MA5-DEBUG: - /usr/include/c++/7.2.1/backward
MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/include
MA5-DEBUG: - /usr/local/include
MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/include-fixed
MA5-DEBUG: - /usr/include
MA5-DEBUG: search path for libraries:
MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1
MA5-DEBUG: - /usr/lib
MA5-DEBUG: - /lib
MA5-DEBUG: - /usr/lib
MA5-DEBUG: - /usr/lib
MA5-DEBUG: - /lib
MA5-DEBUG: - /usr/lib
MA5-DEBUG: Saving informations ...
MA5: - GNU GCC g++ [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package make
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/bin/make
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/make
MA5-DEBUG: version: GNU Make 4.2.1
MA5-DEBUG: Saving informations ...
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
MA5-DEBUG: zlib
MA5-DEBUG: User setting: zlib include path is specified: /usr/include
MA5-DEBUG: User setting: zlib lib path is specified: /usr/lib
MA5-DEBUG: Look for the file /usr/include/zlib.h ...
MA5-DEBUG: -> found
MA5-DEBUG: Look for the libraries in folder /usr/lib ...
MA5-DEBUG: -> result: /usr/lib/libz.a
MA5: - Zlib [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package zlib
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: User setting: zlib include path is specified.
MA5-DEBUG: look for pattern /usr/include/zlib.h ...
MA5-DEBUG: -> found: /usr/include/zlib.h
MA5-DEBUG: User setting: zlib lib path is specified.
MA5-DEBUG: look for pattern /usr/lib/libz.so ...
MA5-DEBUG: -> found: /usr/lib/libz.so
MA5-DEBUG: look for pattern /usr/lib/libz.a ...
MA5-DEBUG: -> found: /usr/lib/libz.a
MA5-DEBUG: look for pattern /usr/lib/libz.so.* ...
MA5-DEBUG: -> found: /usr/lib/libz.so.1
MA5-DEBUG: -> found: /usr/lib/libz.so.1.2.11
MA5-DEBUG: Saving informations ...
MA5: - Zlib [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package fastjet
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: Detection of the package in the "tools" folder ...
MA5-DEBUG: Look for FastJet in the folder here:/home/rebecca_riley/analysis2/tools/fastjet/bin/fastjet-config ...
MA5-DEBUG: -> not found
MA5-DEBUG: Try to detect automatically the package ...
MA5: - FastJet [DISABLED]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package root
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: Detection of the package in the "tools" folder ...
MA5-DEBUG: Detecting root-config in the tools folder ...
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/bin/root-config [is it a link? False]
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/root-config
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: Trying to get library and header paths ...
MA5-DEBUG: -> root-config found
MA5-DEBUG: -> root version: 6.12.04
MA5-DEBUG: -> root header folder: /usr/include/root
MA5-DEBUG: -> root library folder: /usr/lib/root
MA5-DEBUG: Try to find /usr/lib/root/libCore.so ...
MA5-DEBUG: Try to find /usr/include/root/TH1F.h ...
MA5-DEBUG: features: ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml']
MA5-DEBUG: C++ compiler: c++
MA5-DEBUG: Saving informations ...
MA5: - Root [OK]
MA5-DEBUG: Delphes
MA5-DEBUG: Look for Delphes in the folder /home/rebecca_riley/analysis2/tools ...
MA5-DEBUG: -> not found
MA5: - Delphes [DISABLED]
MA5-DEBUG: Delphes-MA5tune
MA5-DEBUG: Look for Delphes-MA5tune in the folder /home/rebecca_riley/analysis2/tools ...
MA5-DEBUG: -> not found
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking optional packages devoted to histogramming:
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package root_graphical
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: Saving informations ...
MA5: - Root [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package matplotlib
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Try to detect automatically the package ...
MA5: - Matplotlib [DISABLED]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package pdflatex
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/bin/pdflatex
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/pdflatex
MA5-DEBUG: Saving informations ...
MA5: - pdflatex [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package latex
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/bin/latex
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/latex
MA5-DEBUG: Saving informations ...
MA5: - latex [OK]
MA5-DEBUG: Function AutoSetGraphicalRenderer:
MA5-DEBUG: - ROOT is there: True
MA5-DEBUG: - Matplotlib is there: False
MA5: Package used for graphical rendering: Root
MA5-DEBUG: Creating symbolic link from /usr/bin/root-config
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.a
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.a
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so.1
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1 ...
MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so.1.2.11
MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1.2.11 ...
MA5-DEBUG: -------- BEGIN: set environment variables --------
MA5-DEBUG: before PATH=/home/rebecca_riley/graph1/bin/py2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
MA5-DEBUG: --------
MA5-DEBUG: after PATH=/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin:/usr/bin:/home/rebecca_riley/graph1/bin/py2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
MA5-DEBUG: --------
MA5-DEBUG: before LD_LIBRARY_PATH=
MA5-DEBUG: --------
MA5-DEBUG: after LD_LIBRARY_PATH=/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib:/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib:/usr/lib/root::
MA5-DEBUG: --------
MA5-DEBUG: before DYLD_LIBRARY_PATH=
MA5-DEBUG: --------
MA5-DEBUG: after DYLD_LIBRARY_PATH=
MA5-DEBUG: --------
MA5-DEBUG: -------- END: set environment variables --------
MA5: Checking the MadAnalysis 5 core library:
MA5-DEBUG: -> looking for folder: /tools/SampleAnalyzer/Lib
MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/architecture.ma5
MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib/libcommons_for_ma5.so
MA5-DEBUG: -> loading the architecture file.
MA5-DEBUG: Compare 2 ArchitureInfo objects:
MA5-DEBUG: The current one (number of items=50):
MA5-DEBUG: {'root_bin_path': '/usr/bin', 'root_original_bins': ['/usr/bin/root-config'], 'fastjet_bin_path': '', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '12', '04'], 'fastjet_original_bins': [], 'toPATH2': [], 'python_version': '2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '7.2.1', 'toPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin', '/usr/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': [], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/usr/include/root/TH1F.h:1513150062.0', 'libCore.so': '/usr/lib/root/libCore.so:1517388763.98', 'ZLib': '/usr/lib/libz.so:1499892514.0'}, 'platform': 'Linux', 'zlib_original_libs': ['/usr/lib/libz.a', '/usr/lib/libz.so', '/usr/lib/libz.so', '/usr/lib/libz.a', '/usr/lib/libz.so.1', '/usr/lib/libz.so.1.2.11'], 'root_inc_path': '/usr/include/root', 'delphes_inc_paths': [], 'zlib_lib': '/usr/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/usr/include', 'zlib_lib_path': '/usr/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/rebecca_riley/analysis2', 'root_lib_path': '/usr/lib/root', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib', '/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib', '/usr/lib/root'], 'zlib_priority': True, 'ma5_date': '2016/12/30', 'make_version': 'GNU Make 4.2.1', 'ma5_version': '1.5', 'has_fastjet': False, 'release': '4.14.15-1-MANJARO', 'isMac': False}
MA5-DEBUG: The other one (number of items=50):
MA5-DEBUG: {'root_bin_path': '/usr/bin', 'root_original_bins': ['/usr/bin/root-config'], 'fastjet_bin_path': '', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '12', '04'], 'fastjet_original_bins': [], 'toPATH2': [], 'python_version': '2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '7.2.1', 'toPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin', '/usr/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': [], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/usr/include/root/TH1F.h:1513150062.0', 'libCore.so': '/usr/lib/root/libCore.so:1517388763.98', 'ZLib': '/usr/lib/libz.so:1499892514.0'}, 'platform': 'Linux', 'zlib_original_libs': ['/usr/lib/libz.a', '/usr/lib/libz.so', '/usr/lib/libz.so', '/usr/lib/libz.a', '/usr/lib/libz.so.1', '/usr/lib/libz.so.1.2.11'], 'root_inc_path': '/usr/include/root', 'delphes_inc_paths': [], 'zlib_lib': '/usr/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/usr/include', 'zlib_lib_path': '/usr/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/rebecca_riley/analysis2', 'root_lib_path': '/usr/lib/root', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib', '/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib', '/usr/lib/root'], 'zlib_priority': True, 'ma5_date': '2016/12/30', 'make_version': 'GNU Make 4.2.1', 'ma5_version': '1.5', 'has_fastjet': False, 'release': '4.14.15-1-MANJARO', 'isMac': False}
MA5-DEBUG: The comparison of categorie names -> OK
MA5-DEBUG: The comparison of categorie values:
MA5-DEBUG: -> OK
MA5: => MadAnalysis libraries found.
MA5-DEBUG: Command: ./TestSampleAnalyzer /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Test/Process/dummy_list.txt
MA5-DEBUG: LogFile: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Bin/TestSampleAnalyzer.log
MA5-DEBUG: LogFile: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Bin/TestSampleAnalyzer.log
MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
MA5-DEBUG: Analyzing output file: OK -> End Stamp
MA5: => MadAnalysis test program works.

Benjamin Fuks (fuks) said : #5

Hi Rebecca,

It seems the code is messed up because of the presencce of two versions of zlib on your computer. I will let Eric (in cc) take care of this problem as I will be pretty busy for the next 15 days.

Regards,

Benjamin

> On 1 Feb 2018, at 19:22 , Rebecca Riley <email address hidden> wrote:
>
> Question #663915 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/663915
>
> Status: Answered => Open
>
> Rebecca Riley is still having a problem:
> MA5-DEBUG:
> MA5-DEBUG: DEBUG MODE ACTIVATED
> MA5-DEBUG:
> MA5: Platform: Linux 4.14.15-1-MANJARO [Linux mode]
> MA5-DEBUG:
> MA5-DEBUG: Machine - Cross platform information
> MA5-DEBUG: Machine type: x86_64
> MA5-DEBUG: Processor name:
> MA5-DEBUG: Platform: Linux-4.14.15-1-MANJARO-x86_64-with-glibc2.2.5
> MA5-DEBUG: Platform release: 4.14.15-1-MANJARO
> MA5-DEBUG: System: Linux
> MA5-DEBUG: Node: riley-linux
> MA5-DEBUG: Number of cores: 4
> MA5-DEBUG:
> MA5-DEBUG: Machine - OS-specific information
> MA5-DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
> MA5-DEBUG: Windows version: ('', '', '', '')
> MA5-DEBUG: Mac Os version: ('', ('', '', ''), '')
> MA5-DEBUG: Unix distribution: Linux-4.14.15-1-MANJARO-x86_64-with-glibc2.2.5
> MA5-DEBUG:
> MA5: Reading user settings ...
> MA5-DEBUG: Opening the file: /home/rebecca_riley/analysis2/madanalysis/input/installation_options.dat
> MA5-DEBUG: Lines to interpret:
> MA5-DEBUG: - zlib_includes = /usr/include
> MA5-DEBUG: - zlib_libs = /usr/lib
> MA5-DEBUG: Closing the file: /home/rebecca_riley/analysis2/madanalysis/input/installation_options.dat
> MA5-DEBUG:
> MA5-DEBUG: User
> MA5-DEBUG: User name: rebecca_riley
> MA5-DEBUG: User ID: 1000
> MA5-DEBUG: Expanding folder ~/: /home/rebecca_riley/
> MA5-DEBUG: Variable $USER: rebecca_riley
> MA5-DEBUG: Variable $USERNAME:
> MA5-DEBUG: Variable $LNAME:
> MA5-DEBUG: Variable $LOGNAME: rebecca_riley
> MA5-DEBUG: Variable $HOME: /home/rebecca_riley
> MA5-DEBUG: Variable $HOMEDRIVE:
> MA5-DEBUG: Variable $posix:
> MA5-DEBUG: Variable $HOMEPATH:
> MA5-DEBUG:
> MA5-DEBUG: Web access
> MA5-DEBUG: enable
> MA5-DEBUG:
> MA5-DEBUG: Temporary folder
> MA5-DEBUG: Variable $TMPDIR:
> MA5-DEBUG: Variable $TMP:
> MA5-DEBUG: Variable $TEMP:
> MA5-DEBUG: Check if the folder /tmp/rebecca_riley exists ...
> MA5-DEBUG: -> found
> MA5-DEBUG: temporary folder will be used for MA5: /tmp/rebecca_riley
> MA5-DEBUG:
> MA5-DEBUG: Download dir
> MA5-DEBUG: Check if the folder /tmp/rebecca_riley/MA5_downloads exists ...
> MA5-DEBUG: -> found
> MA5-DEBUG: download folder will be used for MA5: /tmp/rebecca_riley/MA5_downloads
> MA5-DEBUG:
> MA5-DEBUG: Text editor
> MA5-DEBUG: Look for the global variable $EDITOR ...
> MA5-DEBUG: -> variable $EDITOR found : /usr/bin/nano
> MA5-DEBUG:
> MA5: Checking mandatory packages:
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package python
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG:
> MA5-DEBUG: Python release: 2.7.14
> MA5-DEBUG: Python build: ('default', 'Jan 5 2018 10:41:29')
> MA5-DEBUG: Python compiler: GCC 7.2.1 20171224
> MA5-DEBUG: Python prefix: /home/rebecca_riley/graph1/bin/py2
> MA5-DEBUG: Python executable used: /home/rebecca_riley/graph1/bin/py2/bin/python
> MA5-DEBUG: sys.executable: /home/rebecca_riley/graph1/bin/py2/bin/python
> MA5-DEBUG: which: /home/rebecca_riley/graph1/bin/py2/bin/python
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/bin/python
> MA5-DEBUG: - /usr/bin/python
> MA5-DEBUG: Python internal paths:
> MA5-DEBUG: - /home/rebecca_riley/analysis2/tools/ReportGenerator/Services
> MA5-DEBUG: - /home/rebecca_riley/analysis2
> MA5-DEBUG: - /home/rebecca_riley/analysis2/bin
> MA5-DEBUG: - /usr/lib/root
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python27.zip
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/plat-linux2
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-tk
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-old
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/lib-dynload
> MA5-DEBUG: - /usr/lib64/python2.7
> MA5-DEBUG: - /usr/lib/python2.7
> MA5-DEBUG: - /usr/lib/python2.7/plat-linux2
> MA5-DEBUG: - /usr/lib64/python2.7/lib-tk
> MA5-DEBUG: - /usr/lib/python2.7/lib-tk
> MA5-DEBUG: - /home/rebecca_riley/graph1/bin/py2/lib/python2.7/site-packages
> MA5-DEBUG: $PYTHONPATH:
> MA5-DEBUG: - /usr/lib/root
> MA5-DEBUG:
> MA5-DEBUG: Saving informations ...
> MA5: - Python [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package gpp
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/bin/g++
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/bin/g++
> MA5-DEBUG: version: 7.2.1
> MA5-DEBUG: search path for headers:
> MA5-DEBUG: - /usr/include/c++/7.2.1
> MA5-DEBUG: - /usr/include/c++/7.2.1/x86_64-pc-linux-gnu
> MA5-DEBUG: - /usr/include/c++/7.2.1/backward
> MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/include
> MA5-DEBUG: - /usr/local/include
> MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/include-fixed
> MA5-DEBUG: - /usr/include
> MA5-DEBUG: search path for libraries:
> MA5-DEBUG: - /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: - /lib
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: - /lib
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: Saving informations ...
> MA5: - GNU GCC g++ [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package make
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/bin/make
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/bin/make
> MA5-DEBUG: version: GNU Make 4.2.1
> MA5-DEBUG: Saving informations ...
> MA5: - GNU Make [OK]
> MA5: Checking optional packages devoted to data processing:
> MA5-DEBUG: zlib
> MA5-DEBUG: User setting: zlib include path is specified: /usr/include
> MA5-DEBUG: User setting: zlib lib path is specified: /usr/lib
> MA5-DEBUG: Look for the file /usr/include/zlib.h ...
> MA5-DEBUG: -> found
> MA5-DEBUG: Look for the libraries in folder /usr/lib ...
> MA5-DEBUG: -> result: /usr/lib/libz.a
> MA5: - Zlib [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package zlib
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: User setting: zlib include path is specified.
> MA5-DEBUG: look for pattern /usr/include/zlib.h ...
> MA5-DEBUG: -> found: /usr/include/zlib.h
> MA5-DEBUG: User setting: zlib lib path is specified.
> MA5-DEBUG: look for pattern /usr/lib/libz.so ...
> MA5-DEBUG: -> found: /usr/lib/libz.so
> MA5-DEBUG: look for pattern /usr/lib/libz.a ...
> MA5-DEBUG: -> found: /usr/lib/libz.a
> MA5-DEBUG: look for pattern /usr/lib/libz.so.* ...
> MA5-DEBUG: -> found: /usr/lib/libz.so.1
> MA5-DEBUG: -> found: /usr/lib/libz.so.1.2.11
> MA5-DEBUG: Saving informations ...
> MA5: - Zlib [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package fastjet
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: Detection of the package in the "tools" folder ...
> MA5-DEBUG: Look for FastJet in the folder here:/home/rebecca_riley/analysis2/tools/fastjet/bin/fastjet-config ...
> MA5-DEBUG: -> not found
> MA5-DEBUG: Try to detect automatically the package ...
> MA5: - FastJet [DISABLED]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package root
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: Detection of the package in the "tools" folder ...
> MA5-DEBUG: Detecting root-config in the tools folder ...
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/bin/root-config [is it a link? False]
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/bin/root-config
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: Trying to get library and header paths ...
> MA5-DEBUG: -> root-config found
> MA5-DEBUG: -> root version: 6.12.04
> MA5-DEBUG: -> root header folder: /usr/include/root
> MA5-DEBUG: -> root library folder: /usr/lib/root
> MA5-DEBUG: Try to find /usr/lib/root/libCore.so ...
> MA5-DEBUG: Try to find /usr/include/root/TH1F.h ...
> MA5-DEBUG: features: ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml']
> MA5-DEBUG: C++ compiler: c++
> MA5-DEBUG: Saving informations ...
> MA5: - Root [OK]
> MA5-DEBUG: Delphes
> MA5-DEBUG: Look for Delphes in the folder /home/rebecca_riley/analysis2/tools ...
> MA5-DEBUG: -> not found
> MA5: - Delphes [DISABLED]
> MA5-DEBUG: Delphes-MA5tune
> MA5-DEBUG: Look for Delphes-MA5tune in the folder /home/rebecca_riley/analysis2/tools ...
> MA5-DEBUG: -> not found
> MA5: - Delphes-MA5tune [DISABLED]
> MA5: Checking optional packages devoted to histogramming:
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package root_graphical
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: Saving informations ...
> MA5: - Root [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package matplotlib
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Try to detect automatically the package ...
> MA5: - Matplotlib [DISABLED]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package pdflatex
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/bin/pdflatex
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/bin/pdflatex
> MA5-DEBUG: Saving informations ...
> MA5: - pdflatex [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package latex
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/bin/latex
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/bin/latex
> MA5-DEBUG: Saving informations ...
> MA5: - latex [OK]
> MA5-DEBUG: Function AutoSetGraphicalRenderer:
> MA5-DEBUG: - ROOT is there: True
> MA5-DEBUG: - Matplotlib is there: False
> MA5: Package used for graphical rendering: Root
> MA5-DEBUG: Creating symbolic link from /usr/bin/root-config
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.a
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.a
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so.1
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1 ...
> MA5-DEBUG: Creating symbolic link from /usr/lib/libz.so.1.2.11
> MA5-DEBUG: to /home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1.2.11 ...
> MA5-DEBUG: -------- BEGIN: set environment variables --------
> MA5-DEBUG: before PATH=/home/rebecca_riley/graph1/bin/py2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
> MA5-DEBUG: --------
> MA5-DEBUG: after PATH=/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin:/usr/bin:/home/rebecca_riley/graph1/bin/py2/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
> MA5-DEBUG: --------
> MA5-DEBUG: before LD_LIBRARY_PATH=
> MA5-DEBUG: --------
> MA5-DEBUG: after LD_LIBRARY_PATH=/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib:/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib:/usr/lib/root::
> MA5-DEBUG: --------
> MA5-DEBUG: before DYLD_LIBRARY_PATH=
> MA5-DEBUG: --------
> MA5-DEBUG: after DYLD_LIBRARY_PATH=
> MA5-DEBUG: --------
> MA5-DEBUG: -------- END: set environment variables --------
> MA5: Checking the MadAnalysis 5 core library:
> MA5-DEBUG: -> looking for folder: /tools/SampleAnalyzer/Lib
> MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
> MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/architecture.ma5
> MA5-DEBUG: -> looking for file: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib/libcommons_for_ma5.so
> MA5-DEBUG: -> loading the architecture file.
> MA5-DEBUG: Compare 2 ArchitureInfo objects:
> MA5-DEBUG: The current one (number of items=50):
> MA5-DEBUG: {'root_bin_path': '/usr/bin', 'root_original_bins': ['/usr/bin/root-config'], 'fastjet_bin_path': '', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '12', '04'], 'fastjet_original_bins': [], 'toPATH2': [], 'python_version': '2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '7.2.1', 'toPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin', '/usr/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': [], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/usr/include/root/TH1F.h:1513150062.0', 'libCore.so': '/usr/lib/root/libCore.so:1517388763.98', 'ZLib': '/usr/lib/libz.so:1499892514.0'}, 'platform': 'Linux', 'zlib_original_libs': ['/usr/lib/libz.a', '/usr/lib/libz.so', '/usr/lib/libz.so', '/usr/lib/libz.a', '/usr/lib/libz.so.1', '/usr/lib/libz.so.1.2.11'], 'root_inc_path': '/usr/include/root', 'delphes_inc_paths': [], 'zlib_lib': '/usr/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/usr/include', 'zlib_lib_path': '/usr/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/rebecca_riley/analysis2', 'root_lib_path': '/usr/lib/root', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib', '/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib', '/usr/lib/root'], 'zlib_priority': True, 'ma5_date': '2016/12/30', 'make_version': 'GNU Make 4.2.1', 'ma5_version': '1.5', 'has_fastjet': False, 'release': '4.14.15-1-MANJARO', 'isMac': False}
> MA5-DEBUG: The other one (number of items=50):
> MA5-DEBUG: {'root_bin_path': '/usr/bin', 'root_original_bins': ['/usr/bin/root-config'], 'fastjet_bin_path': '', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '12', '04'], 'fastjet_original_bins': [], 'toPATH2': [], 'python_version': '2.7.14 (default, Jan 5 2018, 10:41:29) [GCC 7.2.1 20171224]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '7.2.1', 'toPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Bin', '/usr/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': [], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/usr/include/root/TH1F.h:1513150062.0', 'libCore.so': '/usr/lib/root/libCore.so:1517388763.98', 'ZLib': '/usr/lib/libz.so:1499892514.0'}, 'platform': 'Linux', 'zlib_original_libs': ['/usr/lib/libz.a', '/usr/lib/libz.so', '/usr/lib/libz.so', '/usr/lib/libz.a', '/usr/lib/libz.so.1', '/usr/lib/libz.so.1.2.11'], 'root_inc_path': '/usr/include/root', 'delphes_inc_paths': [], 'zlib_lib': '/usr/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'builtin_llvm', 'builtin_lz4', 'cling', 'cxx14', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'gnuinstall', 'gsl_shared', 'http', 'imt', 'mathmore', 'minuit2', 'mysql', 'opengl', 'pch', 'pgsql', 'python', 'python3', 'roofit', 'root7', 'shared', 'sqlite', 'ssl', 'thread', 'tmva', 'unuran', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/usr/include', 'zlib_lib_path': '/usr/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/rebecca_riley/analysis2', 'root_lib_path': '/usr/lib/root', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/rebecca_riley/analysis2/tools/SampleAnalyzer/Lib', '/home/rebecca_riley/analysis2/tools/SampleAnalyzer/ExternalSymLink/Lib', '/usr/lib/root'], 'zlib_priority': True, 'ma5_date': '2016/12/30', 'make_version': 'GNU Make 4.2.1', 'ma5_version': '1.5', 'has_fastjet': False, 'release': '4.14.15-1-MANJARO', 'isMac': False}
> MA5-DEBUG: The comparison of categorie names -> OK
> MA5-DEBUG: The comparison of categorie values:
> MA5-DEBUG: -> OK
> MA5: => MadAnalysis libraries found.
> MA5-DEBUG: Command: ./TestSampleAnalyzer /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Test/Process/dummy_list.txt
> MA5-DEBUG: LogFile: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Bin/TestSampleAnalyzer.log
> MA5-DEBUG: LogFile: /home/rebecca_riley/analysis2/tools/SampleAnalyzer/Bin/TestSampleAnalyzer.log
> MA5-DEBUG: Analyzing output file: OK -> Begin Stamp found
> MA5-DEBUG: Analyzing output file: OK -> End Stamp
> MA5: => MadAnalysis test program works.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Rebecca Riley (r-riley) said : #6

Hi Benjamin/Eric,

One of my colleagues was able to solve her problem by including the full path (~/analysis2/samples/zz.lhe.gz), which worked for me as well. Unzipped .lhe files (~/analysis2/samples/zz.lhe) are fine also.

Any thoughts as to why the full path is necessary here? Again, I had no problems using the partial path (samples/zz.lhe.gz) prior to installing root.

Best,
RR

Rebecca Riley (r-riley) said : #7

After playing around some more, failures to load seem to be happening quite logically based on from which directory ma5 is run.

'import <full path>' works from anywhere: e.g. when running ./analysis2/bin/ma5 (from home), ./bin/ma5 (from ~/analysis2), or ./ma5 (from ~/analysis2/bin).

Partial paths work as long as they continue the path of the directory from which you are running to create the full path -- that is, <path of directory you're running from> + <partial path> = <full path>.
Running from ~/analysis2: 'import /samples/zz.lhe.gz' works (imports ~/analysis2/samples/zz.lhe.gz).
After copying ma5 to /samples and running from ~/analysis2/samples: 'import zz.lhe.gz' works (imports ~/analysis2/samples/zz.lhe.gz).

Perhaps the better question, then, is why 'import samples/zz.lhe.gz' always worked previously, regardless of the directory from which I was running ma5?

Cheers,
RR

Benjamin Fuks (fuks) said : #8

> Hi Rebecca

> Perhaps the better question, then, is why 'import samples/zz.lhe.gz'
> always worked previously, regardless of the directory from which I was
> running ma5?
It was not supposed to...

Cheers,

B>