-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MA5 installing error in MG5 #248
Comments
Hello, Can you please try to install MadAnalysis 5 as a standalone package. I am suspecting that the MG5 installer needs to be updated. Regards, Benjamin |
Hello, I have attempted to download it separately, but I have Python 3.10.12, and when executing this command: it keeps giving me this error message: Traceback (most recent call last): and importlib no longer exposes .util |
This will be updated in the next iteration of Ma5; see issue #237. |
Thank you for your help. Platform: Linux 6.5.0-27-generic [Linux mode] |
Hi @RBadawi99, the fact that you are getting an error does not help us to solve your problem. As Benjamin said earlier, we need some information to understand what's happening. We are not in your machine or not sitting next to you, so if you wish us to help, please provide all the log files and system information, including fastjet. |
Sorry. This is the only log file mentioned in the error: The system information is mentioned at the top: Python 3.10.12 If you require any other log files, kindly let me know. |
Can you please try to turn off fastjet in Cheers, Benjamin |
Greetings Benjamin, I vetoed in the installation_options.dat file as such: I then got this error message: Here is the .log file: Thanks. |
Hi. It looks like there's an issue with your root installation. Can you please try to veto it too and see whether it goes through? Cheers, Benjamin |
Hello, Benjamin. But the problem is with root. When typing "install root": I got this error: and here's the mentioned .log file: Many thanks. |
You indeed to install root externally to MA5 if you want to use its functionalities. The ```install root``` command is in fact only partly implemented. One easy way out is to go to the download directory and type ```make; make install```
Regards,
Benjamin
… On 16 Apr 2024, at 21:54, RBadawi99 ***@***.***> wrote:
Hello, Benjamin.
Thanks for your help.
I vetoed both fastjet and root. It worked!
I, then, installed "fastjet" through "install fastjet" and it installed fine.
But the problem is with root. When typing "install root": I got this error:
image.png (view on web) <https://github.com/MadAnalysis/madanalysis5/assets/108694197/20a310b2-7487-4229-b42f-9af7fec82ef7>
and here's the mentioned .log file:
configuration.log <https://github.com/MadAnalysis/madanalysis5/files/15001951/configuration.log>
Many thanks.
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ7T4V7T3W67X2WK5STY5V6Y3AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHAZDENBTGQ>.
You are receiving this because you commented.
|
Can you please try to manually install a more recent version of Root?
Regards,
Benjamin
… On 16 Apr 2024, at 22:25, RBadawi99 ***@***.***> wrote:
I did that, and after a while, it gave me this:
image.png (view on web) <https://github.com/MadAnalysis/madanalysis5/assets/108694197/f0faba87-48af-42bd-9aa9-fb7ae42cce74>
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJZ3VEHLNLWX33ZHEDDY5WCM5AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHA3DOMBWG4>.
You are receiving this because you commented.
|
That should work. I have v6.26/10 and it works.
Cheers,
Benjamin
… On 19 Apr 2024, at 13:03, RBadawi99 ***@***.***> wrote:
I have already installed it via the Snap store:
image.png (view on web) <https://github.com/MadAnalysis/madanalysis5/assets/108694197/ec6829ba-1ec3-487a-be94-fc0679d0773c>
There's a newer version dropped on the ROOT website but has not reached the store yet. Should I download it over the ROOT I have?
Many thanks.
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ7ZFIQGMUCG6HLUDA3Y6D2X5AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWGMZTSOBXGU>.
You are receiving this because you commented.
|
Hi,
Either by installing root manually and properly, or by using MA5 without root.
Cheers,
Benjamin
… On 19 Apr 2024, at 16:41, RBadawi99 ***@***.***> wrote:
Great! But how to solve this error?
image.png (view on web) <https://github.com/MadAnalysis/madanalysis5/assets/108694197/5f5fbc8e-ac16-484a-bedb-858c4509a709>
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ2KHQCDL767NRM3P6DY6EUKFAVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWG4ZDQNBRGE>.
You are receiving this because you commented.
|
Hello, By "installing root manually" you mean from the root website, not the Snap Store on Ubuntu? |
Hello,
I was refering to any mean you want outside MadAnalysis 5.
Regards,
Benjamin
… On 23 Apr 2024, at 14:34, RBadawi99 ***@***.***> wrote:
Hello,
By "installing root manually" you mean from the root website, not the Snap Store on Ubuntu?
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ5DRW7WHZWEPVUEYC3Y6ZIOFAVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGE4DGNZRGQ>.
You are receiving this because you commented.
|
Hello, I have it already installed outside of MA5. I have it installed by Snap Store, which means it's installed properly. But the MA5 is not working correctly. |
Hi,
Can you please share the log file with the error message?
Regards,
Benjamin
… On 24 Apr 2024, at 07:38, RBadawi99 ***@***.***> wrote:
Hello,
I have it already installed outside of MA5. I have it installed by Snap Store, which means it's installed properly. But the MA5 is not working correctly.
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ26I6O63OO3MVUCTGTY65AOFAVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGA3TINRVGU>.
You are receiving this because you commented.
|
Hello, I want to check one thing if I may: is there a preferred way to download ROOT for MA5 from those in their website (for Ubuntu)? Many thanks. |
Not that I know.
Cheers,
B>
… On 24 Apr 2024, at 11:23, RBadawi99 ***@***.***> wrote:
Hello,
I want to check one thing if I may: is there a preferred way to download ROOT for MA5 from those in their website?
https://root.cern/install/
Many thanks.
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJYRCETUISCMHPIPDQDY6522DAVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGQ4TSMBUGQ>.
You are receiving this because you commented.
|
Hello, To answer your previous comment:
Then when it does whats written in the blue above, it prodoces this error: And then it keeps repeating this to no end until I terminate it manualy.
This is the log file: You asked to run "make and make install" where in the root directory (in MA5), then I got this: Many thanks. |
I am very confused. You do not seem to have done what was recommended. Could you please:
Where does it crash? Cheers, Benjamin |
Hello, I have done all the above. As I mentioned in point 2 in my previous comment, I have installed MA5 independently (as you advised) from here https://github.com/MadAnalysis/madanalysis5 which is the latest version (1.10.12). and the .log file: Here where it crashes. It won't download root in MA5. Many thanks, Raghad. |
As I told you, please do not install root from MadAnalysis 5, but do it externally instead. Then, remove the veto.
Regards,
Benjamin
… On 24 Apr 2024, at 20:08, RBadawi99 ***@***.***> wrote:
Hello,
I have done all the above.
As I mentioned in point 2 in my previous comment, I have installed MA5 independently (as you advised) from here https://github.com/MadAnalysis/madanalysis5 which is the latest version (1.10.12).
It gave me an error while installing fastjet and I vetoed it (as you advised) then gave me an error while downloading root, so I vetoed that as well (as you advised) and the installation was completed with no errors.
Then I installed fastjet in MA5 with (install fastjet) and it worked perfectly.
After that, I typed (install root) because I vetoed it earlier, and then it met an error that I attached in the previous comment at point 2, (here it is for completion):
image.png (view on web) <https://github.com/MadAnalysis/madanalysis5/assets/108694197/6d2d4498-e447-4952-a258-21328a1cbc22>
and the .log file:
compilation.log <https://github.com/MadAnalysis/madanalysis5/files/15098589/compilation.log>
Here where it crashes. It won't download root in MA5.
Many thanks,
Raghad.
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ3DSXZ7XIVAND4BLFLY67YLDAVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGU2DEMZWGA>.
You are receiving this because you commented.
|
I don't seem to understand what "install it externally" means. Is it different from installing it using "sudo snap install root-framework" in bash? Because I already did that. Many thanks. |
Hello, I also tried to change the root version in the install_root.py file, it won't work and gives the same error as before. |
Hi, Please install root completely independently from MadAnalysis5. From what you pasted, it seems that you have a problem with Root installation, and not with MadAnalysis5. We are not the appropriate support team for that... Regards, Benjamin |
But then what is the problem? This seems to contradict your previous message. |
Hi,
MadAnalysis 5 can use root if it is availabe on your system.
Regards,
Benjamin
… On 30 Apr 2024, at 10:58, RBadawi99 ***@***.***> wrote:
The problem is that root is not downloading correctly inside MA5. And I don't know how to fix it.
If I have root working fine (independently), how will this fix not having root in MA5 when typing "install root" and getting errors?
—
Reply to this email directly, view it on GitHub <#248 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ7DHLWCBBSDJAXUEF3Y75ML3AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUG43DEMZRGU>.
You are receiving this because you commented.
|
System Settings
Python 3.10.12
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Describe the bug
I have downloaded the MG5's update through https://launchpad.net/mg5amcnlo and when installing the MA5 via this command: install MadAnalysis5
It gives me an error that included these lines in red:
MA5-ERROR: impossible to execute the commands: /usr/bin/root-config --libdir --incdir --version
MA5-ERROR: impossible to execute the commands: /usr/bin/root-config --libdir --incdir --version
MA5: Creating folder '/tmp/tmpztr5ou3t/tools/PADforsfs'...
MA5-ERROR: Impossible to create the directory :
MA5-ERROR: /tmp/tmpztr5ou3t/tools/PADforsfs
MA5-ERROR: job submission aborted.
MA5: Installation NOT complete.
MA5: Elapsed time = 0.00 second
MA5: => Status: [FAILURE]
MA5: **********************************************************
MA5:
MA5-ERROR: Impossible to install PAD For SFS.
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
MA5-ERROR: The library building aborted.
Then this in bolded blue:
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'.
and just kept repeating.
Please note that this is not the full error message, the full one is to be pasted below.
To Reproduce
MG5_aMC>install MadAnalysis5
You are installing 'MadAnalysis5', please cite ref(s): arXiv:1206.1599.
Downloading the HEPToolInstaller at:
http://madgraph.mi.infn.it//Downloads/HEPToolsInstaller/HEPToolsInstaller_V168.tar.gz
Now installing madanalysis5. Be patient...
/home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/HEPToolsInstallers/HEPToolInstaller.py:16: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion, StrictVersion
Fetching data with command:
wget --no-check-certificate https://github.com/MadAnalysis/madanalysis5/archive/refs/tags/v1.10.9_beta.tar.gz
--2024-04-12 14:11:56-- https://github.com/MadAnalysis/madanalysis5/archive/refs/tags/v1.10.9_beta.tar.gz
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/MadAnalysis/madanalysis5/tar.gz/refs/tags/v1.10.9_beta [following]
--2024-04-12 14:11:57-- https://codeload.github.com/MadAnalysis/madanalysis5/tar.gz/refs/tags/v1.10.9_beta
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v1.10.9_beta.tar.gz’
v1.10.9_beta.tar.gz [ <=> ] 860.54K 1.89MB/s in 0.4s
2024-04-12 14:11:58 (1.89 MB/s) - ‘v1.10.9_beta.tar.gz’ saved [881189]
Installing tool 'madanalysis5'...
> Follow the installation progress by running the command below in a separate terminal)
> tail -f /home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5_install.log
['madanalysis5-1.10.9_beta']
mv madanalysis5-1.10.9_beta madanalysis5
A problem occured during the installation of 'madanalysis5'.
Content of the installation log file '/home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5_install.log':
Expected behaviour
No response
Log files
/home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/
this file is not available.
raghad@raghad-IdeaPad-L3-15IML05:
$ cd /home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/$bash: cd: /home/raghad/Downloads/MG5_aMC_v3_5_4/HEPTools/madanalysis5/madanalysis5/tools/SampleAnalyzer/Interfaces/: No such file or directory
raghad@raghad-IdeaPad-L3-15IML05:
Additional information
No response
The text was updated successfully, but these errors were encountered: