Madgraph doesn't find Delphes

Asked by Sebastian Urrutia-Quiroga

Hi all,

I'm having some issues by installing Delphes via Madgraph, so I'm doing it manually by CMake, as indicated here (https://github.com/conda-forge/root-feedstock/issues/103):

cmake -DCMAKE_INSTALL_PREFIX="${MY_DIRECTORY}/delphes-install" ..
make -j6
make -j6 install

Even though Delphes is perfectly installed (I tested the example given in the same post), Madgrpah is not able to find it. It shows "detector = Not Available" when using the user interface.

What am I doing wrong?

Thanks a lot,
Sebastian

Question information

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

Do you have a parton-shower availaible?
Did you modify input/mg5_configuration.txt to set the Delphes_path?
Did you compile the DelphesSTDHEP executable without that one, the code will display "Not Available"

Cheers,

Olivier

Revision history for this message
Sebastian Urrutia-Quiroga (sgurruti) said :
#2

Hi Olivier,

Thank you for your prompt response. Here are my answers:

(1) Parton-shower:
I have installed Pythia8

(2) Delphes_path:
This is what I currently have

#! Delphes Package
#! relative path start from main directory
delphes_path = ./delphes-install

(3) Compilation:
This is what I used to compile Delphes

MY_DIRECTORY="$HOME/MG5"
cd "${MY_DIRECTORY}"
git clone https://github.com/delphes/delphes.git
cd delphes/
mkdir build
cd build/
cmake -DCMAKE_INSTALL_PREFIX="${MY_DIRECTORY}/delphes-install" ..
make -j6
make -j6 install

I'm not sure where is my mistake. Thanks!

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

What is the content of the ./delphes-install?
You should have DelphesSTDHEP inside that directory

I would also advice to put absolute path and not relative path in that file.

Cheers,

Olivier

> On 30 Mar 2021, at 21:15, Sebastian Urrutia-Quiroga <email address hidden> wrote:
>
> Question #696311 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/696311
>
> Status: Answered => Open
>
> Sebastian Urrutia-Quiroga is still having a problem:
> Hi Olivier,
>
> Thank you for your prompt response. Here are my answers:
>
> (1) Parton-shower:
> I have installed Pythia8
>
>
> (2) Delphes_path:
> This is what I currently have
>
> #! Delphes Package
> #! relative path start from main directory
> delphes_path = ./delphes-install
>
>
> (3) Compilation:
> This is what I used to compile Delphes
>
> MY_DIRECTORY="$HOME/MG5"
> cd "${MY_DIRECTORY}"
> git clone https://github.com/delphes/delphes.git
> cd delphes/
> mkdir build
> cd build/
> cmake -DCMAKE_INSTALL_PREFIX="${MY_DIRECTORY}/delphes-install" ..
> make -j6
> make -j6 install
>
>
> I'm not sure where is my mistake. Thanks!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Sebastian Urrutia-Quiroga (sgurruti) said :
#4

The content of delphes-install:

- bin <----- DelphesSTDHEP is here
- cards
- examples
- include
- lib

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

Can you try to set the path to
delphes_path = /......./delphes-install/bin/

then

> On 30 Mar 2021, at 21:41, Sebastian Urrutia-Quiroga <email address hidden> wrote:
>
> Question #696311 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/696311
>
> Status: Answered => Open
>
> Sebastian Urrutia-Quiroga is still having a problem:
> The content of delphes-install:
>
> - bin <----- DelphesSTDHEP is here
> - cards
> - examples
> - include
> - lib
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Sebastian Urrutia-Quiroga (sgurruti) said :
#6

Thanks Olivier Mattelaer, that solved my question.