error in Delphes make

Asked by mehdirahmani on 2021-06-01

Hi,
I have installed MG5_aMC_v2_9_3, and in MadGraph main directory I have installed Pythia 8.

Then I got Delphes-3.4.2 tar ball and unzipped it.

When I try to execute make command I get the following error:

>> Building libDelphesNoFastJet.dylib
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
make: *** [libDelphesNoFastJet.dylib] Error 1

I have MacOs 11.2.3 and ROOT Version: 6.22/00 which I built from the source on my machine.

Can you help me to resolve this error?

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

Hi,

We are not expert in Delphes so it is better if you contact Delphes author directly.
Our experience so far is that Delphes is not compatible with Root 6.22 but we have heard some succesfull installation with root 6.20.

Cheers,

Olivier

> On 1 Jun 2021, at 20:41, mehdirahmani <email address hidden> wrote:
>
> New question #697344 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/697344
>
> Hi,
> I have installed MG5_aMC_v2_9_3, and in MadGraph main directory I have installed Pythia 8.
>
> Then I got Delphes-3.4.2 tar ball and unzipped it.
>
> When I try to execute make command I get the following error:
>
>>> Building libDelphesNoFastJet.dylib
> clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
> make: *** [libDelphesNoFastJet.dylib] Error 1
>
> I have MacOs 11.2.3 and ROOT Version: 6.22/00 which I built from the source on my machine.
>
> Can you help me to resolve this error?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

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

Please contact Delphes author.

Cheers,

Olivier

> On 5 Jun 2021, at 15:30, aditi <email address hidden> wrote:
>
> Question #697344 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/697344
>
> aditi proposed the following answer:
> hi,
> i was installin delphes but in the make command i am getting this error
>>> Compiling classes/DelphesTF2.cc
> classes/DelphesTF2.cc: In constructor ‘DelphesTF2::DelphesTF2()’:
> classes/DelphesTF2.cc:35:27: error: no match for ‘operator=’ (operand types are ‘std::unique_ptr<TFormula>’ and ‘TFormula*’)
> 35 | fFormula = new TFormula();
>
>
> /usr/include/c++/9/bits/unique_ptr.h:334:7: note: candidate: ‘std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(std::nullptr_t) [with _Tp = TFormula; _Dp = std::default_delete<TFormula>; std::nullptr_t = std::nullptr_t]’
> 334 | operator=(nullptr_t) noexcept
> | ^~~~~~~~
> /usr/include/c++/9/bits/unique_ptr.h:334:17: note: no known conversion for argument 1 from ‘TFormula*’ to ‘std::nullptr_t’
> 334 | operator=(nullptr_t) noexcept
> | ^~~~~~~~~
> make: *** [Makefile:2412: tmp/classes/DelphesTF2.o] Error 1
> Error detected during the compilation. Please check the compilation error and run make manually.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Jacob Smith (yakob256) said (last edit ):
#5

Per this thread and other postings, I have downgraded to ROOT 6.20. However, Delphes still gives me the same error as mehdirahmani. I am using MacOS 11.4. I will be reaching out to the Delphes author. But if anyone learns something in the meantime, please post your findings on this thread. Unlike mehdirahmani, I am trying to install Delphes via MadGraph (version 2.9.4) with 'install Delphes'.

Best,
Jacob

Can you help with this problem?

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

To post a message you must log in.