Closed RBadawi99 closed 6 months ago
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: ./bin/ma5
it keeps giving me this error message:
Traceback (most recent call last):
File "/home/raghad/Downloads/madanalysis5-1.10.12/./bin/ma5", line 51, in
and importlib no longer exposes .util
This will be updated in the next iteration of Ma5; see issue #237.
Thank you for your help. It initiated and gave an error with FastJet:
Platform: Linux 6.5.0-27-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-ERROR: impossible to execute the commands: /usr/bin/root-config --libdir --incdir --version
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 = 8
Answer: 8
MA5: => Number of cores used for the compilation = 8
MA5: Writing the setup files ...
MA5: Writing all the Makefiles ...
MA5: **
MA5: Component 1/11 - test program: SampleAnalyzer configuration
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: **
MA5: Component 2/11 - library: SampleAnalyzer commons
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5: - Linking the library ...
MA5: - Checking that the library is properly built ...
MA5: - Cleaning the project after building the library ...
MA5: => Status: [OK]
MA5: **
MA5: Component 3/11 - test program: SampleAnalyzer commons
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: **
MA5: Component 4/11 - library: interface to zlib
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5: - Linking the library ...
MA5: - Checking that the library is properly built ...
MA5: - Cleaning the project after building the library ...
MA5: => Status: [OK]
MA5: **
MA5: Component 5/11 - test program: interface to zlib
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: **
MA5: Component 6/11 - library: interface to FastJet
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/raghad/Downloads/madanalysis5-1.10.12/tools/SampleAnalyzer/Interfaces/compilation_fastjet.log
MA5-ERROR: The library building aborted.
raghad@raghad-IdeaPad-L3-15IML05:~/Downloads/madanalysis5-1.10.12$
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: compilation_fastjet.log
The system information is mentioned at the top: Python 3.10.12 g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
If you require any other log files, kindly let me know. Many thanks.
Can you please try to turn off fastjet in madanalysis/input/installation_options.dat
, and then reinstall it by typing in the MA5 CLI install fastjet
?
Cheers,
Benjamin
Greetings Benjamin, Thank you for responding.
I vetoed in the installation_options.dat file as such:
I then got this error message:
Here is the .log file: compilation_root.log
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. 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:
and here's the mentioned .log file: configuration.log
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2059822434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWJNJ7T4V7T3W67X2WK5STY5V6Y3AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHAZDENBTGQ. You are receiving this because you commented.
I did that, and after a while, it gave me this:
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2059867067, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWJNJZ3VEHLNLWX33ZHEDDY5WCM5AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZHA3DOMBWG4. You are receiving this because you commented.
I have already installed it via the Snap store:
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.
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2066339875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIWJNJ7ZFIQGMUCG6HLUDA3Y6D2X5AVCNFSM6AAAAABGEAAWWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWGMZTSOBXGU. You are receiving this because you commented.
Great! But how to solve this error?
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2066728411, 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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2072183714, 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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2074074655, 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)? https://root.cern/install/
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2074499044, 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:
then this:
And then it keeps repeating this to no end until I terminate it manualy.
This is the log file: compilation.log
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: 1) Download the latest version of MadAnalysis 5, and start it with root and fastjet vetoed. 2) Install fastjet via madanalysis and restart the code. 3) Install root externally. 4) Restart MadAnalysis 5 with root un-vetoed.
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). 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):
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2075542360, 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 tried to download the tar file from here https://root.cern.ch/download/ and install it into the MA5/tools directory, then executing these commands: mkdir obj; cd obj; cmake ..; make -j 8 After a long run, it gave this error:
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
Hello,
I have root independently installed with no problems.
I have executed root code as part of a tutorial and have not produced any errors so far.
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 https://github.com/MadAnalysis/madanalysis5/issues/248#issuecomment-2084762315, 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'...
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