Installing MadAnalysis on 64-bit Linux

Asked by Ben Tannenwald on 2012-07-04

Hello,

I'm having trouble installing MadAnalysis on my computer (running 10.04 Ubuntu Linux). When trying to install, I get the error message:

td program (needed by MadAnalysis) is not compile for 64 bit computer
                Please follow instruction in http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer.

I saw the other question asked about this (https://answers.launchpad.net/madgraph5/+question/189069) and went to the new site suggested there. That twiki page suggests installing ia32-libs in order to get MadAnalysis to compile, so I made sure the package was installed on my system, but I still get the same error telling me that td can't be compiled on a 64 bit computer (same error as above). Any help that anyone can offer would be much appreciated. Thank you very much.

Ben

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2012-07-04
Last reply:
2013-07-17

Hi Ben,

The message will be always printed (since I don't know how to test the
presence of that library or not)

If the library is installed, then the installation is completed and
your program is suppose to work.

Cheers,

Olivier

On 05-juil.-12, at 00:51, Ben Tannenwald wrote:

> New question #202285 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/202285
>
> Hello,
>
> I'm having trouble installing MadAnalysis on my computer (running
> 10.04 Ubuntu Linux). When trying to install, I get the error message:
>
> td program (needed by MadAnalysis) is not compile for 64 bit computer
> Please follow instruction in http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer
> .
>
> I saw the other question asked about this (https://answers.launchpad.net/madgraph5/+question/189069
> ) and went to the new site suggested there. That twiki page suggests
> installing ia32-libs in order to get MadAnalysis to compile, so I
> made sure the package was installed on my system, but I still get
> the same error telling me that td can't be compiled on a 64 bit
> computer (same error as above). Any help that anyone can offer would
> be much appreciated. Thank you very much.
>
> Ben
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Maikel de Vries (mdt-maikel) said : #2

Hello Olivier,

I have the same problem here: But it does not work out as you suggested, I have the ia32-libs installed but the installation halts after the td error message. What could be another cause of this problem?

Best, Maikel

Hi Maikel,

The program is suppose to stop after that message. So not sure if you have any trouble or not.
Could you show me what is printed to your screen?

Thanks,

Olivier

Maikel de Vries (mdt-maikel) said : #4

Hello Olivier, thanks for your answer.

Sorry for the late reply, apparantly I only get email notifications when being the initial author of a question.
Anyhow, the output is the following:
mg5>install MadAnalysis
Downloading http://madgraph.phys.ucl.ac.be/Downloads/MadAnalysis_V1.1.6.tar.gz
--2012-07-24 15:34:33-- http://madgraph.phys.ucl.ac.be/Downloads/MadAnalysis_V1.1.6.tar.gz
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 97935 (96K) [application/x-gzip]
Saving to: `MadAnalysis.tgz'

100%[======================================>] 97,935 496K/s in 0.2s

2012-07-24 15:34:33 (496 KB/s) - `MadAnalysis.tgz' saved [97935/97935]

compile MadAnalysis. This might takes a while.
gfortran -O -w -ffixed-line-length-132 -c plot_events.f
gfortran -O -w -ffixed-line-length-132 -c dbook.f
gfortran -O -w -ffixed-line-length-132 -c rw_events.f
gfortran -O -w -ffixed-line-length-132 -c kin_func.f
gfortran -O -w -ffixed-line-length-132 -c set_cuts.f
gfortran -O -w -ffixed-line-length-132 -o plot_events plot_events.o dbook.o rw_events.o kin_func.o set_cuts.o
compilation succeeded
Downloading TD for Linux 32 bit
--2012-07-24 15:34:36-- http://madgraph.phys.ucl.ac.be/Downloads/td
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2252060 (2.1M) [text/plain]
Saving to: `td'

100%[======================================>] 2,252,060 3.15M/s in 0.7s

2012-07-24 15:34:37 (3.15 MB/s) - `td' saved [2252060/2252060]

td program (needed by MadAnalysis) is not compile for 64 bit computer
                Please follow instruction in http://cp3wks05.fynu.ucl.ac.be/twiki/bin/view/Software/TopDrawer.

So what you are saying is that the installation was successful? Is there an easy way to test that?

Thanks,

Maikel

You just need to launch a process
./bin/mg5
generate p p > t t~
output
launch -f

Then look at the html output, and click on the plot link.
If you have the plots, that means that everything is perfectly working.

Cheers,

Olivier

Maikel de Vries (mdt-maikel) said : #6

Thanks for the fast reply, it is working! Sorry for the rather unnecessary question in hindsight.

Cheers, Maikel

you are welcome,

Olivier

Ben Vail (benv86) said : #8

Hi,
    Sorry to revive an old thread but I'm having this same problem and it's preventing me from continuing on to install ExRootAnalysis. I installed the 32bit libs as suggested on the install error link and like was posted earlier, I am able to get the plots. But for some reason it's causing the install ExRootAnalysis to fail.

here's the ouput for madanalysis
(see below for ExRootAnalysis install output)

mg5>install MadAnalysis
Downloading http://madgraph.phys.ucl.ac.be/Downloads/MadAnalysis_V1.1.8.tar.gz
--2013-07-14 08:20:55-- http://madgraph.phys.ucl.ac.be/Downloads/MadAnalysis_V1.1.8.tar.gz
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 43598 (43K) [application/x-gzip]
Saving to: ‘MadAnalysis.tgz’

100%[======================================>] 43,598 74.0KB/s in 0.6s

2013-07-14 08:20:56 (74.0 KB/s) - ‘MadAnalysis.tgz’ saved [43598/43598]

compile MadAnalysis. This might takes a while.
gfortran -O -w -ffixed-line-length-132 -c plot_events.f
gfortran -O -w -ffixed-line-length-132 -c dbook.f
gfortran -O -w -ffixed-line-length-132 -c rw_events.f
gfortran -O -w -ffixed-line-length-132 -c kin_func.f
gfortran -O -w -ffixed-line-length-132 -c set_cuts.f
gfortran -O -w -ffixed-line-length-132 -o plot_events plot_events.o dbook.o rw_events.o kin_func.o set_cuts.o
compilation succeeded
Downloading TD for Linux 32 bit
--2013-07-14 08:20:59-- http://madgraph.phys.ucl.ac.be/Downloads/td
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2252060 (2.1M) [text/plain]
Saving to: ‘td’

100%[======================================>] 2,252,060 692KB/s in 3.2s

2013-07-14 08:21:02 (692 KB/s) - ‘td’ saved [2252060/2252060]

td program (needed by MadAnalysis) is not compile for 64 bit computer
                Please follow instruction in https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/TopDrawer .
mg5>

And here's the output for exrootanalysis

mg5>install ExRootAnalysis
Downloading http://madgraph.phys.ucl.ac.be/Downloads/ExRootAnalysis/ExRootAnalysis_V1.0.10.tar.gz
--2013-07-14 08:24:03-- http://madgraph.phys.ucl.ac.be/Downloads/ExRootAnalysis/ExRootAnalysis_V1.0.10.tar.gz
Resolving madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)... 130.104.133.249
Connecting to madgraph.phys.ucl.ac.be (madgraph.phys.ucl.ac.be)|130.104.133.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 535940 (523K) [application/x-gzip]
Saving to: ‘ExRootAnalysis.tgz’

100%[======================================>] 535,940 276KB/s in 1.9s

2013-07-14 08:24:06 (276 KB/s) - ‘ExRootAnalysis.tgz’ saved [535940/535940]

compile ExRootAnalysis. This might takes a while.
>> Generating tmp/src/ExRootAnalysisDict.cc
>> Compiling tmp/src/ExRootAnalysisDict.cc
tmp/src/ExRootAnalysisDict.cc: In function ‘void ROOT::delete_ExRootClassifier(void*)’:
tmp/src/ExRootAnalysisDict.cc:2540:37: warning: deleting object of abstract class type ‘ExRootClassifier’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
tmp/src/ExRootAnalysisDict.cc: In function ‘int G__ExRootAnalysisDict_666_0_2(G__value*, const char*, G__param*, int)’:
tmp/src/ExRootAnalysisDict.cc:5794:35: warning: deleting object of abstract class type ‘ExRootClassifier’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor]
>> Generating tmp/modules/ModulesDict.cc
>> Compiling tmp/modules/ModulesDict.cc
In file included from ./CDFCones/PhysicsTower.hh:5:0,
                 from ./modules/MadGraphConeJetFinder.h:6,
                 from tmp/modules/ModulesDict.cc:6:
./CDFCones/CalTower.hh: In constructor ‘CalTower::CalTower(double, double, double)’:
./CDFCones/CalTower.hh:34:57: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
>> Compiling src/ExRootFilter.cc
>> Compiling src/ExRootConfReader.cc
src/ExRootConfReader.cc: In constructor ‘ExRootConfReader::ExRootConfReader()’:
src/ExRootConfReader.cc:33:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
src/ExRootConfReader.cc: In function ‘int ModuleObjCmdProc(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
src/ExRootConfReader.cc:185:100: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
src/ExRootConfReader.cc:198:78: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
src/ExRootConfReader.cc:199:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>> Compiling src/ExRootFactory.cc
>> Compiling src/ExRootTreeWriter.cc
>> Compiling src/ExRootResult.cc
>> Compiling src/ExRootModule.cc
>> Compiling src/ExRootClasses.cc
>> Compiling src/ExRootTreeBranch.cc
>> Compiling src/ExRootTreeReader.cc
>> Compiling src/ExRootTask.cc
>> Compiling src/ExRootAnalysis.cc
>> Compiling src/ExRootProgressBar.cc
>> Compiling src/ExRootUtilities.cc
>> Compiling modules/MadGraphAnalysis.cc
modules/MadGraphAnalysis.cc:14:28: fatal error: TLorentzVector.h: No such file or directory
compilation terminated.
make: *** [tmp/modules/MadGraphAnalysis.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

Pavel Demin (pavel-demin) said : #9

Hi Ben,

Looking at the error message (TLorentzVector.h: No such file or directory), I'd say that there is a problem with the ROOT related environment variables.

Could you, please check the following:
 - ROOT is installed
 - ROOTSYS environment variable point to the main ROOT directory
 - $ROOTSYS/include/TLorentzVector.h file exists

Cheers,

Pavel

Ben Vail (benv86) said : #10

Yep, that was the problem. The TLorentz file was missing, reinstalled root and it's working now.

Thanks,
Ben

Can you help with this problem?

Provide an answer of your own, or ask Ben Tannenwald for more information if necessary.

To post a message you must log in.