Default installation of Madanalys5 failed.

Asked by HuanyuBi

Hi

I try to install ma5 from mg5, "MG5_aMC>install MadAnalysis5", but i get an error

Now installing madanalysis5. Be patient...
Removing existing installation of tool 'madanalysis5' in '/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools'.
Fetching data with command:
  wget --no-check-certificate https://bazaar.launchpad.net/~ma5dev/madanalysis5/v1.9_beta/tarball
--2021-07-01 20:09:38-- https://bazaar.launchpad.net/~ma5dev/madanalysis5/v1.9_beta/tarball
Resolving bazaar.launchpad.net (bazaar.launchpad.net)... 91.189.95.84
Connecting to bazaar.launchpad.net (bazaar.launchpad.net)|91.189.95.84|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘tarball’

    [ <=> ] 821,491 1002KB/s in 0.8s

2021-07-01 20:09:40 (1002 KB/s) - ‘tarball’ saved [821491]

Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/madanalysis5/madanalysis5_install.log
 Note that Madanalysis5 for Python3 is still in ALPHA stage.
Traceback (most recent call last):
  File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1517, in <module>
    install_with_dependencies(target_tool,is_main_target=True)
  File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1491, in install_with_dependencies
    exec('install_%s(tmp_path)' % target)
  File "<string>", line 1, in <module>
  File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 992, in install_madanalysis5
    _fastjet_path = _non_installable_dependencies['fastjet']['path']
KeyError: 'fastjet'
Default installation of Madanalys5 failed.
MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
This will however limit MA5 applicability for hadron-level analysis.
If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.

then madgraph just re-install ma5 again and again in an infinity loop. i have to cancel the job with "CTRL+C".
my MG5 version is 3.1.1 and my python version is 3.7.9, and I tried python2.7.5 too and it dose not work either.
do you have any idea ?

thanks

Best regards
Huanyu

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Jack Y. Araz
Solved:
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi Huanyu

Could you install ma5 standalone and see if it still doesn’t work.

cheers


Jack Y. Araz

> On Jul 1, 2021, at 7:20 PM, HuanyuBi <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> New question #697811 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/697811
>
> Hi
>
> I try to install ma5 from mg5, "MG5_aMC>install MadAnalysis5", but i get an error
>
> Now installing madanalysis5. Be patient...
> Removing existing installation of tool 'madanalysis5' in '/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools'.
> Fetching data with command:
> wget --no-check-certificate https://bazaar.launchpad.net/~ma5dev/madanalysis5/v1.9_beta/tarball
> --2021-07-01 20:09:38-- https://bazaar.launchpad.net/~ma5dev/madanalysis5/v1.9_beta/tarball
> Resolving bazaar.launchpad.net (bazaar.launchpad.net)... 91.189.95.84
> Connecting to bazaar.launchpad.net (bazaar.launchpad.net)|91.189.95.84|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [application/octet-stream]
> Saving to: ‘tarball’
>
> [ <=> ] 821,491 1002KB/s in 0.8s
>
> 2021-07-01 20:09:40 (1002 KB/s) - ‘tarball’ saved [821491]
>
> Installing tool 'madanalysis5'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/madanalysis5/madanalysis5_install.log
> Note that Madanalysis5 for Python3 is still in ALPHA stage.
> Traceback (most recent call last):
> File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1517, in <module>
> install_with_dependencies(target_tool,is_main_target=True)
> File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1491, in install_with_dependencies
> exec('install_%s(tmp_path)' % target)
> File "<string>", line 1, in <module>
> File "/rwthfs/rz/cluster/home/ke487483/MG5_aMC/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 992, in install_madanalysis5
> _fastjet_path = _non_installable_dependencies['fastjet']['path']
> KeyError: 'fastjet'
> Default installation of Madanalys5 failed.
> MG5aMC will now attempt to reinstall it with the options '--no_MA5_further_install --no_root_in_MA5'.
> This will however limit MA5 applicability for hadron-level analysis.
> If you would like to prevent MG5aMC to re-attempt MA5 installation, start MG5aMC with './bin/mg5_aMC --debug'.
>
>
> then madgraph just re-install ma5 again and again in an infinity loop. i have to cancel the job with "CTRL+C".
> my MG5 version is 3.1.1 and my python version is 3.7.9, and I tried python2.7.5 too and it dose not work either.
> do you have any idea ?
>
> thanks
>
> Best regards
> Huanyu
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
HuanyuBi (bihuanyu) said :
#2

Hi Jack

I just download the MG, MadAnalysis5_v1.8_patch1.tgz, and then I did
tar -xvf MadAnalysis5_v1.8_patch1.tgz
cd madanalysis5
./bin/ma5

MA5: Platform: Linux 3.10.0-1160.15.2.el7.x86_64 [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 [DISABLED]
MA5: - Root [OK]
MA5: - Delphes [DISABLED]
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking the MadAnalysis 5 core library:
MA5: => First use of MadAnalysis (or the library is missing).
MA5:
MA5: **********************************************************
MA5: Building SampleAnalyzer libraries
MA5: **********************************************************
MA5: How many cores for the compiling? default = max = 48
   Answer: 1
MA5: => Number of cores used for the compilation = 1
MA5: Writing the setup files ...
MA5: Writing all the Makefiles ...
MA5: **********************************************************
MA5: Component 1/9 - test program: SampleAnalyzer configuration
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /rwthfs/rz/cluster/home/ke487483/madanalysis5/tools/SampleAnalyzer/Configuration/compilation.log
MA5-ERROR: The test program building aborted.

in the log file, it is
 icpc -Wall -O3 -fPIC -I/rwthfs/rz/cluster/home/ke487483/madanalysis5/tools/ -o PortabilityCheckup/PortabilityCheckup.o -c PortabilityCheckup/PortabilityCheckup.cpp
 make: icpc: Command not found
 make: *** [PortabilityCheckup/PortabilityCheckup.o] Error 127

Best regards
Huanyu

Revision history for this message
Jack Y. Araz (jackaraz) said :
#3

Hi Huanyu

Could you please update your c++ compiler it seems to be outdated. Also please use version 1.9_beta if you want to use ma5 with python 3.

cheers


Jack Y. Araz

> On Jul 2, 2021, at 10:20 AM, HuanyuBi <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #697811 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/697811
>
> Status: Answered => Open
>
> HuanyuBi is still having a problem:
> Hi Jack
>
> I just download the MG, MadAnalysis5_v1.8_patch1.tgz, and then I did
> tar -xvf MadAnalysis5_v1.8_patch1.tgz
> cd madanalysis5
> ./bin/ma5
>
> MA5: Platform: Linux 3.10.0-1160.15.2.el7.x86_64 [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 [DISABLED]
> MA5: - Root [OK]
> MA5: - Delphes [DISABLED]
> MA5: - Delphes-MA5tune [DISABLED]
> MA5: Checking the MadAnalysis 5 core library:
> MA5: => First use of MadAnalysis (or the library is missing).
> MA5:
> MA5: **********************************************************
> MA5: Building SampleAnalyzer libraries
> MA5: **********************************************************
> MA5: How many cores for the compiling? default = max = 48
> Answer: 1
> MA5: => Number of cores used for the compilation = 1
> MA5: Writing the setup files ...
> MA5: Writing all the Makefiles ...
> MA5: **********************************************************
> MA5: Component 1/9 - test program: SampleAnalyzer configuration
> MA5: - Cleaning the project before building the test program ...
> MA5: - Compiling the source files ...
> MA5-ERROR: impossible to compile the project. For more details, see the log file:
> MA5-ERROR: /rwthfs/rz/cluster/home/ke487483/madanalysis5/tools/SampleAnalyzer/Configuration/compilation.log
> MA5-ERROR: The test program building aborted.
>
>
> in the log file, it is
> icpc -Wall -O3 -fPIC -I/rwthfs/rz/cluster/home/ke487483/madanalysis5/tools/ -o PortabilityCheckup/PortabilityCheckup.o -c PortabilityCheckup/PortabilityCheckup.cpp
> make: icpc: Command not found
> make: *** [PortabilityCheckup/PortabilityCheckup.o] Error 127
>
> Best regards
> Huanyu
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
HuanyuBi (bihuanyu) said :
#4

Hi Jack

my gcc version is 6.3.0.
I tried python2 and 3. both of them dont work.
where can I download v1.9_beta. i can only find the Latest version is v1.8.

Best regards
Huanyu

Revision history for this message
Jack Y. Araz (jackaraz) said :
#5

Hi Huanyu

In your paths there is a different compiler listed it seems; “icpc” instead of “gcc” or “g++”. This is an intel compiler and seems to be inaccessible. I’ve never used an intel compiler, so I can not help you much but in principle if you modify your .bashrc, ma5 will be able to see other compilers as well.

The latest version can be found in this link: https://code.launchpad.net/~ma5dev/madanalysis5/v1.9_beta <https://code.launchpad.net/~ma5dev/madanalysis5/v1.9_beta>

cheers


Jack Y. Araz

> On Jul 2, 2021, at 10:35 AM, HuanyuBi <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #697811 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/697811
>
> Status: Answered => Open
>
> HuanyuBi is still having a problem:
> Hi Jack
>
> my gcc version is 6.3.0.
> I tried python2 and 3. both of them dont work.
> where can I download v1.9_beta. i can only find the Latest version is v1.8.
>
> Best regards
> Huanyu
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
HuanyuBi (bihuanyu) said :
#6

Hi Jack

I have this "module switch intel gcc/6" in my .zshrc. and if I comment this line, then I can compile ma5.
so ma5 can't be compiled with this intel gcc ?

besides, in this page "https://code.launchpad.net/~ma5dev/madanalysis5/v1.9_beta", i cannot find any link for the downloading.

Best regards
Huanyu

Revision history for this message
Best Jack Y. Araz (jackaraz) said :
#7

Hi Huanyu

As far as I know, we haven’t tested ma5 with intel compiler simply because its not opensource.

Its a bazaar branch you can follow the instructions on top of the page to download it. Its just like github or gitlab.

cheers


Jack Y. Araz

> On Jul 2, 2021, at 12:55 PM, HuanyuBi <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #697811 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/697811
>
> Status: Answered => Open
>
> HuanyuBi is still having a problem:
> Hi Jack
>
> I have this "module switch intel gcc/6" in my .zshrc. and if I comment this line, then I can compile ma5.
> so ma5 can't be compiled with this intel gcc ?
>
> besides, in this page
> "https://code.launchpad.net/~ma5dev/madanalysis5/v1.9_beta", i cannot
> find any link for the downloading.
>
> Best regards
> Huanyu
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
HuanyuBi (bihuanyu) said :
#8

Thanks Jack Y. Araz, that solved my question.