MadGraph won't generate any jobs

Asked by anke

Dear aMC@NLO team,

I downloaded MadGraph to a new laptop with Mac OS 10.11.6.

When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.

I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
Working on SubProcesses
INFO: P1_qq_ll
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
INFO: End survey

When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.

Both the current and the previous version of MadGraph lead to this error.

I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU

Have you got any idea what could be going wrong?

Thanks in advance for your help.

Best,
Anke

Question information

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

Hi,

Did you accept the Xcode license?

Cheers,

Olivier

> On Nov 16, 2016, at 16:08, anke <email address hidden> wrote:
>
> New question #404132 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Dear aMC@NLO team,
>
> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>
> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>
> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
> Working on SubProcesses
> INFO: P1_qq_ll
> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
> INFO: End survey
>
> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>
> Both the current and the previous version of MadGraph lead to this error.
>
> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>
> Have you got any idea what could be going wrong?
>
> Thanks in advance for your help.
>
> Best,
> Anke
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
anke (anke.b) said :
#2

Hi Olivier,

sorry for the very late reply.

Yes, I did accept the Xcode license.

Is there any way to check that it works correctly? Or is there anything
else that could be responsible for my problem?

Thanks and cheers,

Anke

On 16/11/16 21:08, Olivier Mattelaer wrote:
> Your question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi,
>
> Did you accept the Xcode license?
>
> Cheers,
>
> Olivier
>
>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>
>> New question #404132 on MadGraph5_aMC@NLO:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Dear aMC@NLO team,
>>
>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>
>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>
>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>> Working on SubProcesses
>> INFO: P1_qq_ll
>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>> INFO: End survey
>>
>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>
>> Both the current and the previous version of MadGraph lead to this error.
>>
>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>
>> Have you got any idea what could be going wrong?
>>
>> Thanks in advance for your help.
>>
>> Best,
>> Anke
>>
>> --
>> 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 :
#3

I actually do not know.

The only way is probably to compile the code by hand to see what happens
So you can go to the Source directory and do
make
then go to the SubProcesses/PXXXXXXXX (replace XXXXXX by an existing directory)
then do
make gensym
./gensym

In principle gensym, should just return a list of number.
Something wrong should happening before that point in principle.

Cheers,

Olivier

> On Nov 28, 2016, at 10:58, anke <email address hidden> wrote:
>
> Question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Answered => Open
>
> anke is still having a problem:
> Hi Olivier,
>
> sorry for the very late reply.
>
> Yes, I did accept the Xcode license.
>
> Is there any way to check that it works correctly? Or is there anything
> else that could be responsible for my problem?
>
> Thanks and cheers,
>
> Anke
>
> On 16/11/16 21:08, Olivier Mattelaer wrote:
>> Your question #404132 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> Hi,
>>
>> Did you accept the Xcode license?
>>
>> Cheers,
>>
>> Olivier
>>
>>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>>
>>> New question #404132 on MadGraph5_aMC@NLO:
>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>
>>> Dear aMC@NLO team,
>>>
>>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>>
>>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>>
>>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>>> Working on SubProcesses
>>> INFO: P1_qq_ll
>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>> INFO: End survey
>>>
>>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>>
>>> Both the current and the previous version of MadGraph lead to this error.
>>>
>>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>>
>>> Have you got any idea what could be going wrong?
>>>
>>> Thanks in advance for your help.
>>>
>>> Best,
>>> Anke
>>>
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadGraph5_aMC@NLO.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
anke (anke.b) said :
#4

Thank you for your prompt reply.

Make gensym returned some warnings:

gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -lmodel
-lgeneric -lc++ -mmacosx-version-min=10.7
ld: warning: object file (symmetry.o) was built for newer OSX version
(10.11) than being linked (10.7)
ld: warning: object file (idenparts.o) was built for newer OSX version
(10.11) than being linked (10.7)
ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built
for newer OSX version (10.11) than being linked (10.7)
ld: warning: object file (../../lib//libgeneric.a(rw_routines.o)) was
built for newer OSX version (10.11) than being linked (10.7)
ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built
for newer OSX version (10.11) than being linked (10.7)
ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built
for newer OSX version (10.11) than being linked (10.7)
ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built
for newer OSX version (10.11) than being linked (10.7)
ld: warning: PIE disabled. Absolute addressing (perhaps
-mdynamic-no-pic) not allowed in code signed PIE, but used in __start
from /usr/lib/crt1.o. To fix this warning, don't compile with
-mdynamic-no-pic or link with -Wl,-no_pie

Running ./gensym returns only this error:

Segmentation fault: 11

Does this tell you anything about the problem?

Thank you very much for your help and time.

Cheers,

Anke

On 28/11/16 13:13, Olivier Mattelaer wrote:
> Your question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> I actually do not know.
>
> The only way is probably to compile the code by hand to see what happens
> So you can go to the Source directory and do
> make
> then go to the SubProcesses/PXXXXXXXX (replace XXXXXX by an existing directory)
> then do
> make gensym
> ./gensym
>
> In principle gensym, should just return a list of number.
> Something wrong should happening before that point in principle.
>
> Cheers,
>
> Olivier
>
>> On Nov 28, 2016, at 10:58, anke <email address hidden> wrote:
>>
>> Question #404132 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Status: Answered => Open
>>
>> anke is still having a problem:
>> Hi Olivier,
>>
>> sorry for the very late reply.
>>
>> Yes, I did accept the Xcode license.
>>
>> Is there any way to check that it works correctly? Or is there anything
>> else that could be responsible for my problem?
>>
>> Thanks and cheers,
>>
>> Anke
>>
>> On 16/11/16 21:08, Olivier Mattelaer wrote:
>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>
>>> Status: Open => Answered
>>>
>>> Olivier Mattelaer proposed the following answer:
>>> Hi,
>>>
>>> Did you accept the Xcode license?
>>>
>>> Cheers,
>>>
>>> Olivier
>>>
>>>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>>>
>>>> New question #404132 on MadGraph5_aMC@NLO:
>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>
>>>> Dear aMC@NLO team,
>>>>
>>>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>>>
>>>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>>>
>>>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>>>> Working on SubProcesses
>>>> INFO: P1_qq_ll
>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>> INFO: End survey
>>>>
>>>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>>>
>>>> Both the current and the previous version of MadGraph lead to this error.
>>>>
>>>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>>>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>>>
>>>> Have you got any idea what could be going wrong?
>>>>
>>>> Thanks in advance for your help.
>>>>
>>>> Best,
>>>> Anke
>>>>
>>>> --
>>>> You received this question notification because you are an answer
>>>> contact for MadGraph5_aMC@NLO.
>> --
>> 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 :
#5

Hi

I have never see the following warning:

> ld: warning: PIE disabled. Absolute addressing (perhaps
> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
> from /usr/lib/crt1.o. To fix this warning, don't compile with
> -mdynamic-no-pic or link with -Wl,-no_pie

This might indicates that the library /usr/lib/crt1.o is somewhat not correctly defined.
(i.e. a local installation error)
You can try to compile with the flag that they suggests.

you can replace in Source/make_opts
the lines:
UNAME := $(shell uname -s)
ifeq ($(origin LDFLAGS), undefined)
LDFLAGS=$(STDLIB) $(MACFLAG)
endif

by

UNAME := $(shell uname -s)
ifeq ($(origin LDFLAGS), undefined)
LDFLAGS=$(STDLIB) $(MACFLAG) -Wl,-no_pie
endif

then do a “make clean” in Source an retry previous command to see if this remove this warning/solves the problem.

Cheers,

Olivier

> On Nov 28, 2016, at 13:58, anke <email address hidden> wrote:
>
> Question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Answered => Open
>
> anke is still having a problem:
> Thank you for your prompt reply.
>
> Make gensym returned some warnings:
>
> gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -lmodel
> -lgeneric -lc++ -mmacosx-version-min=10.7
> ld: warning: object file (symmetry.o) was built for newer OSX version
> (10.11) than being linked (10.7)
> ld: warning: object file (idenparts.o) was built for newer OSX version
> (10.11) than being linked (10.7)
> ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built
> for newer OSX version (10.11) than being linked (10.7)
> ld: warning: object file (../../lib//libgeneric.a(rw_routines.o)) was
> built for newer OSX version (10.11) than being linked (10.7)
> ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built
> for newer OSX version (10.11) than being linked (10.7)
> ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built
> for newer OSX version (10.11) than being linked (10.7)
> ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built
> for newer OSX version (10.11) than being linked (10.7)
> ld: warning: PIE disabled. Absolute addressing (perhaps
> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
> from /usr/lib/crt1.o. To fix this warning, don't compile with
> -mdynamic-no-pic or link with -Wl,-no_pie
>
>
> Running ./gensym returns only this error:
>
> Segmentation fault: 11
>
> Does this tell you anything about the problem?
>
> Thank you very much for your help and time.
>
> Cheers,
>
> Anke
>
>
> On 28/11/16 13:13, Olivier Mattelaer wrote:
>> Your question #404132 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> I actually do not know.
>>
>> The only way is probably to compile the code by hand to see what happens
>> So you can go to the Source directory and do
>> make
>> then go to the SubProcesses/PXXXXXXXX (replace XXXXXX by an existing directory)
>> then do
>> make gensym
>> ./gensym
>>
>> In principle gensym, should just return a list of number.
>> Something wrong should happening before that point in principle.
>>
>> Cheers,
>>
>> Olivier
>>
>>> On Nov 28, 2016, at 10:58, anke <email address hidden> wrote:
>>>
>>> Question #404132 on MadGraph5_aMC@NLO changed:
>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>
>>> Status: Answered => Open
>>>
>>> anke is still having a problem:
>>> Hi Olivier,
>>>
>>> sorry for the very late reply.
>>>
>>> Yes, I did accept the Xcode license.
>>>
>>> Is there any way to check that it works correctly? Or is there anything
>>> else that could be responsible for my problem?
>>>
>>> Thanks and cheers,
>>>
>>> Anke
>>>
>>> On 16/11/16 21:08, Olivier Mattelaer wrote:
>>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>
>>>> Status: Open => Answered
>>>>
>>>> Olivier Mattelaer proposed the following answer:
>>>> Hi,
>>>>
>>>> Did you accept the Xcode license?
>>>>
>>>> Cheers,
>>>>
>>>> Olivier
>>>>
>>>>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>>>>
>>>>> New question #404132 on MadGraph5_aMC@NLO:
>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>
>>>>> Dear aMC@NLO team,
>>>>>
>>>>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>>>>
>>>>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>>>>
>>>>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>>>>> Working on SubProcesses
>>>>> INFO: P1_qq_ll
>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>> INFO: End survey
>>>>>
>>>>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>>>>
>>>>> Both the current and the previous version of MadGraph lead to this error.
>>>>>
>>>>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>>>>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>>>>
>>>>> Have you got any idea what could be going wrong?
>>>>>
>>>>> Thanks in advance for your help.
>>>>>
>>>>> Best,
>>>>> Anke
>>>>>
>>>>> --
>>>>> You received this question notification because you are an answer
>>>>> contact for MadGraph5_aMC@NLO.
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadGraph5_aMC@NLO.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
anke (anke.b) said :
#6

Hi,

thank you for your help.

I tried the replacement you suggested and the warning is gone now.
However, ./gensym still returns the error:

Segmentation fault: 11

without any further messages.

Thanks and cheers,

Anke

On 28/11/16 21:43, Olivier Mattelaer wrote:
> Your question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi
>
> I have never see the following warning:
>
>> ld: warning: PIE disabled. Absolute addressing (perhaps
>> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
>> from /usr/lib/crt1.o. To fix this warning, don't compile with
>> -mdynamic-no-pic or link with -Wl,-no_pie
> This might indicates that the library /usr/lib/crt1.o is somewhat not correctly defined.
> (i.e. a local installation error)
> You can try to compile with the flag that they suggests.
>
> you can replace in Source/make_opts
> the lines:
> UNAME := $(shell uname -s)
> ifeq ($(origin LDFLAGS), undefined)
> LDFLAGS=$(STDLIB) $(MACFLAG)
> endif
>
> by
>
> UNAME := $(shell uname -s)
> ifeq ($(origin LDFLAGS), undefined)
> LDFLAGS=$(STDLIB) $(MACFLAG) -Wl,-no_pie
> endif
>
> then do a “make clean” in Source an retry previous command to see if
> this remove this warning/solves the problem.
>
> Cheers,
>
> Olivier
>
>
>> On Nov 28, 2016, at 13:58, anke <email address hidden> wrote:
>>
>> Question #404132 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Status: Answered => Open
>>
>> anke is still having a problem:
>> Thank you for your prompt reply.
>>
>> Make gensym returned some warnings:
>>
>> gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -lmodel
>> -lgeneric -lc++ -mmacosx-version-min=10.7
>> ld: warning: object file (symmetry.o) was built for newer OSX version
>> (10.11) than being linked (10.7)
>> ld: warning: object file (idenparts.o) was built for newer OSX version
>> (10.11) than being linked (10.7)
>> ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built
>> for newer OSX version (10.11) than being linked (10.7)
>> ld: warning: object file (../../lib//libgeneric.a(rw_routines.o)) was
>> built for newer OSX version (10.11) than being linked (10.7)
>> ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built
>> for newer OSX version (10.11) than being linked (10.7)
>> ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built
>> for newer OSX version (10.11) than being linked (10.7)
>> ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built
>> for newer OSX version (10.11) than being linked (10.7)
>> ld: warning: PIE disabled. Absolute addressing (perhaps
>> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
>> from /usr/lib/crt1.o. To fix this warning, don't compile with
>> -mdynamic-no-pic or link with -Wl,-no_pie
>>
>>
>> Running ./gensym returns only this error:
>>
>> Segmentation fault: 11
>>
>> Does this tell you anything about the problem?
>>
>> Thank you very much for your help and time.
>>
>> Cheers,
>>
>> Anke
>>
>>
>> On 28/11/16 13:13, Olivier Mattelaer wrote:
>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>
>>> Status: Open => Answered
>>>
>>> Olivier Mattelaer proposed the following answer:
>>> I actually do not know.
>>>
>>> The only way is probably to compile the code by hand to see what happens
>>> So you can go to the Source directory and do
>>> make
>>> then go to the SubProcesses/PXXXXXXXX (replace XXXXXX by an existing directory)
>>> then do
>>> make gensym
>>> ./gensym
>>>
>>> In principle gensym, should just return a list of number.
>>> Something wrong should happening before that point in principle.
>>>
>>> Cheers,
>>>
>>> Olivier
>>>
>>>> On Nov 28, 2016, at 10:58, anke <email address hidden> wrote:
>>>>
>>>> Question #404132 on MadGraph5_aMC@NLO changed:
>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>
>>>> Status: Answered => Open
>>>>
>>>> anke is still having a problem:
>>>> Hi Olivier,
>>>>
>>>> sorry for the very late reply.
>>>>
>>>> Yes, I did accept the Xcode license.
>>>>
>>>> Is there any way to check that it works correctly? Or is there anything
>>>> else that could be responsible for my problem?
>>>>
>>>> Thanks and cheers,
>>>>
>>>> Anke
>>>>
>>>> On 16/11/16 21:08, Olivier Mattelaer wrote:
>>>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>
>>>>> Status: Open => Answered
>>>>>
>>>>> Olivier Mattelaer proposed the following answer:
>>>>> Hi,
>>>>>
>>>>> Did you accept the Xcode license?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Olivier
>>>>>
>>>>>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>>>>>
>>>>>> New question #404132 on MadGraph5_aMC@NLO:
>>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>>
>>>>>> Dear aMC@NLO team,
>>>>>>
>>>>>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>>>>>
>>>>>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>>>>>
>>>>>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>>>>>> Working on SubProcesses
>>>>>> INFO: P1_qq_ll
>>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>>> INFO: End survey
>>>>>>
>>>>>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>>>>>
>>>>>> Both the current and the previous version of MadGraph lead to this error.
>>>>>>
>>>>>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>>>>>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>>>>>
>>>>>> Have you got any idea what could be going wrong?
>>>>>>
>>>>>> Thanks in advance for your help.
>>>>>>
>>>>>> Best,
>>>>>> Anke
>>>>>>
>>>>>> --
>>>>>> You received this question notification because you are an answer
>>>>>> contact for MadGraph5_aMC@NLO.
>>>> --
>>>> You received this question notification because you are an answer
>>>> contact for MadGraph5_aMC@NLO.
>> --
>> 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 :
#7

Hi,

Thanks for the try.
My laptop is actually also using 10.11.6, so this is quite surprising.

The first suggestion would then be to uncomment the line:
#FFLAGS+= -g -fbounds-check -ffpe-trap=invalid,zero,overflow,underflow,denormal -Wall
in the file make_opts

and then do the same as last time (recompile/run, hoping some useful information will pop-up)

If the same error occurs without any new hint, then you can run the code in debugging mode:
lldb ./gensym
This opens a shell where you can type “run”. (This might ask your password)
when the code crash, you will still have the shell and you can type
“bt” or “tb” (never sure which one is the correct one).
which should give usefull information.

Cheers and thanks for your patience,

Olivier

> On Nov 30, 2016, at 11:03, anke <email address hidden> wrote:
>
> Question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Answered => Open
>
> anke is still having a problem:
> Hi,
>
> thank you for your help.
>
> I tried the replacement you suggested and the warning is gone now.
> However, ./gensym still returns the error:
>
> Segmentation fault: 11
>
> without any further messages.
>
> Thanks and cheers,
>
> Anke
>
>
> On 28/11/16 21:43, Olivier Mattelaer wrote:
>> Your question #404132 on MadGraph5_aMC@NLO changed:
>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> Hi
>>
>> I have never see the following warning:
>>
>>> ld: warning: PIE disabled. Absolute addressing (perhaps
>>> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
>>> from /usr/lib/crt1.o. To fix this warning, don't compile with
>>> -mdynamic-no-pic or link with -Wl,-no_pie
>> This might indicates that the library /usr/lib/crt1.o is somewhat not correctly defined.
>> (i.e. a local installation error)
>> You can try to compile with the flag that they suggests.
>>
>> you can replace in Source/make_opts
>> the lines:
>> UNAME := $(shell uname -s)
>> ifeq ($(origin LDFLAGS), undefined)
>> LDFLAGS=$(STDLIB) $(MACFLAG)
>> endif
>>
>> by
>>
>> UNAME := $(shell uname -s)
>> ifeq ($(origin LDFLAGS), undefined)
>> LDFLAGS=$(STDLIB) $(MACFLAG) -Wl,-no_pie
>> endif
>>
>> then do a “make clean” in Source an retry previous command to see if
>> this remove this warning/solves the problem.
>>
>> Cheers,
>>
>> Olivier
>>
>>
>>> On Nov 28, 2016, at 13:58, anke <email address hidden> wrote:
>>>
>>> Question #404132 on MadGraph5_aMC@NLO changed:
>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>
>>> Status: Answered => Open
>>>
>>> anke is still having a problem:
>>> Thank you for your prompt reply.
>>>
>>> Make gensym returned some warnings:
>>>
>>> gfortran -o gensym symmetry.o idenparts.o -L../../lib/ -lmodel
>>> -lgeneric -lc++ -mmacosx-version-min=10.7
>>> ld: warning: object file (symmetry.o) was built for newer OSX version
>>> (10.11) than being linked (10.7)
>>> ld: warning: object file (idenparts.o) was built for newer OSX version
>>> (10.11) than being linked (10.7)
>>> ld: warning: object file (../../lib//libgeneric.a(basecode.o)) was built
>>> for newer OSX version (10.11) than being linked (10.7)
>>> ld: warning: object file (../../lib//libgeneric.a(rw_routines.o)) was
>>> built for newer OSX version (10.11) than being linked (10.7)
>>> ld: warning: object file (../../lib//libmodel.a(rw_para.o)) was built
>>> for newer OSX version (10.11) than being linked (10.7)
>>> ld: warning: object file (../../lib//libmodel.a(couplings.o)) was built
>>> for newer OSX version (10.11) than being linked (10.7)
>>> ld: warning: object file (../../lib//libmodel.a(couplings1.o)) was built
>>> for newer OSX version (10.11) than being linked (10.7)
>>> ld: warning: PIE disabled. Absolute addressing (perhaps
>>> -mdynamic-no-pic) not allowed in code signed PIE, but used in __start
>>> from /usr/lib/crt1.o. To fix this warning, don't compile with
>>> -mdynamic-no-pic or link with -Wl,-no_pie
>>>
>>>
>>> Running ./gensym returns only this error:
>>>
>>> Segmentation fault: 11
>>>
>>> Does this tell you anything about the problem?
>>>
>>> Thank you very much for your help and time.
>>>
>>> Cheers,
>>>
>>> Anke
>>>
>>>
>>> On 28/11/16 13:13, Olivier Mattelaer wrote:
>>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>
>>>> Status: Open => Answered
>>>>
>>>> Olivier Mattelaer proposed the following answer:
>>>> I actually do not know.
>>>>
>>>> The only way is probably to compile the code by hand to see what happens
>>>> So you can go to the Source directory and do
>>>> make
>>>> then go to the SubProcesses/PXXXXXXXX (replace XXXXXX by an existing directory)
>>>> then do
>>>> make gensym
>>>> ./gensym
>>>>
>>>> In principle gensym, should just return a list of number.
>>>> Something wrong should happening before that point in principle.
>>>>
>>>> Cheers,
>>>>
>>>> Olivier
>>>>
>>>>> On Nov 28, 2016, at 10:58, anke <email address hidden> wrote:
>>>>>
>>>>> Question #404132 on MadGraph5_aMC@NLO changed:
>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>
>>>>> Status: Answered => Open
>>>>>
>>>>> anke is still having a problem:
>>>>> Hi Olivier,
>>>>>
>>>>> sorry for the very late reply.
>>>>>
>>>>> Yes, I did accept the Xcode license.
>>>>>
>>>>> Is there any way to check that it works correctly? Or is there anything
>>>>> else that could be responsible for my problem?
>>>>>
>>>>> Thanks and cheers,
>>>>>
>>>>> Anke
>>>>>
>>>>> On 16/11/16 21:08, Olivier Mattelaer wrote:
>>>>>> Your question #404132 on MadGraph5_aMC@NLO changed:
>>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>>
>>>>>> Status: Open => Answered
>>>>>>
>>>>>> Olivier Mattelaer proposed the following answer:
>>>>>> Hi,
>>>>>>
>>>>>> Did you accept the Xcode license?
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Olivier
>>>>>>
>>>>>>> On Nov 16, 2016, at 16:08, anke<email address hidden> wrote:
>>>>>>>
>>>>>>> New question #404132 on MadGraph5_aMC@NLO:
>>>>>>> https://answers.launchpad.net/mg5amcnlo/+question/404132
>>>>>>>
>>>>>>> Dear aMC@NLO team,
>>>>>>>
>>>>>>> I downloaded MadGraph to a new laptop with Mac OS 10.11.6.
>>>>>>>
>>>>>>> When trying to generate and launch ANY process (I tried simple ones as p p > e+ e- or p p > j j ) I receive the message 'Survey return zero cross section'.
>>>>>>>
>>>>>>> I tried to trace down the error and I realized that no job is ever started. MadGraph directly goes to:
>>>>>>> Working on SubProcesses
>>>>>>> INFO: P1_qq_ll
>>>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>>>> INFO: Idle: 0, Running: 0, Completed: 0 [ current time: 15h40 ]
>>>>>>> INFO: End survey
>>>>>>>
>>>>>>> When I print 'job_list' after line 159 in bin/internal/gen_ximprove.py, the list is empty.
>>>>>>>
>>>>>>> Both the current and the previous version of MadGraph lead to this error.
>>>>>>>
>>>>>>> I did not modify any setting of MadGraph and I have checked all the requirements for MadGraph on a Mac given on
>>>>>>> https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/SchoolNTU
>>>>>>>
>>>>>>> Have you got any idea what could be going wrong?
>>>>>>>
>>>>>>> Thanks in advance for your help.
>>>>>>>
>>>>>>> Best,
>>>>>>> Anke
>>>>>>>
>>>>>>> --
>>>>>>> You received this question notification because you are an answer
>>>>>>> contact for MadGraph5_aMC@NLO.
>>>>> --
>>>>> You received this question notification because you are an answer
>>>>> contact for MadGraph5_aMC@NLO.
>>> --
>>> You received this question notification because you are an answer
>>> contact for MadGraph5_aMC@NLO.
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
anke (anke.b) said :
#8

Hi Oliver,

Thank you so much for your patience.

In the end it was the version of gfortran which caused the problem. It seems that MadGraph does not work with all 4.x gfortran versions. I upgraded from 4.2 to 4.9 and now I can finally generate events.

I really appreciate all your help.

Cheers,
Anke

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

Good job. Thanks to have keep us in touch.

Cheers,

Olivier

> On Dec 1, 2016, at 15:03, anke <email address hidden> wrote:
>
> Question #404132 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/404132
>
> Status: Answered => Solved
>
> anke confirmed that the question is solved:
> Hi Oliver,
>
> Thank you so much for your patience.
>
> In the end it was the version of gfortran which caused the problem. It
> seems that MadGraph does not work with all 4.x gfortran versions. I
> upgraded from 4.2 to 4.9 and now I can finally generate events.
>
> I really appreciate all your help.
>
> Cheers,
> Anke
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.