MadAnalysis5 V 1.7.alpha/ V 1.6 error in linking the project

Asked by Jinku Das on 2018-12-20

Hi,

I'm new to madanalysis5. So, upon launching both versions 1.7.alpha and v_1.6, I get the following process with an error:

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.7.15 2018/11/23 *
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.13.0-46-generic [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 [DISABLED]
MA5: - SciPy [DISABLED]
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: => First use of MadAnalysis (or the library is missing).
MA5:
MA5: **********************************************************
MA5: Building SampleAnalyzer libraries
MA5: **********************************************************
MA5: How many cores for the compiling? default = max = 4
   Answer: 4
MA5: => Number of cores used for the compilation = 4
MA5: Writing the setup files ...
MA5: Writing all the Makefiles ...
MA5: **********************************************************
MA5: Component 1/7 - test program: SampleAnalyzer configuration
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 2/7 - library: SampleAnalyzer commons
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5: - Linking the library ...
MA5: - Checking that the library is properly built ...
MA5: - Cleaning the project after building the library ...
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 3/7 - test program: SampleAnalyzer commons
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 4/7 - library: interface to Root
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5: - Linking the library ...
MA5: - Checking that the library is properly built ...
MA5: - Cleaning the project after building the library ...
MA5: => Status: [OK]
MA5: **********************************************************
MA5: Component 5/7 - test program: interface to Root
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5-ERROR: impossible to link the project. For more details, see the log file:
MA5-ERROR: /home/jinas/SOFTWARE/MadAnalysis/madanalysis5/tools/SampleAnalyzer/Test//linking_root.log
MA5-ERROR: The test program building aborted.

Kindly, help and please tell me what I should do.

regards,
Jinku

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
2018-12-21
Last reply:
2019-01-11
Benjamin Fuks (fuks) said : #1

Hi,

I would need the log file to see what is going on.

Cheers,

Benjamin

> On 20 Dec 2018, at 12:09 , Jinku Das <email address hidden> wrote:
>
> New question #676947 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/676947
>
> Hi,
>
> I'm new to madanalysis5. So, upon launching both versions 1.7.alpha and v_1.6, I get the following process with an error:
>
> 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.7.15 2018/11/23 *
> 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.13.0-46-generic [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 [DISABLED]
> MA5: - SciPy [DISABLED]
> 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: => First use of MadAnalysis (or the library is missing).
> MA5:
> MA5: **********************************************************
> MA5: Building SampleAnalyzer libraries
> MA5: **********************************************************
> MA5: How many cores for the compiling? default = max = 4
> Answer: 4
> MA5: => Number of cores used for the compilation = 4
> MA5: Writing the setup files ...
> MA5: Writing all the Makefiles ...
> MA5: **********************************************************
> MA5: Component 1/7 - test program: SampleAnalyzer configuration
> MA5: - Cleaning the project before building the test program ...
> MA5: - Compiling the source files ...
> MA5: - Linking the test program ...
> MA5: - Checking that the test program is properly built ...
> MA5: - Cleaning the project after building the test program ...
> MA5: - Running the test program ...
> MA5: - Checking the program output...
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 2/7 - library: SampleAnalyzer commons
> MA5: - Cleaning the project before building the library ...
> MA5: - Compiling the source files ...
> MA5: - Linking the library ...
> MA5: - Checking that the library is properly built ...
> MA5: - Cleaning the project after building the library ...
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 3/7 - test program: SampleAnalyzer commons
> MA5: - Cleaning the project before building the test program ...
> MA5: - Compiling the source files ...
> MA5: - Linking the test program ...
> MA5: - Checking that the test program is properly built ...
> MA5: - Cleaning the project after building the test program ...
> MA5: - Running the test program ...
> MA5: - Checking the program output...
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 4/7 - library: interface to Root
> MA5: - Cleaning the project before building the library ...
> MA5: - Compiling the source files ...
> MA5: - Linking the library ...
> MA5: - Checking that the library is properly built ...
> MA5: - Cleaning the project after building the library ...
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5: Component 5/7 - test program: interface to Root
> MA5: - Cleaning the project before building the test program ...
> MA5: - Compiling the source files ...
> MA5: - Linking the test program ...
> MA5-ERROR: impossible to link the project. For more details, see the log file:
> MA5-ERROR: /home/jinas/SOFTWARE/MadAnalysis/madanalysis5/tools/SampleAnalyzer/Test//linking_root.log
> MA5-ERROR: The test program building aborted.
>
>
>
> Kindly, help and please tell me what I should do.
>
> regards,
> Jinku
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Jinku Das (jinas7754) said : #2

Sure, Sir. Please have a look.

*********** linking_root.log ***********

c++ Root/Test.o -L/home/jinas/SOFTWARE/MadAnalysis/madanalysis5/tools/SampleAnalyzer/Lib -L/home/jinas/SOFTWARE/MadAnalysis/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lroot_for_ma5 -L/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTDataFrame -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -L/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTDataFrame -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -o ../Bin/TestRoot
/usr/bin/ld: warning: libtbb.so.2, needed by /home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so, not found (try using -rpath or -rpath-link)
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_group_context::cancel_group_execution()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::interface5::internal::task_base::destroy(tbb::task&)'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_scheduler_init::initialize(int)'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task::note_affinity(unsigned short)'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_group_context::is_group_execution_cancelled() const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_continuation_proxy::allocate(unsigned long) const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_scheduler_init::terminate()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `typeinfo for tbb::task'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_group_context::reset()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_group_context::init()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned long) const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_scheduler_init::default_num_threads()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::get_initial_auto_partitioner_divisor()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_scheduler_init::initialize(int, unsigned long)'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::task_group_context::~task_group_context()'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_child_proxy::allocate(unsigned long) const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned long) const'
/home/jinas/SOFTWARE/ROOT/root-6.14.04/lib/libImt.so: undefined reference to `tbb::internal::allocate_additional_child_of_proxy::free(tbb::task&) const'
collect2: error: ld returned 1 exit status
Makefile_root:102: recipe for target 'link' failed
make: *** [link] Error 1

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Benjamin Fuks (fuks) said : #4

We will take care of this. Sorry for being slow.

Eric Conte (eric-conte) said : #5

Dear Jinku,

All my best wishes for this new year !

I am sorry for my late answer. The problem is coming from the installation of ROOT. It seems that a package required by the new releases of ROOT is missing. The first way to fix the issue should be to install the missing package with a command like:

yum install tbb tbb-devel

or

apt-get install libtbb-dev

Please could you try to install this package and see if the problem is solved? Else I need to patch MadAnalysis in order to avoiding the use of library libImt...

Cheesr,
Eric

Can you help with this problem?

Provide an answer of your own, or ask Jinku Das for more information if necessary.

To post a message you must log in.