Delphes Installation Fails

Asked by Seth Koren

Hello MadAnalysis team,

I'm getting an error when attempting to install Delphes through MadAnalysis. Here's the output:

ma5>install delphes
MA5-WARNING: Delphes not installed: installing it...
MA5:
MA5: **********************************************************
MA5: Installing delphes
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => not found. OK
MA5: How many cores would you like to use for the compilation ? default = max = 8
   => Answer: 1
MA5: => Number of cores used for the compilation = 1
MA5: **********************************************************
MA5: Creating a devoted folder ...
MA5: Creating a temporary folder ...
MA5: Downloading the package ...
MA5: - 1/1 http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.3.3.tar.gz ...
MA5: 'delphes.tar.gz' already exists. Package not downloaded.
MA5: Unpacking the package ...
MA5: Configuring the package ...
MA5: Building the package ...
MA5-ERROR: impossible to build the project. For more details, see the log file:
MA5-ERROR: /home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/tools/delphes/compilation.log
MA5: Installation NOT complete.
MA5: => Status: [FAILURE]
MA5: **********************************************************

compilation.log reads simply
make: *** No targets. Stop.

and configuration.log reads
./configure: 6: ./configure: tclsh: not found
Makefile ready
To build Delphes type
   make

Trying to get it to make the Makefiles directly yields
> make Makefile
make: Nothing to be done for `Makefile'.
> make Makefile.savema5
make: Nothing to be done for `Makefile.savema5'.

Also if I try a second time to have MA5 install Delphes I get

ma5>install delphes
Traceback (most recent call last):
  File "./bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 394, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 299, in MainSession
    interpreter.cmdloop()
  File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/interpreter.py", line 252, in do_install
    result = self.cmd_install.do(self.split_arg(line))
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/cmd_install.py", line 129, in do
    return inst_delphes(self.main,installer)
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/cmd_install.py", line 70, in inst_delphes
    ResuActi = installer.Activate('delphes')
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/install/install_manager.py", line 253, in Activate
    return installer.Activate()
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/install/install_delphes.py", line 521, in Activate
    hasdelphes = checker.checkDelphes(True)
  File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/system/config_checker.py", line 459, in checkDelphes
    self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
IndexError: list index out of range

Deleting the /madanalysis5/madanalysis5/tools/delphes folder entirely gets me back to the first install error.

Any idea what could be responsible for this error? It seems distinct from the other install errors that had been reported.

Thanks so much for your help!

Seth

Question information

Language:
English Edit question
Status:
Expired
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

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

Hi Koren,

Please use v1.6beta. This has been fixed in that version (the mg5 tarball will be updated this week or the following one.

Regards,

Benjamin

> On 21 Oct 2017, at 18:53 , Seth Koren <email address hidden> wrote:
>
> New question #659742 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/659742
>
> Hello MadAnalysis team,
>
> I'm getting an error when attempting to install Delphes through MadAnalysis. Here's the output:
>
> ma5>install delphes
> MA5-WARNING: Delphes not installed: installing it...
> MA5:
> MA5: **********************************************************
> MA5: Installing delphes
> MA5: **********************************************************
> MA5: Detecting a previous installation ...
> MA5: => not found. OK
> MA5: How many cores would you like to use for the compilation ? default = max = 8
> => Answer: 1
> MA5: => Number of cores used for the compilation = 1
> MA5: **********************************************************
> MA5: Creating a devoted folder ...
> MA5: Creating a temporary folder ...
> MA5: Downloading the package ...
> MA5: - 1/1 http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.3.3.tar.gz ...
> MA5: 'delphes.tar.gz' already exists. Package not downloaded.
> MA5: Unpacking the package ...
> MA5: Configuring the package ...
> MA5: Building the package ...
> MA5-ERROR: impossible to build the project. For more details, see the log file:
> MA5-ERROR: /home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/tools/delphes/compilation.log
> MA5: Installation NOT complete.
> MA5: => Status: [FAILURE]
> MA5: **********************************************************
>
> compilation.log reads simply
> make: *** No targets. Stop.
>
> and configuration.log reads
> ./configure: 6: ./configure: tclsh: not found
> Makefile ready
> To build Delphes type
> make
>
> Trying to get it to make the Makefiles directly yields
>> make Makefile
> make: Nothing to be done for `Makefile'.
>> make Makefile.savema5
> make: Nothing to be done for `Makefile.savema5'.
>
>
> Also if I try a second time to have MA5 install Delphes I get
>
> ma5>install delphes
> Traceback (most recent call last):
> File "./bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 394, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 299, in MainSession
> interpreter.cmdloop()
> File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
> stop = self.onecmd(line)
> File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
> return func(arg)
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/interpreter.py", line 252, in do_install
> result = self.cmd_install.do(self.split_arg(line))
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/cmd_install.py", line 129, in do
> return inst_delphes(self.main,installer)
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/interpreter/cmd_install.py", line 70, in inst_delphes
> ResuActi = installer.Activate('delphes')
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/install/install_manager.py", line 253, in Activate
> return installer.Activate()
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/install/install_delphes.py", line 521, in Activate
> hasdelphes = checker.checkDelphes(True)
> File "/home/koren/MG5_aMC_v2_6_0/HEPTools/madanalysis5/madanalysis5/madanalysis/system/config_checker.py", line 459, in checkDelphes
> self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
> IndexError: list index out of range
>
> Deleting the /madanalysis5/madanalysis5/tools/delphes folder entirely gets me back to the first install error.
>
> Any idea what could be responsible for this error? It seems distinct from the other install errors that had been reported.
>
> Thanks so much for your help!
>
> Seth
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Seth Koren (korens) said :
#2

Thanks Benjamin Fuks, that solved my question.

Revision history for this message
Seth Koren (korens) said :
#3

Thanks for the quick response!

Sorry, I prematurely clicked that button. Unfortunately I seem to be having the same problem using v1.6.31 which I downloaded from here: http://bazaar.launchpad.net/~ma5dev/madanalysis5/v1.6beta/revision/182

The log files are exactly the same, as is the first error. The error upon installing a second time is roughly the same as well:

Traceback (most recent call last):
  File "~ma5dev/madanalysis5/v1.6beta/bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/core/launcher.py", line 397, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/core/launcher.py", line 302, in MainSession
    interpreter.cmdloop()
  File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.7/cmd.py", line 221, in onecmd
    return func(arg)
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/interpreter/interpreter.py", line 252, in do_install
    result = self.cmd_install.do(self.split_arg(line))
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/interpreter/cmd_install.py", line 129, in do
    return inst_delphes(self.main,installer)
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/interpreter/cmd_install.py", line 70, in inst_delphes
    ResuActi = installer.Activate('delphes')
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/install/install_manager.py", line 253, in Activate
    return installer.Activate()
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/install/install_delphes.py", line 570, in Activate
    hasdelphes = checker.checkDelphes(True)
  File "/home/koren/~ma5dev/madanalysis5/v1.6beta/madanalysis/system/config_checker.py", line 459, in checkDelphes
    self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
IndexError: list index out of range

Is there any other information I could supply that would be helpful?

Revision history for this message
Launchpad Janitor (janitor) said :
#4

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

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

Hi Seth,

We just noticed that answer. We are on it.

Cheers,

Benjamin and Eric

Revision history for this message
Launchpad Janitor (janitor) said :
#6

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

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

Dear Seth,

I am sorry to reply you so lately.

I think the problem is stemmed from the fact that the tclsh program is not installed on your system. This package is required for Delphes.

Cheers,
Eric

Revision history for this message
Seth Koren (korens) said :
#8

Hi Eric,

That was it! Great, thanks so much for your help.

Best,

Seth