compilation error with LHAPDF 5.91
Hi,
I have an issue which very well might be related to other ones discussed previously but I didn't see a resolution there.
My aMC (MG5_aMC_v2_2_1) works fine when the internal pdf sets are used. But when I specify lhapdf through the run_card it fails (error below). I think it happens both at LO and NLO (for the case below I was testing with the tutorial which suggested "generate p p > t t~").
I have:
a new machine with SLC6 and devtoolset-2 (I think it is 2.1) on top of it. The compiler is:
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
And a standard installation of lhapdf 5.9.1 which was installed with the compiler above (i.e. lhapdf was installed under devtoolset-2). LHAPDF works fine with other programs.
I'll appreciate your help. I hope that since my installation is very standard you will be able to recreate it.
With best, Alex
P.S. the screen output and debug file are below.
<<<<<<<<<<<<<<<< screen output:
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
INFO: Using LHAPDF v5.9.1 interface for PDFs
Error: no display specified
Error detected in "generate_events run_01"
write debug file /home/amitov/
If you need help with this issue please contact us on https:/
MadGraph5Error : A compilation Error occurs when trying to compile /home/amitov/
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
..
wrapheragr
..
wrapheragr
wrapheragr
..
wrapcteq6.
..
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
collect2: error: ld returned 1 exit status
make: *** [../bin/
Please try to fix this compilations issue and retry.
Help might be found at https:/
If you think that this is a bug, you can report this at https:/
<<<<<<<
#******
#* MadGraph5_
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.2.1 2014-09-25 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadEvent *
#* *
#* run as ./bin/madevent.py filename *
#* *
#******
generate_events run_01
Traceback (most recent call last):
File "/home/
return self.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
postcmd=False)
File "/home/
stop = Cmd.onecmd_
File "/home/
return func(arg, **opt)
File "/home/
self.
File "/home/
self.
File "/home/
return misc.compile(
File "/home/
raise MadGraph5Error, error_text
MadGraph5Error: A compilation Error occurs when trying to compile /home/amitov/
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
../
wrapheragri
../
wrapheragri
wrapheragri
../
wrapcteq6.
../
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
collect2: error: ld returned 1 exit status
make: *** [../bin/
Please try to fix this compilations issue and retry.
Help might be found at https:/
If you think that this is a bug, you can report this at https:/
automatic_
cluster_
<<<<<<<
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- marco zaro Edit question
- Last query:
- 2014-12-11
- Last reply:
- 2014-12-11
Dear Alexander Mitov,
This issue typically occurs when the gfortran compiler used is not issued from the same build of gcc. Can you confirm that the gfortran version used when producing this log is issued from a 4.8.2 version as well?
Also, could you make sure that the problem occurs even at LO when you run the process *for the first time*, i.e. prior to any compilation with built-in pdf? So switching to lhapdf in the run_card before any compilation occurs.
Alexander Mitov (adm74) said : | #2 |
Hi Valentin,
> This issue typically occurs when the gfortran compiler used is not
> issued from the same build of gcc. Can you confirm that the gfortran
> version used when producing this log is issued from a 4.8.2 version as
> well?
Yes gfortran is the one that comes with gcc:
[amitov@pckt ~]$ gfortran -v
Using built-in specs.
COLLECT_
COLLECT_
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
> Also, could you make sure that the problem occurs even at LO when you
> run the process *for the first time*, i.e. prior to any compilation with
> built-in pdf? So switching to lhapdf in the run_card before any
> compilation occurs.
I deleted the previous run (i.e. the MY_FIRST_MG5_RUN directory).
Then stated the tutorial anew and requested the same LO process ("generate p p > t t~”). When it asked me about the cards I opened the run_card and requested lhapdf with some pdf set. (hope this is what you asked me to do). It then again failed and the message is below.
Best, Alex
-------
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
Error: no display specified
INFO: Using LHAPDF v5.9.1 interface for PDFs
Error detected in "generate_events run_01"
write debug file /home/amitov/
If you need help with this issue please contact us on https:/
MadGraph5Error : A compilation Error occurs when trying to compile /home/amitov/
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
gfortran -O -w -fbounds-check -fPIC -ffixed-
..
wrapheragr
..
wrapheragr
wrapheragr
..
wrapcteq6.
..
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
wrapcteq6.
collect2: error: ld returned 1 exit status
make: *** [../bin/
Please try to fix this compilations issue and retry.
Help might be found at https:/
If you think that this is a bug, you can report this at https:/
quit
marco zaro (marco-zaro) said : | #3 |
Ciao Alex,
have you tried these settings for SL6?
https:/
I am here in Cambridge a couple of days, we can have a quick look...
Cheers,
Marco
Alexander Mitov (adm74) said : | #4 |
Hi Marco,
yes, I followed this recommendation and this is exactly what we have.
Best, Alex
On 4 Dec 2014, at 09:36, marco zaro <email address hidden> wrote:
> Your question #258558 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Open => Answered
>
> marco zaro proposed the following answer:
> Ciao Alex,
> have you tried these settings for SL6?
> https:/
> I am here in Cambridge a couple of days, we can have a quick look...
> Cheers,
>
> Marco
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
marco zaro (marco-zaro) said : | #5 |
Ciao Alex,
I have been told by Elisabetta Pianori (ATLAS) that she has successfully run amc@nlo + lhapdf6 on SL6 with devtoolset-2.
She warned me that you also need to link boost compiled with the same version of the compiler you are using.
Please let me know if this helps.
Thanks,
Marco
On 04 Dec 2014, at 10:51, Alexander Mitov <email address hidden> wrote:
> Question #258558 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Answered => Open
>
> Alexander Mitov is still having a problem:
> Hi Marco,
>
> yes, I followed this recommendation and this is exactly what we have.
>
> Best, Alex
>
> On 4 Dec 2014, at 09:36, marco zaro
> <email address hidden> wrote:
>
>> Your question #258558 on MadGraph5_aMC@NLO changed:
>> https:/
>>
>> Status: Open => Answered
>>
>> marco zaro proposed the following answer:
>> Ciao Alex,
>> have you tried these settings for SL6?
>> https:/
>> I am here in Cambridge a couple of days, we can have a quick look...
>> Cheers,
>>
>> Marco
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https:/
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https:/
>>
>> You received this question notification because you asked the question.
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
Alexander Mitov (adm74) said : | #6 |
Hi Marco,
thanks for the update. I am using lhapdf 5.9 which doesn’t need boost but this is an interesting lead. I’ll play with this.
With best wishes, Alex
On 11 Dec 2014, at 09:56, marco zaro <email address hidden> wrote:
> Your question #258558 on MadGraph5_aMC@NLO changed:
> https:/
>
> Status: Open => Answered
>
> marco zaro proposed the following answer:
> Ciao Alex,
> I have been told by Elisabetta Pianori (ATLAS) that she has successfully run amc@nlo + lhapdf6 on SL6 with devtoolset-2.
> She warned me that you also need to link boost compiled with the same version of the compiler you are using.
> Please let me know if this helps.
> Thanks,
>
> Marco
>
> On 04 Dec 2014, at 10:51, Alexander Mitov
> <email address hidden> wrote:
>
>> Question #258558 on MadGraph5_aMC@NLO changed:
>> https:/
>>
>> Status: Answered => Open
>>
>> Alexander Mitov is still having a problem:
>> Hi Marco,
>>
>> yes, I followed this recommendation and this is exactly what we have.
>>
>> Best, Alex
>>
>> On 4 Dec 2014, at 09:36, marco zaro
>> <email address hidden> wrote:
>>
>>> Your question #258558 on MadGraph5_aMC@NLO changed:
>>> https:/
>>>
>>> Status: Open => Answered
>>>
>>> marco zaro proposed the following answer:
>>> Ciao Alex,
>>> have you tried these settings for SL6?
>>> https:/
>>> I am here in Cambridge a couple of days, we can have a quick look...
>>> Cheers,
>>>
>>> Marco
>>>
>>> --
>>> If this answers your question, please go to the following page to let us
>>> know that it is solved:
>>> https:/
>>>
>>> If you still need help, you can reply to this email or go to the
>>> following page to enter your feedback:
>>> https:/
>>>
>>> You received this question notification because you asked the question.
>>
>> --
>> You received this question notification because you are a direct
>> subscriber of the question.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Can you help with this problem?
Provide an answer of your own, or ask Alexander Mitov for more information if necessary.