Issue with installing packages (delphes, zlib, fastjet) in MadAnalysis5.

Asked by Paavan on 2019-07-17

Hi.
I have been trying to run MadAnalysis5 but whenever I try to install any package, errors occur.
When I try to install delphes, the following error occurs.
ma5>install delphesMA5tune
MA5-WARNING: DelphesMA5tune is not installed: installing it...
MA5:
MA5: **********************************************************
MA5: Installing delphesMA5tune
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => not found. OK
MA5: How many cores would you like to use for the compilation ? default = max = 4
   => Answer: 4
MA5: => Number of cores used for the compilation = 4
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.4.1.tar.gz ...
             --> Download 4.86M of 4.86M (100.0%)
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/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/tools/delphesMA5tune/compilation.log
MA5: Installation NOT complete.
MA5: Elapsed time = 20.77 seconds
MA5: => Status: [FAILURE]
MA5: **********************************************************

The compilation log says the following.
make: *** No targets. Stop.

Further, whenever I try to install any other package such as zlib or fastjet, this other error occurs which forces my ma5 to crash.
ma5>install zlib
MA5:
MA5: **********************************************************
MA5: Installing zlib
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => not found. OK
MA5: How many cores would you like to use for the compilation ? default = max = 4
   => Answer: 4
MA5: => Number of cores used for the compilation = 4
MA5: **********************************************************
MA5: Creating a devoted folder ...
MA5: Creating a temporary folder ...
MA5: Downloading the package ...
MA5: - 1/1 http://zlib.net/zlib-1.2.11.tar.gz ...
             --> Download 593.46K of 593.46K (100.0%)
MA5: Unpacking the package ...
MA5: Configuring the package ...
MA5: Building the package ...
MA5: Transfering the data from the temporary to the definitive folder ...
MA5: Checking the installation ...
MA5: Installation complete.
MA5: Elapsed time = 22.50 seconds
MA5: => Status: [OK]
MA5: **********************************************************
MA5:
MA5:
MA5: MadAnalysis 5 must be restarted for taking into account the present installation.
MA5-WARNING: Are you sure to restart the MadAnalysis 5 session? (Y/N)
Answer: y
MA5:
MA5: ----------------------------------------
MA5: RESTART THE MADANALYSIS 5 SESSION
MA5: ----------------------------------------
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.8.5 2019/04/04 *
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.18.0-25-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: - FastJet [OK]
MA5: - Root [OK]
Traceback (most recent call last):
  File "./bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 411, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 260, in MainSession
    if not main.CheckConfig(debug=mode.debug):
  File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/main.py", line 438, in CheckConfig
    if not checkup.CheckOptionalProcessingPackages():
  File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/system/checkup.py", line 324, in CheckOptionalProcessingPackages
    self.archi_info.has_delphes = checker2.checkDelphes()
  File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/system/config_checker.py", line 455, in checkDelphes
    self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
IndexError: list index out of range

I have checked with installing the updated version of MadAnalysis and when that didn't work, I also scrapped my current version of MadGraph and got an updated version of MadGraph and then tried reinstalling MadAnalysis5. I found the same errors when I tried installing the packages for MadAnalysis5. I'm not sure how to proceed further. Any help would be much appreciated.
Thanks a lot.
Paavan Gaur

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-17
Last reply:
2019-07-18
Benjamin Fuks (fuks) said : #1

Hi Paavan,

Can you please share the file
  /home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/tools/delphesMA5tune/compilation.log

Cheers,

Benjamin

> On 17 Jul 2019, at 05:03 , Paavan <email address hidden> wrote:
>
> New question #682098 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/682098
>
> Hi.
> I have been trying to run MadAnalysis5 but whenever I try to install any package, errors occur.
> When I try to install delphes, the following error occurs.
> ma5>install delphesMA5tune
> MA5-WARNING: DelphesMA5tune is not installed: installing it...
> MA5:
> MA5: **********************************************************
> MA5: Installing delphesMA5tune
> MA5: **********************************************************
> MA5: Detecting a previous installation ...
> MA5: => not found. OK
> MA5: How many cores would you like to use for the compilation ? default = max = 4
> => Answer: 4
> MA5: => Number of cores used for the compilation = 4
> 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.4.1.tar.gz ...
> --> Download 4.86M of 4.86M (100.0%)
> 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/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/tools/delphesMA5tune/compilation.log
> MA5: Installation NOT complete.
> MA5: Elapsed time = 20.77 seconds
> MA5: => Status: [FAILURE]
> MA5: **********************************************************
>
> The compilation log says the following.
> make: *** No targets. Stop.
>
> Further, whenever I try to install any other package such as zlib or fastjet, this other error occurs which forces my ma5 to crash.
> ma5>install zlib
> MA5:
> MA5: **********************************************************
> MA5: Installing zlib
> MA5: **********************************************************
> MA5: Detecting a previous installation ...
> MA5: => not found. OK
> MA5: How many cores would you like to use for the compilation ? default = max = 4
> => Answer: 4
> MA5: => Number of cores used for the compilation = 4
> MA5: **********************************************************
> MA5: Creating a devoted folder ...
> MA5: Creating a temporary folder ...
> MA5: Downloading the package ...
> MA5: - 1/1 http://zlib.net/zlib-1.2.11.tar.gz ...
> --> Download 593.46K of 593.46K (100.0%)
> MA5: Unpacking the package ...
> MA5: Configuring the package ...
> MA5: Building the package ...
> MA5: Transfering the data from the temporary to the definitive folder ...
> MA5: Checking the installation ...
> MA5: Installation complete.
> MA5: Elapsed time = 22.50 seconds
> MA5: => Status: [OK]
> MA5: **********************************************************
> MA5:
> MA5:
> MA5: MadAnalysis 5 must be restarted for taking into account the present installation.
> MA5-WARNING: Are you sure to restart the MadAnalysis 5 session? (Y/N)
> Answer: y
> MA5:
> MA5: ----------------------------------------
> MA5: RESTART THE MADANALYSIS 5 SESSION
> MA5: ----------------------------------------
> 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.8.5 2019/04/04 *
> 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.18.0-25-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: - FastJet [OK]
> MA5: - Root [OK]
> Traceback (most recent call last):
> File "./bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 411, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/launcher.py", line 260, in MainSession
> if not main.CheckConfig(debug=mode.debug):
> File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/core/main.py", line 438, in CheckConfig
> if not checkup.CheckOptionalProcessingPackages():
> File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/system/checkup.py", line 324, in CheckOptionalProcessingPackages
> self.archi_info.has_delphes = checker2.checkDelphes()
> File "/home/paavan-old/Downloads/mg5/mg5/HEPTools/madanalysis5/madanalysis5/madanalysis/system/config_checker.py", line 455, in checkDelphes
> self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
> IndexError: list index out of range
>
> I have checked with installing the updated version of MadAnalysis and when that didn't work, I also scrapped my current version of MadGraph and got an updated version of MadGraph and then tried reinstalling MadAnalysis5. I found the same errors when I tried installing the packages for MadAnalysis5. I'm not sure how to proceed further. Any help would be much appreciated.
> Thanks a lot.
> Paavan Gaur
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Paavan (softtofu) said : #2

Hi Benjamin,
Thanks for the prompt reply. I can't seem to understand how to upload the compilation.log file here, but I'll post the entirety of the file below (there is only one line in the compilation.log file).

make: *** No targets. Stop.

Please let me know if there is a trivial problem on my part or if there is a bug in my system.
Thanks a lot
Paavan

Benjamin Fuks (fuks) said : #3

Hi,

Do you mind trying installing delphes externally (i.e. outside madanalysis 5) and see whether it works?

Cheers,

Benjamin

> On 17 Jul 2019, at 07:23 , Paavan <email address hidden> wrote:
>
> Question #682098 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/682098
>
> Paavan posted a new comment:
> Hi Benjamin,
> Thanks for the prompt reply. I can't seem to understand how to upload the compilation.log file here, but I'll post the entirety of the file below (there is only one line in the compilation.log file).
>
> make: *** No targets. Stop.
>
>
> Please let me know if there is a trivial problem on my part or if there is a bug in my system.
> Thanks a lot
> Paavan
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

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

To post a message you must log in.