Madgraph v3.5.0 (Delphes installation issue)

Asked by Waqas Ahmad

when i tried to install Delphes in madgraph terminal then i got this error

MG5_aMC>install Delphes
Command "install Delphes" interrupted with error:
InvalidCmd : The environment variable ROOTSYS is not configured.
 You can set it by adding the following lines in your .bashrc [.bash_profile for mac]:
 export ROOTSYS=/usr
 export PATH=$PATH:$ROOTSYS/bin
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ROOTSYS/lib
 This will take effect only in a NEW terminal

kindly suggest me a solution

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Did you follow the solution printed on your terminal?

Revision history for this message
Waqas Ahmad (ahmad13851) said :
#2

Hi Olivier, first of all thanks alot for your rapid reply.

Yes I follow and after editing it in .bashrc that problem is resolved now but i am still not getting the successful installation of Delphes in madgraph terminal. When I hit the install Delphes command in terminal then after a short time I face another error i.e.

/usr/bin/ld: /snap/root-framework/924/usr/local/lib/libtbb.so.2: undefined reference to `sem_wait@GLIBC_2.34'
/usr/bin/ld: /snap/root-framework/924/usr/local/lib/libNet.so: undefined reference to `pthread_rwlock_destroy@GLIBC_2.34'
/usr/bin/ld: /snap/root-framework/924/usr/local/lib/libThread.so: undefined reference to `pthread_key_create@GLIBC_2.34'
collect2: error: ld returned 1 exit status
make: *** [Makefile:2579: hepmc2pileup] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
save configuration file to /home/waqas/Desktop/products/MG5_aMC_v3_5_0/input/mg5_configuration.txt

and when I try to install it manually outside the madgraph terminal then I face the same error.
Kindly suggest me solution how to resolve this would be really appreciated, thanks!

Waqas

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Hi,

Did you install root via binary? Looks like your root version is not compatible with the glibc of your computer.
I'm sorry but installation of ROOT/Delphes are outside of our area of expertise.
I would suggest to contact ROOT and/or Delphes author who are more suitable to understand those c++ issue (MG5aMC is mainly fortran).

Cheers,

Olivier

> On 22 Jun 2023, at 13:25, Waqas Ahmad <email address hidden> wrote:
>
> Question #707061 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/707061
>
> Status: Answered => Open
>
> Waqas Ahmad is still having a problem:
> Hi Olivier, first of all thanks alot for your rapid reply.
>
> Yes I follow and after editing it in .bashrc that problem is resolved
> now but i am still not getting the successful installation of Delphes in
> madgraph terminal. When I hit the install Delphes command in terminal
> then after a short time I face another error i.e.
>
> /usr/bin/ld: /snap/root-framework/924/usr/local/lib/libtbb.so.2: undefined reference to `sem_wait@GLIBC_2.34'
> /usr/bin/ld: /snap/root-framework/924/usr/local/lib/libNet.so: undefined reference to `pthread_rwlock_destroy@GLIBC_2.34'
> /usr/bin/ld: /snap/root-framework/924/usr/local/lib/libThread.so: undefined reference to `pthread_key_create@GLIBC_2.34'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:2579: hepmc2pileup] Error 1
> Error detected during the compilation. Please check the compilation error and run make manually.
> save configuration file to /home/waqas/Desktop/products/MG5_aMC_v3_5_0/input/mg5_configuration.txt
>
> and when I try to install it manually outside the madgraph terminal then I face the same error.
> Kindly suggest me solution how to resolve this would be really appreciated, thanks!
>
> Waqas
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Waqas Ahmad for more information if necessary.

To post a message you must log in.