install delphes error: environmental variable ROOTSYS not configured
I installed MG5_aMC_v3_5_4 and want to install Delphes through madgraph, when I enter "install Delphes" I get the following error message. I would really appreciate it if anyone can help me fix this error. I plan on doing research on muon collider with madgraph and it hinges on me successfully installing it. Thank you in advance.
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=
export PATH=$PATH:
export LD_LIBRARY_
export DYLD_LIBRARY_
This will take effect only in a NEW terminal
I have found my .bash_profile pasted the follow segment to the end of the file and saved.
export ROOTSYS=
export PATH=$PATH:
export LD_LIBRARY_
export DYLD_LIBRARY_
I then opened a new terminal for madgraph and entered "install Delphes," but I got the same errors again. I feel like the periods in the ROOTSYS may cause some error but when I try to change the file name to 6_30_06 on my computer mad-graph would just not recognize where the Root is.
FYI:
1) I am on Mac with 2 GHz Quad-Core Intel Core i5.
2) when I enter "echo $ROOTSYS" on a new terminal, I get
/usr/local/
3) when I enter "gfortran --version" on a new terminal, I get
GNU Fortran (Homebrew GCC 13.2.0) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Shaoqiu Chen for more information if necessary.