redirecting hepmc output with FIFO

Asked by Richard Ruiz

Hi Folks,

I am wondering if it is yet possible (even unofficially with a hack) to redirect aMC@NLO hepmc output directly to an analysis. I am hoping to have a very nice, healthy pp->tb @NLO data set (= ~500k events), but the output data set is of course prohibitively large.

This was previous asked a couple years ago [1] but no solution was available at the time.

[1] https://answers.launchpad.net/mg5amcnlo/+question/254948

best,
richard

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
Eric Conte Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#1

Yes, this is also a new feature we introduced for LO Pythia8 shower in 2.5.0+.

All you need to do is modify the value of the HEPMC parameter in the pythia8_card.dat.
In this card there are clear (hopefully) explanations as to what value you can enter, but in principle you should simply specify 'fifo' and when starting Pythia8 it will automatically create a fifo file in the run_<xxx> directory and will instruct PY8 to direct the HEPMC output to it.

Then Pythia8 will write an HEPMC event to this fifo file and halt until it is read. From the MG5aMC side, two things can happen:

a) If you haven't turned on MadAnalysis5 hadron-level analysis, then MG5aMC will hang there, with a message informing you of the path of the fifo file created and "hooked" to Pythia8.
You are then free to launch the analysis tool of your liking on this fifo file and then your analysis and PY8 will start running asynchronously. I tested this with rivet and it works fine.
Remember that you can of course restart a new fifo stream at any point (without re-generating events) with
./bin/mg5
MG5aMC> launch <PROC_OUTPUT> -i
MG5aMC> shower Pythia8 run_<xxx>

At this point, you can unfortunately not start *simultaneously* several fifo streams from the same process output, since we don't support concurrent MadEvent operations.

b) If you have turned on a MadAnalysis5 hadron-level analysis, then MA5 will start automatically on this fifo file and the two will run together. In this case then, you can of course not run your independent analysis on top (for obvious reason only one analysis at a time an be hooked up to the fifo).

I think this is a neat feature of this latest version (that I personally pushed for), so don't hesitate to provide feedback on it so that I can fix any problem you have with it.

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#2

I just realized that you were talking about aMC@NLO, sorry. It's ok, the previous answer will serve as reference for people interested in this feature at LO

Then the world is not as bright at NLO, but it is still possible to do. Here are your two options for bypassing the hepmc file at NLO:

a)

If you want to code your own shower analysis (maybe starting from one of the examples in '<PROC_OUTPUT>/MCatNLO/PY8Analyzer') you can specify it in the NLO shower_card.
The Pythia8 driver will automatically link against this analysis which will create a '.HwU' file which is our histograms format that can be rendered with './madgraph/various/histograms.py'. (it will be rendered automatically when the shower is steered by MG5aMC).
For example, for the process p p > e+ ve [QCD], you can set:

ANALYSE = py8an_HwU_pp_lvl.o HwU.o

And only plots will be created, no hepmc files. This forces you to use your handwritten fortran code for the hadron analysis, which is probably not what you want to do.

b)
This option is if you want to use a fifo file to hook up any analysis tool.
When you run the shower at NLO (with no analysis specified in the shower_card), it will create the following directory:

<PROC_OUTPUT>/MCatNLO/RUN_PYTHIA8_<xxx>

When the shower starts you can stop it (with crtl-c).
You can then go to this directory and remove the file "Pythia8.hep" (if present) and recreate it as a fifo with

mkfifo Pythia8.hep

You can then run the shower in that directory with

./Pythia8.exe

(make sure that the symlink 'events.lhe' points to a valid path. I might not be the case if the target of the symlink as been gzipped already. If this is the case, simply unzip it or copy it locally).
Normally, this executable should hang when it will start to write the first event in the fifo file (I checked that PY8 is smart enough to realize that the target output is a fifo file and does not overwrite to a hard file).

You can then hook up your analysis to this fifo in a separate thread.

I hope this helps.

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#3

Finally, let me stress that you should refrain from running the Pythia8 shower independently of MG5aMC on the LesHouches event file created because you must make sure that Pythia8 parameters have been setup accordingly so as to be consistent with the MC counterterms used for the parton level event generation.
This is why my procedure above is safer as it guarantees this consistency.

Revision history for this message
Richard Ruiz (rruiz) said :
#4

Hi Valentine,

Thanks for the answer! It will take time to digest and go throw everything myself, but I now know where to start!

cheers

Revision history for this message
Richard Ruiz (rruiz) said :
#5

Hi Valentin,

Just a quick update. After chatting with Benjamin Fuks, I learned that one needs either the version of MA5 presently available via MG5 or one that will not be released until Spring/Summer 2017. Additionally, the MA5 input requires "fifo" extension.

That said, the procedure for fifo-ing aMC@NLO is straightforward:

1. Stop PY8 mid-shower as described in (b) above.
2. Create fifo pipe for Pythia8.hep: $ mkfifo Pythia8.hep
3. Create (symbolic) link for MA5: $ ln -s ~/.../Pythia8.hep ~/.../outputname.hepmc.fifo
4. Run MA5 as usual

best,
richard

Revision history for this message
Richard Ruiz (rruiz) said :
#6

Just tossing this out there for Benj and Eric, but whatever was done in MA5 1.5.24 (current internal MG5 release) since MA5 1.5.21 broke the fifo feature. See below for details. Indeed swapping versions fixes things.

Best,
Richard

Importing files still works but things break when trying to run/submit:
...
...
....
ma5>import ./MCData/fifo_pp_ww_nlops.hepmc.fifo as pp_X_Ylops
MA5: -> Storing the file 'fifo_pp_ww_nlops.hepmc.fifo' in the dataset 'pp_X_Ylops'.
ma5>submit
MA5: Creating folder 'ANALYSIS_2'...
MA5: Copying 'SampleAnalyzer' source files...
MA5: Inserting your selection into 'SampleAnalyzer'...
MA5: Writing the list of datasets...
MA5: Writing the command line history...
MA5: Creating Makefiles...
MA5: Compiling 'SampleAnalyzer'...
MA5: Linking 'SampleAnalyzer'...
MA5: Running 'SampleAnalyzer' over dataset 'pp_x_ylops'...
MA5: *******************************************************
    * SampleAnalyzer for MadAnalysis 5 - Welcome.
    * Initializing all components
      - version: 1.5.24 (2016/10/28)
      - general: everything is default.
      - extracting the list of event samples...
      - analyzer 'MadAnalysis5job'
      - writer corresponding to output file 'sm_pp_X_nlops.lhe'
      - jet clusterer 'anti kt'
        with algo: R=1 ; p=-1 ; PTmin=0
        with bjet: dR=0.4 ; Exclusive ; IDeff=1 ; MisID(c)=0 ; MisID(q)=0
        with tau: IDeff=1 ; MisID(q)=0
    * Running over files ...
    * 1/1 /.../fifo_pp_ww_nlops.hepmc.fifo
ERROR: the format of the input file is not supported. The file is skipped.
    * Finalizing all components ...
    * Total number of processed events: 0.
    * Goodbye.

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#7

I assigned this issue to Benjamin Fuks so that he can have a look at it.

Revision history for this message
Benjamin Fuks (fuks) said :
#8

Hi Richard,

Are you running everything from inside aMC, or are you running the different codes locally? The latter case has never been tested and it may indeed crash. Do you mind sending me the exact details so that I could reproduce all the steps locally. Note that I may be mostly without internet until Dec 11th.

Cheers,

Benj

Revision history for this message
Richard Ruiz (rruiz) said :
#9

Hi Benjamin,

I went ahead and tried a fresh installation of MGaMC + PY8 + MA5 to make sure this was reproducible. Below are my terminal, MG, and MA histories. Again, this seems to be limited to 1.5.24, but okay in 1.5.21.

I found this because I was trying to scale up production to a local cluster (of a certain time-sensitive project) but could not reproduce my laptop's setup. Copying MA5 from my computer to the cluster fixed the problem. This issue is not critical for me (us) since I have a workaround. Let me know if you need additional information.

Best,
richard

$ history

 4640 wget https://launchpad.net/mg5amcnlo/2.0/2.5.x/+download/MG5_aMC_v2.5.1.tar.gz
 4641 tar -zxvf MG5_aMC_v2.5.1.tar.gz
 4642 cd MG5_aMC_v2_5_1/
 4643 ./bin/mg5_aMC

from the PROC card:

install hepmc
install pythia8
install MadAnalysis5
import model loop_sm
generate p p > mu+ vm [QCD]
output Test_pp_mv_NLO

Here is where I follow Valentine's instructions from above:

 4650 cd MCatNLO/RUN_PYTHIA8_1/
 4651 ls
 4652 mkfifo Pythia8.hep
 4653 ./Pythia8.exe >> py8.log &

Here is where I head to the MA5 directory:

 4654 cd ./../../../HEPTools/madanalysis5/madanalysis5/
 4655 ls
 4656 mkdir MCData
 4657 cd MCData/
 4658 ln -s ~/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/Test_pp_mv_NLO/MCatNLO/RUN_PYTHIA8_1/Pythia8.hep ./sm_pp_mv_NLOPS.hepmc.fifo
 4659 cd ./..
 4660 ./bin/ma5 -R

From MA5:

ma5># Set fastjet algo
ma5>set main.fastsim.package = fastjet
ma5>set main.fastsim.algorithm = antikt
ma5>set main.fastsim.radius = 0.4
ma5>set main.fastsim.ptmin = 0.0
ma5>
ma5># set bjet ID
ma5>set main.fastsim.bjet_id.efficiency = 1.0
ma5>set main.fastsim.bjet_id.matching_dr = 0.4
ma5>set main.fastsim.bjet_id.misid_ljet = 0.0
ma5>set main.fastsim.bjet_id.misid_cjet = 0.0
ma5>
ma5># set tau ID
ma5>set main.fastsim.tau_id.efficiency = 1.0
ma5>set main.fastsim.tau_id.misid_ljet = 0.0
ma5>import ./MCData/sm_pp_mv_NLOPS.hepmc.fifo
MA5: -> Storing the file 'sm_pp_mv_NLOPS.hepmc.fifo' in the dataset 'defaultset'.
ma5>submit

.
.
.

MA5: Linking 'SampleAnalyzer'...
 ** ERROR: impossible to link the project. For more details, see the log file:
 ** ERROR: /mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/ANALYSIS_0/Build/Log/linking.log
MA5-ERROR: job submission aborted.
ma5>exit

The output is here:

$ more /.../madanalysis5/ANALYSIS_1/Build/Log/linking.log

c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyz
er/Lib -L/mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lpro
cess_for_ma5 -L/mt/home/rruiz/Packages/lib/root -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lM
ultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
Main/main.o: In function `main':
main.cpp:(.text.startup+0x8c): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
main.cpp:(.text.startup+0x182): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::str
ing, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
main.cpp:(.text.startup+0x5d9): undefined reference to `MA5::SampleAnalyzer::InitializeJetClusterer(std::string const&, std::map<std::string, std::string, std::less<s
td::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
collect2: error: ld returned 1 exit status
make: *** [link] Error 1

Revision history for this message
Benjamin Fuks (fuks) said :
#10

Have you tried in the fully automated mode. I can't do it on my side as pythia8 auto-installation does not work.

Cheers,

Benj

On 30 Nov 2016, at 13:18 , Richard Ruiz <email address hidden> wrote:

> Question #403506 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/403506
>
> Status: Needs information => Open
>
> Richard Ruiz gave more information on the question:
> Hi Benjamin,
>
> I went ahead and tried a fresh installation of MGaMC + PY8 + MA5 to make
> sure this was reproducible. Below are my terminal, MG, and MA histories.
> Again, this seems to be limited to 1.5.24, but okay in 1.5.21.
>
> I found this because I was trying to scale up production to a local
> cluster (of a certain time-sensitive project) but could not reproduce my
> laptop's setup. Copying MA5 from my computer to the cluster fixed the
> problem. This issue is not critical for me (us) since I have a
> workaround. Let me know if you need additional information.
>
>
> Best,
> richard
>
>
> $ history
>
> 4640 wget https://launchpad.net/mg5amcnlo/2.0/2.5.x/+download/MG5_aMC_v2.5.1.tar.gz
> 4641 tar -zxvf MG5_aMC_v2.5.1.tar.gz
> 4642 cd MG5_aMC_v2_5_1/
> 4643 ./bin/mg5_aMC
>
>
> from the PROC card:
>
> install hepmc
> install pythia8
> install MadAnalysis5
> import model loop_sm
> generate p p > mu+ vm [QCD]
> output Test_pp_mv_NLO
>
>
> Here is where I follow Valentine's instructions from above:
>
> 4650 cd MCatNLO/RUN_PYTHIA8_1/
> 4651 ls
> 4652 mkfifo Pythia8.hep
> 4653 ./Pythia8.exe >> py8.log &
>
>
> Here is where I head to the MA5 directory:
>
> 4654 cd ./../../../HEPTools/madanalysis5/madanalysis5/
> 4655 ls
> 4656 mkdir MCData
> 4657 cd MCData/
> 4658 ln -s ~/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/Test_pp_mv_NLO/MCatNLO/RUN_PYTHIA8_1/Pythia8.hep ./sm_pp_mv_NLOPS.hepmc.fifo
> 4659 cd ./..
> 4660 ./bin/ma5 -R
>
>> From MA5:
>
> ma5># Set fastjet algo
> ma5>set main.fastsim.package = fastjet
> ma5>set main.fastsim.algorithm = antikt
> ma5>set main.fastsim.radius = 0.4
> ma5>set main.fastsim.ptmin = 0.0
> ma5>
> ma5># set bjet ID
> ma5>set main.fastsim.bjet_id.efficiency = 1.0
> ma5>set main.fastsim.bjet_id.matching_dr = 0.4
> ma5>set main.fastsim.bjet_id.misid_ljet = 0.0
> ma5>set main.fastsim.bjet_id.misid_cjet = 0.0
> ma5>
> ma5># set tau ID
> ma5>set main.fastsim.tau_id.efficiency = 1.0
> ma5>set main.fastsim.tau_id.misid_ljet = 0.0
> ma5>import ./MCData/sm_pp_mv_NLOPS.hepmc.fifo
> MA5: -> Storing the file 'sm_pp_mv_NLOPS.hepmc.fifo' in the dataset 'defaultset'.
> ma5>submit
>
> .
> .
> .
>
> MA5: Linking 'SampleAnalyzer'...
> ** ERROR: impossible to link the project. For more details, see the log file:
> ** ERROR: /mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/ANALYSIS_0/Build/Log/linking.log
> MA5-ERROR: job submission aborted.
> ma5>exit
>
> The output is here:
>
> $ more /.../madanalysis5/ANALYSIS_1/Build/Log/linking.log
>
> c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyz
> er/Lib -L/mt/home/rruiz/Scripts/MadGraphOffline/Tmp/MG5_aMC_v2_5_1/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lpro
> cess_for_ma5 -L/mt/home/rruiz/Packages/lib/root -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lM
> ultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
> Main/main.o: In function `main':
> main.cpp:(.text.startup+0x8c): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
> main.cpp:(.text.startup+0x182): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::str
> ing, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
> main.cpp:(.text.startup+0x5d9): undefined reference to `MA5::SampleAnalyzer::InitializeJetClusterer(std::string const&, std::map<std::string, std::string, std::less<s
> td::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
> collect2: error: ld returned 1 exit status
> make: *** [link] Error 1
>
> --
> You received this question notification because you are assigned to this
> question.

Revision history for this message
Valentin Hirschi (valentin-hirschi) said :
#11

He's doing things at NLO, this is why he has to do it by hand (i.e. he's following option b) of my second message in this thread).

Anyway, the error you sent Richard seems very clear:
There are some versions of MA5 where this following function

main.cpp:(.text.startup+0x8c): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'

(probably 'std::string const&' being the fifo path) is not defined in the SampleAnalyzer.

So this function seems present in 'MA5 v1.5.21' but no longer in 'MA5 v1.5.24'.
Benj or Eric, could you check this?

Revision history for this message
Eric Conte (eric-conte) said :
#12

Hello,

Effectively, the fifo functionnality was broken in the last release of MadAnalysis5. I have fixed the issue and updated the tarball for MG5. Could you test from your side?

Cheers,
Eric

Revision history for this message
Richard Ruiz (rruiz) said :
#13

Hi Eric,

Thank you for the update. I will test this soon and let you know.

On a slightly unrelated note, it is possible to add a "max absEta" cut on MA5 output? I have in mind the eta equivalent of "main.fastsim.ptmin". If it is not presently possible, is it difficult to add this feature?

best

Revision history for this message
Eric Conte (eric-conte) said :
#14

Hello,

Thank you for accepting the test.

Concerning your question, the line "main.fastsim.ptmin" deals with the setting of the jet clusterer.
If you would like to cut the resulted jets on abseta, you can use the following line :

select ABSETA (j) < 2.5

where 2.5 is the max. Is it what you wished?

Cheers,
Eric

Revision history for this message
Arka Santra (santra-arka) said :
#15

Hello,
  I am facing a similar kind of problem. I have installed MadAnalysis5 from the shell of MadGraph (version v2_5_3) and then ran a sample process.

This is the tag_1_MA5_analysis1.log file:

*************************************************************
* W E L C O M E to M A D A N A L Y S I S 5 *
* *
* MA5 release : 1.6.16 2017/02/07 *
* *
* Comput. Phys. Commun. 184 (2013) 222-256 *
* Eur. Phys. J. C74 (2014) 3103 *
*************************************************************
Executing the commands from the script
...
ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel
UFO model folder is detected
Import all particles defined in the model ...
43 particles have been successfully exported.
Adding 'gha' 'gha~' 've' 've~' 'vm' 'vm~' 'vt' 'vt~' to 'invisible' multiparticle
ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz as unweighted_events
   -> Storing the file 'unweighted_events.lhe.gz' in the dataset 'unweighted_events'.
ma5>define vl = 12 14 16
ma5>define vl~ = -16 -14 -12
ma5>define invisible = ve ve~ vm vm~ vt vt~ vl vl~
ma5>set main.graphic_render = root
ma5>plot THT 40 0 500 [logY]
ma5>plot MET 40 0 500 [logY]
ma5>plot SQRTS 40 0 500 [logY]
ma5>plot PT(e-[1]) 40 0 500 [logY]
ma5>plot ETA(e-[1]) 40 -10 10 [logY]
ma5>plot PT(e+[1]) 40 0 500 [logY]
ma5>plot ETA(e+[1]) 40 -10 10 [logY]
ma5>plot M(e-[1] e+[1]) 40 0 500 [logY ]
ma5>plot DELTAR(e-[1],e+[1]) 40 0 10 [logY ]
ma5>submit /home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1
   Creating folder 'MA5_PARTON_ANALYSIS_analysis1'...
   Copying 'SampleAnalyzer' source files...
   Inserting your selection into 'SampleAnalyzer'...
   Writing the list of datasets...
   Writing the command line history...
   Creating Makefiles...
   Compiling 'SampleAnalyzer'...
   Linking 'SampleAnalyzer'...
impossible to link the project. For more details, see the log file:
/home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1/Build/Log/linking.log
job submission aborted

The error that I am getting in /home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1/Build/Log/linking.log is the following:

c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/home/arka/MG5_aMC_v2_5_3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/arka/MG5_aMC_v2_5_3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/arka/Root-6.06-Build/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
Main/main.o: In function `main':
main.cpp:(.text.startup+0x9f): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
main.cpp:(.text.startup+0x18f): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
collect2: error: ld returned 1 exit status
Makefile:105: recipe for target 'link' failed
make: *** [link] Error 1

How should I solve this issue?

Thank you,
Arka

Revision history for this message
Benjamin Fuks (fuks) said :
#16

Hi Arka,

This is really weird. I cannot reproduce this bug. Could you please try to execute the same analysis script directly from ma5 (instead of from mg5) to see whether it works?

Regards,

Benjamin

> On 21 Apr 2017, at 16:43 , Arka Santra <email address hidden> wrote:
>
> Question #403506 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/403506
>
> Arka Santra posted a new comment:
> Hello,
> I am facing a similar kind of problem. I have installed MadAnalysis5 from the shell of MadGraph (version v2_5_3) and then ran a sample process.
>
>
> This is the tag_1_MA5_analysis1.log file:
>
>
> *************************************************************
> * W E L C O M E to M A D A N A L Y S I S 5 *
> * *
> * MA5 release : 1.6.16 2017/02/07 *
> * *
> * Comput. Phys. Commun. 184 (2013) 222-256 *
> * Eur. Phys. J. C74 (2014) 3103 *
> *************************************************************
> Executing the commands from the script
> ...
> ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel
> UFO model folder is detected
> Import all particles defined in the model ...
> 43 particles have been successfully exported.
> Adding 'gha' 'gha~' 've' 've~' 'vm' 'vm~' 'vt' 'vt~' to 'invisible' multiparticle
> ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz as unweighted_events
> -> Storing the file 'unweighted_events.lhe.gz' in the dataset 'unweighted_events'.
> ma5>define vl = 12 14 16
> ma5>define vl~ = -16 -14 -12
> ma5>define invisible = ve ve~ vm vm~ vt vt~ vl vl~
> ma5>set main.graphic_render = root
> ma5>plot THT 40 0 500 [logY]
> ma5>plot MET 40 0 500 [logY]
> ma5>plot SQRTS 40 0 500 [logY]
> ma5>plot PT(e-[1]) 40 0 500 [logY]
> ma5>plot ETA(e-[1]) 40 -10 10 [logY]
> ma5>plot PT(e+[1]) 40 0 500 [logY]
> ma5>plot ETA(e+[1]) 40 -10 10 [logY]
> ma5>plot M(e-[1] e+[1]) 40 0 500 [logY ]
> ma5>plot DELTAR(e-[1],e+[1]) 40 0 10 [logY ]
> ma5>submit /home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1
> Creating folder 'MA5_PARTON_ANALYSIS_analysis1'...
> Copying 'SampleAnalyzer' source files...
> Inserting your selection into 'SampleAnalyzer'...
> Writing the list of datasets...
> Writing the command line history...
> Creating Makefiles...
> Compiling 'SampleAnalyzer'...
> Linking 'SampleAnalyzer'...
> impossible to link the project. For more details, see the log file:
> /home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1/Build/Log/linking.log
> job submission aborted
>
>
>
>
> The error that I am getting in /home/arka/MG5_aMC_v2_5_3/Sample2/MA5_PARTON_ANALYSIS_analysis1/Build/Log/linking.log is the following:
>
>
> c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/home/arka/MG5_aMC_v2_5_3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/arka/MG5_aMC_v2_5_3/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/arka/Root-6.06-Build/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
> Main/main.o: In function `main':
> main.cpp:(.text.startup+0x9f): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
> main.cpp:(.text.startup+0x18f): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
> collect2: error: ld returned 1 exit status
> Makefile:105: recipe for target 'link' failed
> make: *** [link] Error 1
>
>
>
> How should I solve this issue?
>
> Thank you,
> Arka
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Arka Santra (santra-arka) said :
#17

Hi Benjamin,
  I did a fresh installation of MadAnalysis5 and tried to execute the same analysis. But apparently, I got the same problem. This is the output at the terminal:

~/madanalysis5$ ./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.4.0-57-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 [OK]
MA5: - Zlib [OK]
MA5: - FastJet [OK]
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>import /home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel
MA5: UFO model folder is detected
MA5: Import all particles defined in the model ...
MA5: 43 particles have been successfully exported.
MA5: Adding 'gha' 'gha~' 've' 've~' 'vm' 'vm~' 'vt' 'vt~' to 'invisible' multiparticle
ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz as unweighted_events
MA5: -> Storing the file 'unweighted_events.lhe.gz' in the dataset 'unweighted_events'.
ma5>define vl = 12 14 16
MA5-WARNING: Particle/Multiparticle labelled 'vl' is already defined.
MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
Answer: y
ma5>define vl~ = -16 -14 -12
MA5-WARNING: Particle/Multiparticle labelled 'vl~' is already defined.
MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
Answer: y
ma5>define invisible = ve ve~ vm vm~ vt vt~ vl vl~
MA5-WARNING: Particle/Multiparticle labelled 'invisible' is already defined.
MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
Answer: y
ma5>set main.graphic_render = root
ma5>plot THT 40 0 500 [logY]
ma5>plot MET 40 0 500 [logY]
ma5>plot SQRTS 40 0 500 [logY]
ma5>plot PT(e-[1]) 40 0 500 [logY]
ma5>plot ETA(e-[1]) 40 -10 10 [logY]
ma5>plot PT(e+[1]) 40 0 500 [logY]
ma5>plot ETA(e+[1]) 40 -10 10 [logY]
ma5>plot M(e-[1] e+[1]) 40 0 500 [logY ]
ma5>plot DELTAR(e-[1],e+[1]) 40 0 10 [logY ]
ma5>submit Another
MA5: Creating folder 'Another'...
MA5: Copying 'SampleAnalyzer' source files...
MA5: Inserting your selection into 'SampleAnalyzer'...
MA5: Writing the list of datasets...
MA5: Writing the command line history...
MA5: Creating Makefiles...
MA5: Compiling 'SampleAnalyzer'...
MA5: Linking 'SampleAnalyzer'...
MA5-ERROR: impossible to link the project. For more details, see the log file:
MA5-ERROR: /home/arka/madanalysis5/Another/Build/Log/linking.log
MA5-ERROR: job submission aborted.

And this is the output in
/home/arka/madanalysis5/Another/Build/Log/linking.log

c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/home/arka/madanalysis5/tools/SampleAnalyzer/Lib -L/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/arka/Root-6.06-Build/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
Main/main.o: In function `main':
main.cpp:(.text.startup+0x9f): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
main.cpp:(.text.startup+0x18f): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
collect2: error: ld returned 1 exit status
Makefile:105: recipe for target 'link' failed
make: *** [link] Error 1

By the way, I use MadAnalysis version 1.5 (as I got from here https://launchpad.net/madanalysis5). Do I need to change the version?

Thanks,
Arka

Revision history for this message
Benjamin Fuks (fuks) said :
#18

Hi Arka,

Can you please try with v1.6beta?

Cheers,

Benjamin

> On 26 Apr 2017, at 16:27 , Arka Santra <email address hidden> wrote:
>
> Question #403506 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/403506
>
> Arka Santra posted a new comment:
> Hi Benjamin,
> I did a fresh installation of MadAnalysis5 and tried to execute the same analysis. But apparently, I got the same problem. This is the output at the terminal:
>
>
> ~/madanalysis5$ ./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.4.0-57-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 [OK]
> MA5: - Zlib [OK]
> MA5: - FastJet [OK]
> 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>import /home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel
> MA5: UFO model folder is detected
> MA5: Import all particles defined in the model ...
> MA5: 43 particles have been successfully exported.
> MA5: Adding 'gha' 'gha~' 've' 've~' 'vm' 'vm~' 'vt' 'vt~' to 'invisible' multiparticle
> ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz as unweighted_events
> MA5: -> Storing the file 'unweighted_events.lhe.gz' in the dataset 'unweighted_events'.
> ma5>define vl = 12 14 16
> MA5-WARNING: Particle/Multiparticle labelled 'vl' is already defined.
> MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
> Answer: y
> ma5>define vl~ = -16 -14 -12
> MA5-WARNING: Particle/Multiparticle labelled 'vl~' is already defined.
> MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
> Answer: y
> ma5>define invisible = ve ve~ vm vm~ vt vt~ vl vl~
> MA5-WARNING: Particle/Multiparticle labelled 'invisible' is already defined.
> MA5-WARNING: Would you like to overwrite the previous definition ? (Y/N)
> Answer: y
> ma5>set main.graphic_render = root
> ma5>plot THT 40 0 500 [logY]
> ma5>plot MET 40 0 500 [logY]
> ma5>plot SQRTS 40 0 500 [logY]
> ma5>plot PT(e-[1]) 40 0 500 [logY]
> ma5>plot ETA(e-[1]) 40 -10 10 [logY]
> ma5>plot PT(e+[1]) 40 0 500 [logY]
> ma5>plot ETA(e+[1]) 40 -10 10 [logY]
> ma5>plot M(e-[1] e+[1]) 40 0 500 [logY ]
> ma5>plot DELTAR(e-[1],e+[1]) 40 0 10 [logY ]
> ma5>submit Another
> MA5: Creating folder 'Another'...
> MA5: Copying 'SampleAnalyzer' source files...
> MA5: Inserting your selection into 'SampleAnalyzer'...
> MA5: Writing the list of datasets...
> MA5: Writing the command line history...
> MA5: Creating Makefiles...
> MA5: Compiling 'SampleAnalyzer'...
> MA5: Linking 'SampleAnalyzer'...
> MA5-ERROR: impossible to link the project. For more details, see the log file:
> MA5-ERROR: /home/arka/madanalysis5/Another/Build/Log/linking.log
> MA5-ERROR: job submission aborted.
>
>
> And this is the output in
> /home/arka/madanalysis5/Another/Build/Log/linking.log
>
> c++ Main/main.o SampleAnalyzer/User/Analyzer/user.o -L/home/arka/madanalysis5/tools/SampleAnalyzer/Lib -L/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/arka/Root-6.06-Build/lib -lCore -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
> Main/main.o: In function `main':
> main.cpp:(.text.startup+0x9f): undefined reference to `MA5::SampleAnalyzer::Initialize(int, char**, std::string const&, bool)'
> main.cpp:(.text.startup+0x18f): undefined reference to `MA5::SampleAnalyzer::InitializeAnalyzer(std::string const&, std::string const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)'
> collect2: error: ld returned 1 exit status
> Makefile:105: recipe for target 'link' failed
> make: *** [link] Error 1
>
>
> By the way, I use MadAnalysis version 1.5 (as I got from here
> https://launchpad.net/madanalysis5). Do I need to change the version?
>
>
> Thanks,
> Arka
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Arka Santra (santra-arka) said :
#19

Hi Benjamin,
  Can you provide me the link to download v1.6 beta? Here I see only v1.5:

  https://launchpad.net/madanalysis5

  Thanks,
 Arka

Revision history for this message
Benjamin Fuks (fuks) said :
#20

Hi Arka,

Here you are: https://code.launchpad.net/~ma5dev/madanalysis5/v1.6beta <https://code.launchpad.net/~ma5dev/madanalysis5/v1.6beta>

Cheers,

Benjamin

> On 26 Apr 2017, at 19:22 , Arka Santra <email address hidden> wrote:
>
> Question #403506 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/403506
>
> Arka Santra posted a new comment:
> Hi Benjamin,
> Can you provide me the link to download v1.6 beta? Here I see only v1.5:
>
> https://launchpad.net/madanalysis5
>
> Thanks,
> Arka
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Arka Santra (santra-arka) said :
#21

Hi Benjamin,
  Unfortunately, I get the same error in v1.6 beta. The bug must be in connecting MG5 to MA5.
  Cheers,
 Arka

Revision history for this message
Benjamin Fuks (fuks) said :
#22

Can you please start ma5 in the debug mode and dump the screen output here? Thanks in advance.

Cheers,

Benjamin

> On 26 Apr 2017, at 20:53 , Arka Santra <email address hidden> wrote:
>
> Question #403506 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/403506
>
> Arka Santra posted a new comment:
> Hi Benjamin,
> Unfortunately, I get the same error in v1.6 beta. The bug must be in connecting MG5 to MA5.
> Cheers,
> Arka
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Arka Santra (santra-arka) said :
#23

Hi Benjamin,
  This is the output when I run madanalysis in debug mode (I again got the same linmikg error):

arka@arka-XPS-L521X:~$ cd madanalysis5/
arka@arka-XPS-L521X:~/madanalysis5$ ./bin/ma5 --debug
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.6.18 2017/03/05 *
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-DEBUG:
MA5-DEBUG: DEBUG MODE ACTIVATED
MA5-DEBUG:
MA5: Platform: Linux 4.4.0-57-generic [Linux mode]
MA5-DEBUG:
MA5-DEBUG: Machine - Cross platform information
MA5-DEBUG: Machine type: x86_64
MA5-DEBUG: Processor name: x86_64
MA5-DEBUG: Platform: Linux-4.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
MA5-DEBUG: Platform release: 4.4.0-57-generic
MA5-DEBUG: System: Linux
MA5-DEBUG: Node: arka-XPS-L521X
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.4.0-57-generic-x86_64-with-Ubuntu-16.04-xenial
MA5-DEBUG:
MA5: Reading user settings ...
MA5-DEBUG: Opening the file: /home/arka/madanalysis5/madanalysis/input/installation_options.dat
MA5-DEBUG: Lines to interpret:
MA5-DEBUG: Closing the file: /home/arka/madanalysis5/madanalysis/input/installation_options.dat
MA5-DEBUG:
MA5-DEBUG: User
MA5-DEBUG: User name: arka
MA5-DEBUG: User ID: 1000
MA5-DEBUG: Expanding folder ~/: /home/arka/
MA5-DEBUG: Variable $USER: arka
MA5-DEBUG: Variable $USERNAME:
MA5-DEBUG: Variable $LNAME:
MA5-DEBUG: Variable $LOGNAME: arka
MA5-DEBUG: Variable $HOME: /home/arka
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/arka exists ...
MA5-DEBUG: -> not found
MA5-DEBUG: Try to create the folder /tmp/arka ...
MA5-DEBUG: temporary folder will be used for MA5: /tmp/arka
MA5-DEBUG:
MA5-DEBUG: Download dir
MA5-DEBUG: Check if the folder /tmp/arka/MA5_downloads exists ...
MA5-DEBUG: -> not found
MA5-DEBUG: Try to create the folder /tmp/arka/MA5_downloads ...
MA5-DEBUG: download folder will be used for MA5: /tmp/arka/MA5_downloads
MA5-DEBUG:
MA5-DEBUG: Text editor
MA5-DEBUG: Look for the global variable $EDITOR ...
MA5-DEBUG: -> variable not found. VI editor is set by default.
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.12
MA5-DEBUG: Python build: ('default', 'Nov 19 2016 06:48:10')
MA5-DEBUG: Python compiler: GCC 5.4.0 20160609
MA5-DEBUG: Python prefix: /usr
MA5-DEBUG: Python executable used: /usr/bin/python
MA5-DEBUG: sys.executable: /usr/bin/python
MA5-DEBUG: which: /usr/bin/python
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/bin/python
MA5-DEBUG: Python internal paths:
MA5-DEBUG: - /home/arka/madanalysis5/tools/ReportGenerator/Services
MA5-DEBUG: - /home/arka/madanalysis5
MA5-DEBUG: - /home/arka/madanalysis5/bin
MA5-DEBUG: - /home/arka/Root-6.06-Build/lib
MA5-DEBUG: - /home/arka/LHAPDF_Build/lib/python2.7/site-packages
MA5-DEBUG: - /home/arka/madanalysis5
MA5-DEBUG: - /usr/lib/python2.7
MA5-DEBUG: - /usr/lib/python2.7/plat-x86_64-linux-gnu
MA5-DEBUG: - /usr/lib/python2.7/lib-tk
MA5-DEBUG: - /usr/lib/python2.7/lib-old
MA5-DEBUG: - /usr/lib/python2.7/lib-dynload
MA5-DEBUG: - /usr/local/lib/python2.7/dist-packages
MA5-DEBUG: - /usr/lib/python2.7/dist-packages
MA5-DEBUG: - /usr/lib/python2.7/dist-packages/PILcompat
MA5-DEBUG: - /usr/lib/python2.7/dist-packages/gtk-2.0
MA5-DEBUG: - /usr/lib/python2.7/dist-packages/ubuntu-sso-client
MA5-DEBUG: - /usr/lib/python2.7/dist-packages/wx-3.0-gtk2
MA5-DEBUG: $PYTHONPATH:
MA5-DEBUG: - /home/arka/Root-6.06-Build/lib
MA5-DEBUG: - /home/arka/LHAPDF_Build/lib/python2.7/site-packages
MA5-DEBUG: -
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: 5.4.0
MA5-DEBUG: search path for headers:
MA5-DEBUG: - /usr/include/c++/5
MA5-DEBUG: - /usr/include/x86_64-linux-gnu/c++/5
MA5-DEBUG: - /usr/include/c++/5/backward
MA5-DEBUG: - /usr/lib/gcc/x86_64-linux-gnu/5/include
MA5-DEBUG: - /usr/local/include
MA5-DEBUG: - /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
MA5-DEBUG: - /usr/include/x86_64-linux-gnu
MA5-DEBUG: - /usr/include
MA5-DEBUG: search path for libraries:
MA5-DEBUG: - /usr/lib/gcc/x86_64-linux-gnu/5
MA5-DEBUG: - /usr/lib/x86_64-linux-gnu
MA5-DEBUG: - /usr/lib
MA5-DEBUG: - /lib/x86_64-linux-gnu
MA5-DEBUG: - /lib
MA5-DEBUG: - /usr/lib/x86_64-linux-gnu
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.1
MA5-DEBUG: Saving informations ...
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
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: Detection of the package in the "tools" folder ...
MA5-DEBUG: Look for zlib folder in path /home/arka/madanalysis5/tools/zlib ...
MA5-DEBUG: -> found
MA5-DEBUG: look for pattern /home/arka/madanalysis5/tools/zlib/include/zlib.h ...
MA5-DEBUG: -> found: /home/arka/madanalysis5/tools/zlib/include/zlib.h
MA5-DEBUG: look for pattern /home/arka/madanalysis5/tools/zlib/lib/libz.so ...
MA5-DEBUG: -> found: /home/arka/madanalysis5/tools/zlib/lib/libz.so
MA5-DEBUG: look for pattern /home/arka/madanalysis5/tools/zlib/lib/libz.a ...
MA5-DEBUG: -> found: /home/arka/madanalysis5/tools/zlib/lib/libz.a
MA5-DEBUG: look for pattern /home/arka/madanalysis5/tools/zlib/lib/libz.so.* ...
MA5-DEBUG: -> found: /home/arka/madanalysis5/tools/zlib/lib/libz.so.1
MA5-DEBUG: -> found: /home/arka/madanalysis5/tools/zlib/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/arka/madanalysis5/tools/fastjet/bin/fastjet-config ...
MA5-DEBUG: -> found
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: version: 3.2.1
MA5-DEBUG: Trying to get library and header paths ...
MA5-DEBUG: Lib flags: -Wl,-rpath,/home/arka/madanalysis5/tools/fastjet/lib -lm -L/home/arka/madanalysis5/tools/fastjet/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone
MA5-DEBUG: Lib path: ['/home/arka/madanalysis5/tools/fastjet/lib']
MA5-DEBUG: Saving informations ...
MA5: - FastJet [OK]
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: /home/arka/Root-6.06-Build/bin/root-config [is it a link? False]
MA5-DEBUG: which-all:
MA5-DEBUG: - /home/arka/Root-6.06-Build/bin/root-config
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.06.06
MA5-DEBUG: -> root header folder: /home/arka/Root-6.06-Build/include
MA5-DEBUG: -> root library folder: /home/arka/Root-6.06-Build/lib
MA5-DEBUG: Try to find /home/arka/Root-6.06-Build/lib/libCore.so ...
MA5-DEBUG: Try to find /home/arka/Root-6.06-Build/include/TH1F.h ...
MA5-DEBUG: features: ['asimage', 'astiff', 'bonjour', 'builtin_afterimage', 'builtin_ftgl', 'builtin_glew', 'builtin_llvm', 'builtin_lzma', 'cling', 'cxx11', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'genvector', 'gviz', 'krb5', 'ldap', 'mathmore', 'memstat', 'minuit2', 'mysql', 'opengl', 'pch', 'python', 'roofit', 'shadowpw', 'shared', 'ssl', 'thread', 'tmva', 'vdt', '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/arka/madanalysis5/tools ...
MA5-DEBUG: -> not found
MA5: - Delphes [DISABLED]
MA5-DEBUG: Delphes-MA5tune
MA5-DEBUG: Look for Delphes-MA5tune in the folder /home/arka/madanalysis5/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 /home/arka/Root-6.06-Build/bin/root-config
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config ...
MA5-DEBUG: Creating symbolic link from /home/arka/madanalysis5/tools/fastjet/bin/fastjet-config
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/fastjet-config ...
MA5-DEBUG: Creating symbolic link from /home/arka/madanalysis5/tools/zlib/lib/libz.so
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so ...
MA5-DEBUG: Creating symbolic link from /home/arka/madanalysis5/tools/zlib/lib/libz.a
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.a ...
MA5-DEBUG: Creating symbolic link from /home/arka/madanalysis5/tools/zlib/lib/libz.so.1
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1 ...
MA5-DEBUG: Creating symbolic link from /home/arka/madanalysis5/tools/zlib/lib/libz.so.1.2.11
MA5-DEBUG: to /home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib/libz.so.1.2.11 ...
MA5-DEBUG: -------- BEGIN: set environment variables --------
MA5-DEBUG: before PATH=/home/arka/Root-6.06-Build/bin:/home/arka/LHAPDF_Build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/lib/hadoop-2.7.0/bin:/usr/local/lib/hadoop-2.7.0/sbin
MA5-DEBUG: --------
MA5-DEBUG: after PATH=/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin:/home/arka/Root-6.06-Build/bin:/home/arka/madanalysis5/tools/fastjet/bin:/home/arka/Root-6.06-Build/bin:/home/arka/LHAPDF_Build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/lib/hadoop-2.7.0/bin:/usr/local/lib/hadoop-2.7.0/sbin:
MA5-DEBUG: --------
MA5-DEBUG: before LD_LIBRARY_PATH=/home/arka/Root-6.06-Build/lib:/home/arka/LHAPDF_Build/lib:/home/arka/LHAPDF_Build/include:/home/arka/MG5_aMC_v2_5_3/HEPTools/lhapdf6/bin:
MA5-DEBUG: --------
MA5-DEBUG: after LD_LIBRARY_PATH=/home/arka/madanalysis5/tools/SampleAnalyzer/Lib:/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib:/home/arka/Root-6.06-Build/lib:/home/arka/madanalysis5/tools/fastjet/lib:/home/arka/Root-6.06-Build/lib:/home/arka/LHAPDF_Build/lib:/home/arka/LHAPDF_Build/include:/home/arka/MG5_aMC_v2_5_3/HEPTools/lhapdf6/bin::
MA5-DEBUG: --------
MA5-DEBUG: before DYLD_LIBRARY_PATH=/home/arka/Root-6.06-Build/lib
MA5-DEBUG: --------
MA5-DEBUG: after DYLD_LIBRARY_PATH=/home/arka/Root-6.06-Build/lib
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/arka/madanalysis5/tools/SampleAnalyzer/Lib/libprocess_for_ma5.so
MA5-DEBUG: -> looking for file: /home/arka/madanalysis5/tools/architecture.ma5
MA5-DEBUG: -> looking for file: /home/arka/madanalysis5/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': '/home/arka/Root-6.06-Build/bin', 'root_original_bins': ['/home/arka/Root-6.06-Build/bin/root-config'], 'fastjet_bin_path': '/home/arka/madanalysis5/tools/fastjet/bin', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '06', '06'], 'fastjet_original_bins': ['/home/arka/madanalysis5/tools/fastjet/bin/fastjet-config'], 'toPATH2': [], 'python_version': '2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '5.4.0', 'toPATH1': ['/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin', '/home/arka/Root-6.06-Build/bin', '/home/arka/madanalysis5/tools/fastjet/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': ['/home/arka/madanalysis5/tools/fastjet/lib'], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/home/arka/Root-6.06-Build/include/TH1F.h:1467823009.0', 'libCore.so': '/home/arka/Root-6.06-Build/lib/libCore.so:1472514443.24', 'ZLib': '/home/arka/madanalysis5/tools/zlib/lib/libz.so:1493227875.44'}, 'platform': 'Linux', 'zlib_original_libs': ['/home/arka/madanalysis5/tools/zlib/lib/libz.so', '/home/arka/madanalysis5/tools/zlib/lib/libz.a', '/home/arka/madanalysis5/tools/zlib/lib/libz.so.1', '/home/arka/madanalysis5/tools/zlib/lib/libz.so.1.2.11'], 'root_inc_path': '/home/arka/Root-6.06-Build/include', 'delphes_inc_paths': [], 'zlib_lib': '/home/arka/madanalysis5/tools/zlib/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'bonjour', 'builtin_afterimage', 'builtin_ftgl', 'builtin_glew', 'builtin_llvm', 'builtin_lzma', 'cling', 'cxx11', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'genvector', 'gviz', 'krb5', 'ldap', 'mathmore', 'memstat', 'minuit2', 'mysql', 'opengl', 'pch', 'python', 'roofit', 'shadowpw', 'shared', 'ssl', 'thread', 'tmva', 'vdt', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/home/arka/madanalysis5/tools/zlib/include', 'zlib_lib_path': '/home/arka/madanalysis5/tools/zlib/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/arka/madanalysis5', 'root_lib_path': '/home/arka/Root-6.06-Build/lib', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/arka/madanalysis5/tools/SampleAnalyzer/Lib', '/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib', '/home/arka/Root-6.06-Build/lib', '/home/arka/madanalysis5/tools/fastjet/lib'], 'zlib_priority': False, 'ma5_date': '2017/03/05', 'make_version': 'GNU Make 4.1', 'ma5_version': '1.6.18', 'has_fastjet': True, 'release': '4.4.0-57-generic', 'isMac': False}
MA5-DEBUG: The other one (number of items=50):
MA5-DEBUG: {'root_bin_path': '/home/arka/Root-6.06-Build/bin', 'root_original_bins': ['/home/arka/Root-6.06-Build/bin/root-config'], 'fastjet_bin_path': '/home/arka/madanalysis5/tools/fastjet/bin', 'delphes_lib_paths': [], 'has_delphes': False, 'has_root': True, 'root_version': ['6', '06', '06'], 'fastjet_original_bins': ['/home/arka/madanalysis5/tools/fastjet/bin/fastjet-config'], 'toPATH2': [], 'python_version': '2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]', 'delphes_lib': '', 'delphes_priority': False, 'gcc_version': '5.4.0', 'toPATH1': ['/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin', '/home/arka/Root-6.06-Build/bin', '/home/arka/madanalysis5/tools/fastjet/bin'], 'delphes_original_libs': [], 'delphesMA5tune_original_libs': [], 'fastjet_lib_paths': ['/home/arka/madanalysis5/tools/fastjet/lib'], 'gfortran_version': '', 'delphesMA5tune_lib': '', 'libraries': {'TH1F.h': '/home/arka/Root-6.06-Build/include/TH1F.h:1467823009.0', 'libCore.so': '/home/arka/Root-6.06-Build/lib/libCore.so:1472514443.24', 'ZLib': '/home/arka/madanalysis5/tools/zlib/lib/libz.so:1493227875.44'}, 'platform': 'Linux', 'zlib_original_libs': ['/home/arka/madanalysis5/tools/zlib/lib/libz.so', '/home/arka/madanalysis5/tools/zlib/lib/libz.a', '/home/arka/madanalysis5/tools/zlib/lib/libz.so.1', '/home/arka/madanalysis5/tools/zlib/lib/libz.so.1.2.11'], 'root_inc_path': '/home/arka/Root-6.06-Build/include', 'delphes_inc_paths': [], 'zlib_lib': '/home/arka/madanalysis5/tools/zlib/lib/libz.so', 'root_priority': False, 'delphesMA5tune_lib_paths': [], 'root_features': ['asimage', 'astiff', 'bonjour', 'builtin_afterimage', 'builtin_ftgl', 'builtin_glew', 'builtin_llvm', 'builtin_lzma', 'cling', 'cxx11', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'genvector', 'gviz', 'krb5', 'ldap', 'mathmore', 'memstat', 'minuit2', 'mysql', 'opengl', 'pch', 'python', 'roofit', 'shadowpw', 'shared', 'ssl', 'thread', 'tmva', 'vdt', 'x11', 'xft', 'xml'], 'has_zlib': True, 'zlib_inc_path': '/home/arka/madanalysis5/tools/zlib/include', 'zlib_lib_path': '/home/arka/madanalysis5/tools/zlib/lib', 'delphesMA5tune_inc_paths': [], 'has_delphesMA5tune': False, 'fastjet_priority': False, 'fastjet_version': '', 'root_compiler': 'c++', 'ncores': 4, 'ma5dir': '/home/arka/madanalysis5', 'root_lib_path': '/home/arka/Root-6.06-Build/lib', 'delphesMA5tune_priority': False, 'headers': {}, 'toLDPATH2': [], 'toLDPATH1': ['/home/arka/madanalysis5/tools/SampleAnalyzer/Lib', '/home/arka/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib', '/home/arka/Root-6.06-Build/lib', '/home/arka/madanalysis5/tools/fastjet/lib'], 'zlib_priority': False, 'ma5_date': '2017/03/05', 'make_version': 'GNU Make 4.1', 'ma5_version': '1.6.18', 'has_fastjet': True, 'release': '4.4.0-57-generic', '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/arka/madanalysis5/tools/SampleAnalyzer/Test/Process/dummy_list.txt
MA5-DEBUG: LogFile: /home/arka/madanalysis5/tools/SampleAnalyzer/Bin/TestSampleAnalyzer.log
MA5-DEBUG: LogFile: /home/arka/madanalysis5/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.
MA5: *************************************************************
MA5: Particle labels exported from madanalysis/input/particles_name_default.txt
MA5-DEBUG: Extracting a particle labelled by [met] with a PDG-id : 100
MA5-DEBUG: Extracting a particle labelled by [mht] with a PDG-id : 99
MA5-DEBUG: Extracting a particle labelled by [d] with a PDG-id : 1
MA5-DEBUG: Extracting a particle labelled by [d~] with a PDG-id : -1
MA5-DEBUG: Extracting a particle labelled by [u] with a PDG-id : 2
MA5-DEBUG: Extracting a particle labelled by [u~] with a PDG-id : -2
MA5-DEBUG: Extracting a particle labelled by [s] with a PDG-id : 3
MA5-DEBUG: Extracting a particle labelled by [s~] with a PDG-id : -3
MA5-DEBUG: Extracting a particle labelled by [c] with a PDG-id : 4
MA5-DEBUG: Extracting a particle labelled by [c~] with a PDG-id : -4
MA5-DEBUG: Extracting a particle labelled by [b] with a PDG-id : 5
MA5-DEBUG: Extracting a particle labelled by [b~] with a PDG-id : -5
MA5-DEBUG: Extracting a particle labelled by [t] with a PDG-id : 6
MA5-DEBUG: Extracting a particle labelled by [t~] with a PDG-id : -6
MA5-DEBUG: Extracting a particle labelled by [e-] with a PDG-id : 11
MA5-DEBUG: Extracting a particle labelled by [e+] with a PDG-id : -11
MA5-DEBUG: Extracting a particle labelled by [ve] with a PDG-id : 12
MA5-DEBUG: Extracting a particle labelled by [ve~] with a PDG-id : -12
MA5-DEBUG: Extracting a particle labelled by [mu-] with a PDG-id : 13
MA5-DEBUG: Extracting a particle labelled by [mu+] with a PDG-id : -13
MA5-DEBUG: Extracting a particle labelled by [vm] with a PDG-id : 14
MA5-DEBUG: Extracting a particle labelled by [vm~] with a PDG-id : -14
MA5-DEBUG: Extracting a particle labelled by [ta-] with a PDG-id : 15
MA5-DEBUG: Extracting a particle labelled by [ta+] with a PDG-id : -15
MA5-DEBUG: Extracting a particle labelled by [vt] with a PDG-id : 16
MA5-DEBUG: Extracting a particle labelled by [vt~] with a PDG-id : -16
MA5-DEBUG: Extracting a particle labelled by [g] with a PDG-id : 21
MA5-DEBUG: Extracting a particle labelled by [a] with a PDG-id : 22
MA5-DEBUG: Extracting a particle labelled by [z] with a PDG-id : 23
MA5-DEBUG: Extracting a particle labelled by [w+] with a PDG-id : 24
MA5-DEBUG: Extracting a particle labelled by [w-] with a PDG-id : -24
MA5-DEBUG: Extracting a particle labelled by [h1] with a PDG-id : 25
MA5-DEBUG: Extracting a particle labelled by [h2] with a PDG-id : 35
MA5-DEBUG: Extracting a particle labelled by [h3] with a PDG-id : 36
MA5-DEBUG: Extracting a particle labelled by [h+] with a PDG-id : 37
MA5-DEBUG: Extracting a particle labelled by [h-] with a PDG-id : -37
MA5-DEBUG: Extracting a particle labelled by [dl] with a PDG-id : 1000001
MA5-DEBUG: Extracting a particle labelled by [dl~] with a PDG-id : -1000001
MA5-DEBUG: Extracting a particle labelled by [dr] with a PDG-id : 2000001
MA5-DEBUG: Extracting a particle labelled by [dr~] with a PDG-id : -2000001
MA5-DEBUG: Extracting a particle labelled by [ul] with a PDG-id : 1000002
MA5-DEBUG: Extracting a particle labelled by [ul~] with a PDG-id : -1000002
MA5-DEBUG: Extracting a particle labelled by [ur] with a PDG-id : 2000002
MA5-DEBUG: Extracting a particle labelled by [ur~] with a PDG-id : -2000002
MA5-DEBUG: Extracting a particle labelled by [sl] with a PDG-id : 1000003
MA5-DEBUG: Extracting a particle labelled by [sl~] with a PDG-id : -1000003
MA5-DEBUG: Extracting a particle labelled by [sr] with a PDG-id : 2000003
MA5-DEBUG: Extracting a particle labelled by [sr~] with a PDG-id : -2000003
MA5-DEBUG: Extracting a particle labelled by [cl] with a PDG-id : 1000004
MA5-DEBUG: Extracting a particle labelled by [cl~] with a PDG-id : -1000004
MA5-DEBUG: Extracting a particle labelled by [cr] with a PDG-id : 2000004
MA5-DEBUG: Extracting a particle labelled by [cr~] with a PDG-id : -2000004
MA5-DEBUG: Extracting a particle labelled by [b1] with a PDG-id : 1000005
MA5-DEBUG: Extracting a particle labelled by [b1~] with a PDG-id : -1000005
MA5-DEBUG: Extracting a particle labelled by [b2] with a PDG-id : 2000005
MA5-DEBUG: Extracting a particle labelled by [b2~] with a PDG-id : -2000005
MA5-DEBUG: Extracting a particle labelled by [t1] with a PDG-id : 1000006
MA5-DEBUG: Extracting a particle labelled by [t1~] with a PDG-id : -1000006
MA5-DEBUG: Extracting a particle labelled by [t2] with a PDG-id : 2000006
MA5-DEBUG: Extracting a particle labelled by [t2~] with a PDG-id : -2000006
MA5-DEBUG: Extracting a particle labelled by [el-] with a PDG-id : 1000011
MA5-DEBUG: Extracting a particle labelled by [el+] with a PDG-id : -1000011
MA5-DEBUG: Extracting a particle labelled by [er-] with a PDG-id : 2000011
MA5-DEBUG: Extracting a particle labelled by [er+] with a PDG-id : -2000011
MA5-DEBUG: Extracting a particle labelled by [sve] with a PDG-id : 1000012
MA5-DEBUG: Extracting a particle labelled by [sve~] with a PDG-id : -1000012
MA5-DEBUG: Extracting a particle labelled by [mul-] with a PDG-id : 1000013
MA5-DEBUG: Extracting a particle labelled by [mul+] with a PDG-id : -1000013
MA5-DEBUG: Extracting a particle labelled by [mur-] with a PDG-id : 2000013
MA5-DEBUG: Extracting a particle labelled by [mur+] with a PDG-id : -2000013
MA5-DEBUG: Extracting a particle labelled by [svm] with a PDG-id : 1000014
MA5-DEBUG: Extracting a particle labelled by [svm~] with a PDG-id : -1000014
MA5-DEBUG: Extracting a particle labelled by [ta1-] with a PDG-id : 1000015
MA5-DEBUG: Extracting a particle labelled by [ta1+] with a PDG-id : -1000015
MA5-DEBUG: Extracting a particle labelled by [ta2-] with a PDG-id : 2000015
MA5-DEBUG: Extracting a particle labelled by [ta2+] with a PDG-id : -2000015
MA5-DEBUG: Extracting a particle labelled by [svt] with a PDG-id : 1000016
MA5-DEBUG: Extracting a particle labelled by [svt~] with a PDG-id : -1000016
MA5-DEBUG: Extracting a particle labelled by [go] with a PDG-id : 1000021
MA5-DEBUG: Extracting a particle labelled by [n1] with a PDG-id : 1000022
MA5-DEBUG: Extracting a particle labelled by [n2] with a PDG-id : 1000023
MA5-DEBUG: Extracting a particle labelled by [n3] with a PDG-id : 1000025
MA5-DEBUG: Extracting a particle labelled by [n4] with a PDG-id : 1000035
MA5-DEBUG: Extracting a particle labelled by [x1+] with a PDG-id : 1000024
MA5-DEBUG: Extracting a particle labelled by [x1-] with a PDG-id : -1000024
MA5-DEBUG: Extracting a particle labelled by [x2+] with a PDG-id : 1000037
MA5-DEBUG: Extracting a particle labelled by [x2-] with a PDG-id : -1000037
MA5: => 87 particles successfully exported.
MA5: Multiparticle labels exported from madanalysis/input/multiparticles_default.txt
MA5-DEBUG: Extracting a multiparticle labelled by [p] with a PDG-id : ['g', 'u', 'c', 'd', 's', 'u~', 'c~', 'd~', 's~']
MA5-DEBUG: Extracting a multiparticle labelled by [j] with a PDG-id : ['g', 'u', 'c', 'd', 's', 'u~', 'c~', 'd~', 's~']
MA5-DEBUG: Extracting a multiparticle labelled by [l+] with a PDG-id : ['e+', 'mu+']
MA5-DEBUG: Extracting a multiparticle labelled by [l-] with a PDG-id : ['e-', 'mu-']
MA5-DEBUG: Extracting a multiparticle labelled by [vl] with a PDG-id : ['ve', 'vm', 'vt']
MA5-DEBUG: Extracting a multiparticle labelled by [vl~] with a PDG-id : ['ve~', 'vm~', 'vt~']
MA5: => Creation of the label 'invisible' (-> missing energy).
MA5: => Creation of the label 'hadronic' (-> jet energy).
MA5: => 8 multiparticles successfully exported.
ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel
MA5-DEBUG: ['import', '/home/arka/MG5_aMC_v2_5_3/Sample2/bin/internal/ufomodel']
MA5: UFO model folder is detected
MA5: Import all particles defined in the model ...
MA5-DEBUG: Extracting a particle labelled ['a'] with PDG-id=22, mass=Param.ZERO, width=Param.ZERO, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['z'] with PDG-id=23, mass=Param.MZ, width=Param.WZ, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['w+'] with PDG-id=24, mass=Param.MW, width=Param.WW, charge=1, color=1
MA5-DEBUG: Extracting a particle labelled ['g'] with PDG-id=21, mass=Param.ZERO, width=Param.ZERO, charge=0, color=8
MA5-DEBUG: Extracting a particle labelled ['gha'] with PDG-id=9000001, mass=Param.ZERO, width=Param.ZERO, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['ghz'] with PDG-id=9000002, mass=Param.MZ, width=Param.WZ, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['ghwp'] with PDG-id=9000003, mass=Param.MW, width=Param.WW, charge=1, color=1
MA5-DEBUG: Extracting a particle labelled ['ghwm'] with PDG-id=9000004, mass=Param.MW, width=Param.WW, charge=-1, color=1
MA5-DEBUG: Extracting a particle labelled ['ghg'] with PDG-id=9000005, mass=Param.ZERO, width=Param.ZERO, charge=0, color=8
MA5-DEBUG: Extracting a particle labelled ['ve'] with PDG-id=12, mass=Param.ZERO, width=Param.ZERO, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['vm'] with PDG-id=14, mass=Param.ZERO, width=Param.ZERO, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['vt'] with PDG-id=16, mass=Param.ZERO, width=Param.ZERO, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['u'] with PDG-id=2, mass=Param.ZERO, width=Param.ZERO, charge=2/3, color=3
MA5-DEBUG: Extracting a particle labelled ['c'] with PDG-id=4, mass=Param.MC, width=Param.ZERO, charge=2/3, color=3
MA5-DEBUG: Extracting a particle labelled ['t'] with PDG-id=6, mass=Param.MT, width=Param.WT, charge=2/3, color=3
MA5-DEBUG: Extracting a particle labelled ['d'] with PDG-id=1, mass=Param.ZERO, width=Param.ZERO, charge=-1/3, color=3
MA5-DEBUG: Extracting a particle labelled ['s'] with PDG-id=3, mass=Param.ZERO, width=Param.ZERO, charge=-1/3, color=3
MA5-DEBUG: Extracting a particle labelled ['b'] with PDG-id=5, mass=Param.MB, width=Param.ZERO, charge=-1/3, color=3
MA5-DEBUG: Extracting a particle labelled ['h'] with PDG-id=25, mass=Param.MH, width=Param.WH, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['g0'] with PDG-id=250, mass=Param.MZ, width=Param.WZ, charge=0, color=1
MA5-DEBUG: Extracting a particle labelled ['g+'] with PDG-id=251, mass=Param.MW, width=Param.WW, charge=1, color=1
MA5-DEBUG: Extracting a particle labelled ['e-'] with PDG-id=11, mass=Param.Me, width=Param.ZERO, charge=-1, color=1
MA5-DEBUG: Extracting a particle labelled ['mu-'] with PDG-id=13, mass=Param.MM, width=Param.ZERO, charge=-1, color=1
MA5-DEBUG: Extracting a particle labelled ['ta-'] with PDG-id=15, mass=Param.MTA, width=Param.WTau, charge=-1, color=1
MA5-DEBUG: Extracting a parameter labelled ['ZERO'] with value='0.0'
MA5-DEBUG: Extracting a parameter labelled ['aEWM1'] with value=132.50698
MA5-DEBUG: Extracting a parameter labelled ['Gf'] with value=0.0000116639
MA5-DEBUG: Extracting a parameter labelled ['aS'] with value=0.118
MA5-DEBUG: Extracting a parameter labelled ['lamWS'] with value=0.2253
MA5-DEBUG: Extracting a parameter labelled ['AWS'] with value=0.808
MA5-DEBUG: Extracting a parameter labelled ['rhoWS'] with value=0.132
MA5-DEBUG: Extracting a parameter labelled ['etaWS'] with value=0.341
MA5-DEBUG: Extracting a parameter labelled ['ymc'] with value=1.27
MA5-DEBUG: Extracting a parameter labelled ['ymb'] with value=4.2
MA5-DEBUG: Extracting a parameter labelled ['ymt'] with value=164.5
MA5-DEBUG: Extracting a parameter labelled ['yme'] with value=0.000511
MA5-DEBUG: Extracting a parameter labelled ['ymm'] with value=0.10566
MA5-DEBUG: Extracting a parameter labelled ['ymtau'] with value=1.777
MA5-DEBUG: Extracting a parameter labelled ['MZ'] with value=91.188
MA5-DEBUG: Extracting a parameter labelled ['MC'] with value=1.27
MA5-DEBUG: Extracting a parameter labelled ['MT'] with value=172.
MA5-DEBUG: Extracting a parameter labelled ['MB'] with value=4.7
MA5-DEBUG: Extracting a parameter labelled ['MH'] with value=125.
MA5-DEBUG: Extracting a parameter labelled ['Me'] with value=0.000511
MA5-DEBUG: Extracting a parameter labelled ['MM'] with value=0.10566
MA5-DEBUG: Extracting a parameter labelled ['MTA'] with value=1.777
MA5-DEBUG: Extracting a parameter labelled ['WZ'] with value=2.44140351
MA5-DEBUG: Extracting a parameter labelled ['WW'] with value=2.04759951
MA5-DEBUG: Extracting a parameter labelled ['WT'] with value=1.50833649
MA5-DEBUG: Extracting a parameter labelled ['WH'] with value=6.38233934e-03
MA5-DEBUG: Extracting a parameter labelled ['WTau'] with value=2.27e-12
MA5-DEBUG: Extracting a parameter labelled ['CKM1x1'] with value='1
MA5-DEBUG: Extracting a parameter labelled ['CKM1x2'] with value='lamWS'
MA5-DEBUG: Extracting a parameter labelled ['CKM1x3'] with value='AWS*lamWS**3*
MA5-DEBUG: Extracting a parameter labelled ['CKM2x1'] with value='-lamWS'
MA5-DEBUG: Extracting a parameter labelled ['CKM2x2'] with value='1
MA5-DEBUG: Extracting a parameter labelled ['CKM2x3'] with value='AWS*lamWS**2'
MA5-DEBUG: Extracting a parameter labelled ['CKM3x1'] with value='AWS*lamWS**3*
MA5-DEBUG: Extracting a parameter labelled ['CKM3x2'] with value='-
MA5-DEBUG: Extracting a parameter labelled ['CKM3x3'] with value='1'
MA5-DEBUG: Extracting a parameter labelled ['aEW'] with value='1/aEWM1'
MA5-DEBUG: Extracting a parameter labelled ['G'] with value='2*cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['MW'] with value='cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['ee'] with value='2*cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['sw2'] with value='1
MA5-DEBUG: Extracting a parameter labelled ['cw'] with value='cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['sw'] with value='cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['g1'] with value='ee/cw'
MA5-DEBUG: Extracting a parameter labelled ['gw'] with value='ee/sw'
MA5-DEBUG: Extracting a parameter labelled ['vev'] with value='
MA5-DEBUG: Extracting a parameter labelled ['lam'] with value='MH**2/
MA5-DEBUG: Extracting a parameter labelled ['yb'] with value='
MA5-DEBUG: Extracting a parameter labelled ['yc'] with value='
MA5-DEBUG: Extracting a parameter labelled ['ye'] with value='
MA5-DEBUG: Extracting a parameter labelled ['ym'] with value='
MA5-DEBUG: Extracting a parameter labelled ['yt'] with value='
MA5-DEBUG: Extracting a parameter labelled ['ytau'] with value='
MA5-DEBUG: Extracting a parameter labelled ['muH'] with value='cmath.sqrt
MA5-DEBUG: Extracting a parameter labelled ['I1x31'] with value='yb*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I1x32'] with value='yb*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I1x33'] with value='yb*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x12'] with value='yc*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x13'] with value='yt*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x22'] with value='yc*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x23'] with value='yt*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x32'] with value='yc*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I2x33'] with value='yt*complexconjugate
MA5-DEBUG: Extracting a parameter labelled ['I3x21'] with value='CKM2x1*yc'
MA5-DEBUG: Extracting a parameter labelled ['I3x22'] with value='CKM2x2*yc'
MA5-DEBUG: Extracting a parameter labelled ['I3x23'] with value='CKM2x3*yc'
MA5-DEBUG: Extracting a parameter labelled ['I3x31'] with value='CKM3x1*yt'
MA5-DEBUG: Extracting a parameter labelled ['I3x32'] with value='CKM3x2*yt'
MA5-DEBUG: Extracting a parameter labelled ['I3x33'] with value='CKM3x3*yt'
MA5-DEBUG: Extracting a parameter labelled ['I4x13'] with value='CKM1x3*yb'
MA5-DEBUG: Extracting a parameter labelled ['I4x23'] with value='CKM2x3*yb'
MA5-DEBUG: Extracting a parameter labelled ['I4x33'] with value='CKM3x3*yb'
MA5: 43 particles have been successfully exported.
MA5: Adding 'gha' 'gha~' 've' 've~' 'vm' 'vm~' 'vt' 'vt~' to 'invisible' multiparticle
ma5>import /home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz as unweighted_events
MA5-DEBUG: ['import', '/home/arka/MG5_aMC_v2_5_3/Sample2/Events/run_02/unweighted_events.lhe.gz', 'as', 'unweighted_events']
MA5: -> Storing the file 'unweighted_events.lhe.gz' in the dataset 'unweighted_events'.
ma5>plot THT 40 0 500 [logY]
MA5-DEBUG: ['plot', 'THT', '40', '0', '500', '[', 'logY', ']']
ma5>plot SQRTS 40 0 500 [logY]
MA5-DEBUG: ['plot', 'SQRTS', '40', '0', '500', '[', 'logY', ']']
ma5>submit Sample3
MA5-DEBUG: ['submit', 'Sample3']
MA5-DEBUG: Launching SampleAnalyzer ...
MA5: Creating folder 'Sample3'...
MA5: Copying 'SampleAnalyzer' source files...
MA5: Inserting your selection into 'SampleAnalyzer'...
MA5-DEBUG: --------------------------------------------
MA5-DEBUG: SELECTION STEP 0: * Plot: THT
MA5-DEBUG: - selection step = histogram
MA5-DEBUG: --------------------------------------------
MA5-DEBUG: SELECTION STEP 1: * Plot: SQRTS
MA5-DEBUG: - selection step = histogram
MA5-DEBUG: --------------------------------------------
MA5: Writing the list of datasets...
MA5: Writing the command line history...
MA5: Creating Makefiles...
MA5: Compiling 'SampleAnalyzer'...
MA5: Linking 'SampleAnalyzer'...
MA5-ERROR: impossible to link the project. For more details, see the log file:
MA5-ERROR: /home/arka/madanalysis5/Sample3/Build/Log/linking.log
MA5-ERROR: job submission aborted.
ma5>

Can you help with this problem?

Provide an answer of your own, or ask Richard Ruiz for more information if necessary.

To post a message you must log in.