Skip to content
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

Unable to use root within MA5 #233

Open
astro-avi opened this issue Jan 11, 2024 · 0 comments
Open

Unable to use root within MA5 #233

astro-avi opened this issue Jan 11, 2024 · 0 comments
Labels
❓question Further information is requested

Comments

@astro-avi
Copy link

Question

I have successfully built root from source on my Ubuntu VM Box (my previous VM crashed and got corrupt) However, it is not working in MA5. I tried installing inside MA5 but I am getting a configuration error related to python.

I am attaching the config log, bashfile and error.
P.S. to run MA5 I have to use 'python ./bin/ma5' instead './bin/ma5' . Are these two issues related

CONFIG LOG:
Checking for source directory ... /tmp/strider/MA5_root/root-6.04.08
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... gfortran
Checking whether compiler can generate dependencies ... yes
Checking whether c++11 mode is supported ... yes
Checking for string_view implementation ... <string_view>
Checking for Python version >= 2.7 ... ./configure: line 2817: -c: command not found
./configure: line 2821: test: : integer expression expected
./configure: line 2822: test: : integer expression expected
no
configure: Python >= 2.7 MUST be installed
See http://root.cern.ch/drupal/content/build-prerequisites

#######################################
##ROOT PATH
export PATH=$PATH:/root_build/bin/thisroot.sh
#home/strider/root_install/bin/root
export PATH=$PATH:
/LHAPDF/LHAPDF-6.5.3/bin
export LHADIR=/LHAPDF/LHAPDF-install
export LD_LIBRARY_PATH=
/LHAPDF/LHAPDF-6.5.3/lib:LD_LIBRARY_PATH

export PYTHONPATH=$PYTHONPATH:/usr/local/bin/python3
export PATH=$PATH:/usr/local/bin/python2
#export PYTHONPATH=~/LHAPDF/LHAPDF-6.5.3

alias python=python3
alias Python=python3
alias python='python3'
#######################################

install root
MA5:
MA5: **********************************************************
MA5: Installing root
MA5: **********************************************************
MA5: Detecting a previous installation ...
MA5: => found
MA5: Removing the previous installation ...
MA5-WARNING: Are you sure to remove the directory called '/home/strider/Documents/MG5_aMC_v3_5_3/HEPTools/madanalysis5/madanalysis5/tools/root' ? (Y/N)
Answer: y
MA5: How many cores would you like to use for the compilation ? default = max = 2
=> Answer: 2
MA5: => Number of cores used for the compilation = 2
MA5: **********************************************************
MA5: Creating a devoted folder ...
MA5: Creating a temporary folder ...
MA5: Downloading the package ...
MA5: - 1/1 https://root.cern.ch/download/root_v6.04.08.source.tar.gz ...
MA5: --> 'root.tar.gz' already exists. Package not downloaded.
MA5: Unpacking the package ...
MA5: Configuring the package ...
MA5-ERROR: impossible to configure the project. For more details, see the log file:
MA5-ERROR: /home/strider/Documents/MG5_aMC_v3_5_3/HEPTools/madanalysis5/madanalysis5/tools/root/configuration.log
MA5: Installation NOT complete.
MA5: Elapsed time = 11.12 seconds
MA5: => Status: [FAILURE]
MA5: ****************************************************
Screenshot (1)

@astro-avi astro-avi added the ❓question Further information is requested label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant