installation TestRoot.log

Asked by Alan Hernández

Dear Madanalysis team,

Some hours ago I was working as usual in madgraph, then I had some problems with madanalys, it said something like it could not write the madanalysis.card .I have never had any problem before, I tried to solve it but I am worried it is worse now. I decided to reinstall madanalysis but it is not working, I got the following message

MA5-DEBUG: Command: ./TestRoot
MA5-DEBUG: LogFile: /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestRoot.log
MA5-ERROR: impossible to run the project. For more details, see the log file:
MA5-ERROR: /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestRoot.log
MA5-ERROR: the test failed.

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'.
Downloading the HEPToolInstaller at:
   http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V130.tar.gz
Now installing madanalysis5. Be patient...
Removing existing installation of tool 'madanalysis5' in '/Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools'.
Fetching data with command:
  curl -OL http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 772k 100 772k 0 0 392k 0 0:00:01 0:00:01 --:--:-- 392k
Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5_install.log
Successful installation of 'madanalysis5' in '/Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools'.
madanalysis5 successfully installed in /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools.
save configuration file to /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/input/mg5_configuration.txt
Command "install MadAnalysis5" interrupted with error:
InvalidCmd : Installation of madanalysis5 failed.

could you help me please?

thanks for your time

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi,

Can you please share the log files?

Regards,

Benjamin

> On 8 Jul 2020, at 22:05 , Alan Hernández <email address hidden> wrote:
>
> New question #691761 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/691761
>
> Dear Madanalysis team,
>
> Some hours ago I was working as usual in madgraph, then I had some problems with madanalys, it said something like it could not write the madanalysis.card .I have never had any problem before, I tried to solve it but I am worried it is worse now. I decided to reinstall madanalysis but it is not working, I got the following message
>
> MA5-DEBUG: Command: ./TestRoot
> MA5-DEBUG: LogFile: /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestRoot.log
> MA5-ERROR: impossible to run the project. For more details, see the log file:
> MA5-ERROR: /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin/TestRoot.log
> MA5-ERROR: the test failed.
>
> 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'.
> Downloading the HEPToolInstaller at:
> http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V130.tar.gz
> Now installing madanalysis5. Be patient...
> Removing existing installation of tool 'madanalysis5' in '/Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools'.
> Fetching data with command:
> curl -OL http://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_latest.tgz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 772k 100 772k 0 0 392k 0 0:00:01 0:00:01 --:--:-- 392k
> Installing tool 'madanalysis5'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5_install.log
> Successful installation of 'madanalysis5' in '/Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools'.
> madanalysis5 successfully installed in /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools.
> save configuration file to /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/input/mg5_configuration.txt
> Command "install MadAnalysis5" interrupted with error:
> InvalidCmd : Installation of madanalysis5 failed.
>
> could you help me please?
>
> thanks for your time
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Alan Hernández (alaban7) said :
#2

Hi Benjamin,

 There is no TestRoot.log file in /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin

is that the problem?

On the other hand, MA5 seems to be working good now, I used the following answer to fix it:

https://answers.launchpad.net/madanalysis5/+question/690289

but, is it still possible to have problems with Root in the future?

Thanks

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

We indeed implemented a few updates recently. This may have fixed the issue (provided newer versions of mg5 and ma5 are used).

Cheers,

Benjamin

> On 9 Jul 2020, at 19:35 , Alan Hernández <email address hidden> wrote:
>
> Question #691761 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/691761
>
> Status: Answered => Open
>
> Alan Hernández is still having a problem:
> Hi Benjamin,
>
> There is no TestRoot.log file in
> /Users/alan/Documents/MG5/MG5_aMC_v2_6_7/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Bin
>
> is that the problem?
>
> On the other hand, MA5 seems to be working good now, I used the
> following answer to fix it:
>
> https://answers.launchpad.net/madanalysis5/+question/690289
>
> but, is it still possible to have problems with Root in the future?
>
> Thanks
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Alan Hernández (alaban7) said :
#4

Hi, I´ve found the log file

dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

I still have the problem when I run madanalysis outside of madgraph.

Cheers

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

Hi,

Can you please check whether the files
   /usr/local/lib/libJPEG.dylib
  /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
exists?

If the second exists but not the first, it will be sufficient to create a symbolic link. This should fix the issue.

Cheers,

Benjamin

Revision history for this message
Alan Hernández (alaban7) said :
#6

It is working now! but I repeated the same process for different .dylib files

Thanks for your time!

Revision history for this message
Alan Hernández (alaban7) said :
#7

Thanks Benjamin Fuks, that solved my question.