lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
New
|
Undecided
|
marco zaro |
Bug Description
Hi,
I can install pdf version 5 but then I got compilation error in MG. I cannot install version 6 because I do not have the right version of Boost.
Cheers,
Celine
celine degrande (celine-degrande-r) wrote : | #1 |
Changed in mg5amcnlo: | |
assignee: | nobody → marco zaro (marco-zaro) |
marco zaro (marco-zaro) wrote : Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status | #2 |
celine degrande (celine-degrande-r) wrote : | #3 |
Hi Marco,
I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
it on my mac version 10.9.4.
The version for clang is
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-
Thread model: posix
I got gcc 4.9.0
Do you need something else?
The error is :
INFO: NNPDF23_
write compile file for card: /Users/
run_card missed argument xmtcentral. Takes default: 0.0
run_card missed argument d. Takes default: 1.0
run_card missed argument gridrun. Takes default: False
run_card missed argument fixed_couplings. Takes default: True
Error detected in "generate_events run_01"
write debug file /Users/
If you need help with this issue please contact us on https:/
MadGraph5Error : A compilation Error occurs when trying to compile /Users/
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-
Undefined symbols for architecture x86_64:
marco zaro (marco-zaro) wrote : | #4 |
mmm
did you specify the correct c compiler when you compiled lhapdf?
it may be a compiler clash…
Cheers,
Marco
On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
> Hi Marco,
>
> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>
> it on my mac version 10.9.4.
> The version for clang is
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-
> Thread model: posix
> I got gcc 4.9.0
>
> Do you need something else?
>
> The error is :
>
> INFO: NNPDF23_
> write compile file for card: /Users/
> run_card missed argument xmtcentral. Takes default: 0.0
> run_card missed argument d. Takes default: 1.0
> run_card missed argument gridrun. Takes default: False
> run_card missed argument fixed_couplings. Takes default: True
> Error detected in "generate_events run_01"
> write debug file /Users/
> If you need help with this issue please contact us on https:/
> MadGraph5Error : A compilation Error occurs when trying to compile /Users/
> 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-
> Undefined symbols for architecture x86_64:
> "std::_
> _getprefixpath_ in libLHAPDF.
> _getindexpath_ in libLHAPDF.
> _getdatapath_ in libLHAPDF.
> _getlhapdfversion_ in libLHAPDF.
> "std::_
> std::__
> "std::_
> _getindexpath_ in libLHAPDF.
> "std::_
> std::__
celine degrande (celine-degrande-r) wrote : | #5 |
I try with and without specifying compiler in the configuration for the lhapdf. I use clang for the case where I put it explicitly
Cheers,
Celine
_______
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 2:07 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
mmm
did you specify the correct c compiler when you compiled lhapdf?
it may be a compiler clash…
Cheers,
Marco
On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
> Hi Marco,
>
> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>
> it on my mac version 10.9.4.
> The version for clang is
> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> Target: x86_64-
> Thread model: posix
> I got gcc 4.9.0
>
> Do you need something else?
>
> The error is :
>
> INFO: NNPDF23_
> write compile file for card: /Users/
> run_card missed argument xmtcentral. Takes default: 0.0
> run_card missed argument d. Takes default: 1.0
> run_card missed argument gridrun. Takes default: False
> run_card missed argument fixed_couplings. Takes default: True
> Error detected in "generate_events run_01"
> write debug file /Users/
> If you need help with this issue please contact us on https:/
> MadGraph5Error : A compilation Error occurs when trying to compile /Users/
> 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-
> Undefined symbols for architecture x86_64:
> "std::_
> _getprefixpath_ in libLHAPDF.
> _getindexpath_ in libLHAPDF.
> _getdatapath_ in libLHAPDF.
> _getlhapdfversion_ in libLHAPDF.
> "std::_
> std::__
marco zaro (marco-zaro) wrote : | #6 |
wait
so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
CFLAGS="-O -stdlib=libstdc++ -mmacosx-
when you configue…
otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
let me know,
Marco
On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:
> I try with and without specifying compiler in the configuration for the
> lhapdf. I use clang for the case where I put it explicitly
>
> Cheers,
>
> Celine
> _______
> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:07 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> mmm
> did you specify the correct c compiler when you compiled lhapdf?
> it may be a compiler clash…
> Cheers,
>
> Marco
>
>
> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>
>> Hi Marco,
>>
>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>
>> it on my mac version 10.9.4.
>> The version for clang is
>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>> Target: x86_64-
>> Thread model: posix
>> I got gcc 4.9.0
>>
>> Do you need something else?
>>
>> The error is :
>>
>> INFO: NNPDF23_
>> write compile file for card: /Users/
>> run_card missed argument xmtcentral. Takes default: 0.0
>> run_card missed argument d. Takes default: 1.0
>> run_card missed argument gridrun. Takes default: False
>> run_card missed argument fixed_couplings. Takes default: True
>> Error detected in "generate_events run_01"
>> write debug file /Users/
>> If you need help with this issue please contact us on https:/
>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/
>> 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-
>> Undefined symbols for architecture x86_64:
>> "std::_
>> _getprefixpath_ in libLHAPDF.
>> _getindexpath_ in libLHAPDF.
>> _...
marco zaro (marco-zaro) wrote : | #7 |
please check the syntax, i’m not sure if CFLAGS is the correct variable…
On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
> wait
> so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
> CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> when you configue…
>
> otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
> let me know,
>
> Marco
>
>
> On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:
>
>> I try with and without specifying compiler in the configuration for the
>> lhapdf. I use clang for the case where I put it explicitly
>>
>> Cheers,
>>
>> Celine
>> _______
>> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
>> Sent: Friday, September 12, 2014 2:07 PM
>> To: DEGRANDE C.
>> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>>
>> mmm
>> did you specify the correct c compiler when you compiled lhapdf?
>> it may be a compiler clash…
>> Cheers,
>>
>> Marco
>>
>>
>> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>>
>>> Hi Marco,
>>>
>>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>>
>>> it on my mac version 10.9.4.
>>> The version for clang is
>>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>>> Target: x86_64-
>>> Thread model: posix
>>> I got gcc 4.9.0
>>>
>>> Do you need something else?
>>>
>>> The error is :
>>>
>>> INFO: NNPDF23_
>>> write compile file for card: /Users/
>>> run_card missed argument xmtcentral. Takes default: 0.0
>>> run_card missed argument d. Takes default: 1.0
>>> run_card missed argument gridrun. Takes default: False
>>> run_card missed argument fixed_couplings. Takes default: True
>>> Error detected in "generate_events run_01"
>>> write debug file /Users/
>>> If you need help with this issue please contact us on https:/
>>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/
>>> 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-
>>> Undefined symbols for architecture x86_64:
>>> "std::_
celine degrande (celine-degrande-r) wrote : | #8 |
I use clang for mg5amcnlo.
I have added :
export CFLAGS="-O -stdlib=libstdc++ -mmacosx-
before installing the pdf but I got the same error.
Cheers,
Celine
_______
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 2:31 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
please check the syntax, i’m not sure if CFLAGS is the correct variable…
On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
> wait
> so if you specify clang for lhapdf AND use clang as cpp compiler in amcatnlo, i think you should also specify
> CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> when you configue…
>
> otherwise, if yo also have the gnu compilers (g++ and gcc) and compile lhapdf with it, you should also specify the same compiler for amcatnlo…
> let me know,
>
> Marco
>
>
> On 12 Sep 2014, at 15:18, celine degrande <email address hidden> wrote:
>
>> I try with and without specifying compiler in the configuration for the
>> lhapdf. I use clang for the case where I put it explicitly
>>
>> Cheers,
>>
>> Celine
>> _______
>> From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
>> Sent: Friday, September 12, 2014 2:07 PM
>> To: DEGRANDE C.
>> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
>>
>> mmm
>> did you specify the correct c compiler when you compiled lhapdf?
>> it may be a compiler clash…
>> Cheers,
>>
>> Marco
>>
>>
>> On 12 Sep 2014, at 15:00, celine degrande <email address hidden> wrote:
>>
>>> Hi Marco,
>>>
>>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
>>>
>>> it on my mac version 10.9.4.
>>> The version for clang is
>>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>>> Target: x86_64-
>>> Thread model: posix
>>> I got gcc 4.9.0
>>>
>>> Do you need something else?
>>>
>>> The error is :
>>>
>>> INFO: NNPDF23_
>>> write compile file for card: /Users/
>>> run_card missed argument xmtcentral. Takes default: 0.0
>>> run_card missed argument d. Takes default: 1.0
>>> run_card missed argument gridrun. Takes default: False
>>> run_card missed argument fixed_couplings. Takes default: True
>>> Error detected in "generate_events run_01"
>>> write debug file /Users/
>>> If you need help with this issue please contact us on https:/
>>> MadGraph5Error : A compilation Error occurs when trying to compile /Users/
>>> The compilation fails with the following output message:
>>> gfortran -O -w -fbounds-check -fPIC -ffixed-
marco zaro (marco-zaro) wrote : | #9 |
so you reconfigure/
Marco Zaro
On Fri, Sep 12, 2014 at 4:05 PM, celine degrande <
<email address hidden>> wrote:
> I use clang for mg5amcnlo.
> I have added :
> export CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> -Qunused-arguments"
> before installing the pdf but I got the same error.
>
> Cheers,
>
> Celine
> _______
> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:31 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> please check the syntax, i’m not sure if CFLAGS is the correct variable…
>
> On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
>
> > wait
> > so if you specify clang for lhapdf AND use clang as cpp compiler in
> amcatnlo, i think you should also specify
> > CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> > when you configue…
> >
> > otherwise, if yo also have the gnu compilers (g++ and gcc) and compile
> lhapdf with it, you should also specify the same compiler for amcatnlo…
> > let me know,
> >
> > Marco
> >
> >
> > On 12 Sep 2014, at 15:18, celine degrande <email address hidden>
> wrote:
> >
> >> I try with and without specifying compiler in the configuration for the
> >> lhapdf. I use clang for the case where I put it explicitly
> >>
> >> Cheers,
> >>
> >> Celine
> >> _______
> >> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> >> Sent: Friday, September 12, 2014 2:07 PM
> >> To: DEGRANDE C.
> >> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
> >>
> >> mmm
> >> did you specify the correct c compiler when you compiled lhapdf?
> >> it may be a compiler clash…
> >> Cheers,
> >>
> >> Marco
> >>
> >>
> >> On 12 Sep 2014, at 15:00, celine degrande <email address hidden>
> wrote:
> >>
> >>> Hi Marco,
> >>>
> >>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
> >>>
> >>> it on my mac version 10.9.4.
> >>> The version for clang is
> >>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> >>> Target: x86_64-
> >>> Thread model: posix
> >>> I got gcc 4.9.0
> >>>
> >>> Do you need something else?
> >>>
> >>> The error is :
> >>>
> >>> INFO: NNPDF23_
> /Users/
> >>> write compile file for card:
> /Users/
> >>> run_card missed argument xmtcentral. Takes default: 0.0
> >>> run_card missed argument d. Takes default: 1.0
> >>> run_card missed argument gridrun. Takes default: False
> >>> run_card missed argument fixed_couplings. Takes default: True
> >>> Error detected in "generate_events run_01"
> >>> write debug file /Users/
> >>> If you need help with this issue please contact us on
> ...
celine degrande (celine-degrande-r) wrote : | #10 |
yes
_______
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Friday, September 12, 2014 3:21 PM
To: DEGRANDE C.
Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
so you reconfigure/
Marco Zaro
On Fri, Sep 12, 2014 at 4:05 PM, celine degrande <
<email address hidden>> wrote:
> I use clang for mg5amcnlo.
> I have added :
> export CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> -Qunused-arguments"
> before installing the pdf but I got the same error.
>
> Cheers,
>
> Celine
> _______
> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> Sent: Friday, September 12, 2014 2:31 PM
> To: DEGRANDE C.
> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
>
> please check the syntax, i’m not sure if CFLAGS is the correct variable…
>
> On 12 Sep 2014, at 15:30, Marco Zaro <email address hidden> wrote:
>
> > wait
> > so if you specify clang for lhapdf AND use clang as cpp compiler in
> amcatnlo, i think you should also specify
> > CFLAGS="-O -stdlib=libstdc++ -mmacosx-
> > when you configue…
> >
> > otherwise, if yo also have the gnu compilers (g++ and gcc) and compile
> lhapdf with it, you should also specify the same compiler for amcatnlo…
> > let me know,
> >
> > Marco
> >
> >
> > On 12 Sep 2014, at 15:18, celine degrande <email address hidden>
> wrote:
> >
> >> I try with and without specifying compiler in the configuration for the
> >> lhapdf. I use clang for the case where I put it explicitly
> >>
> >> Cheers,
> >>
> >> Celine
> >> _______
> >> From: <email address hidden> [<email address hidden>] on behalf of marco
> zaro [<email address hidden>]
> >> Sent: Friday, September 12, 2014 2:07 PM
> >> To: DEGRANDE C.
> >> Subject: Re: [Bug 1368721] [NEW] lhapdf error on mac ld: symbol(s) not
> found for architecture x86_64 collect2: error: ld returned 1 exit status
> >>
> >> mmm
> >> did you specify the correct c compiler when you compiled lhapdf?
> >> it may be a compiler clash…
> >> Cheers,
> >>
> >> Marco
> >>
> >>
> >> On 12 Sep 2014, at 15:00, celine degrande <email address hidden>
> wrote:
> >>
> >>> Hi Marco,
> >>>
> >>> I just try t t~ LO in the sm at the end with version 2.2.0 of MG.
> >>>
> >>> it on my mac version 10.9.4.
> >>> The version for clang is
> >>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
> >>> Target: x86_64-
> >>> Thread model: posix
> >>> I got gcc 4.9.0
> >>>
> >>> Do you need something else?
> >>>
> >>> The error is :
> >>>
> >>> INFO: NNPDF23_
> /Users/
> >>> write compile file for card:
> /Users/
> >>> run_card missed argument xmtcentral. Takes default: 0.0
> >>> run_card miss...
marco zaro (marco-zaro) wrote : | #11 |
Hi Celine,
sorry for the long silence.
Did you manage to make it working in the end?
Thanks,
Marco
celine degrande (celine-degrande-r) wrote : RE: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status | #12 |
Hi Marco,
I did not try much more, I just run the couple of processes I needed on Olivier's laptop. So it is still not working.
Cheers,
Celine
_______
From: <email address hidden> [<email address hidden>] on behalf of marco zaro [<email address hidden>]
Sent: Thursday, October 23, 2014 4:41 PM
To: DEGRANDE C.
Subject: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
Hi Celine,
sorry for the long silence.
Did you manage to make it working in the end?
Thanks,
Marco
--
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
lhapdf error on mac ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Status in MadGraph5_aMC@NLO Generator:
New
Bug description:
Hi,
I can install pdf version 5 but then I got compilation error in MG. I
cannot install version 6 because I do not have the right version of
Boost.
Cheers,
Celine
To manage notifications about this bug go to:
https:/
alireza.daneshvar (alireza-daneshvar) wrote : | #13 |
Hi Celine,
Did you solve you problem with lhapdf? if not, which version of lhapdf are you using? I mean the complete version 5. . .?
celine degrande (celine-degrande-r) wrote : | #14 |
Hi,
Not really. I have just used another computer on which it was already install.
Cheers,
Celine
_______
From: <email address hidden> [<email address hidden>] on behalf of alireza.daneshvar [<email address hidden>]
Sent: Wednesday, November 26, 2014 3:17 PM
To: DEGRANDE C.
Subject: [Bug 1368721] Re: lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
Hi Celine,
Did you solve you problem with lhapdf? if not, which version of lhapdf
are you using? I mean the complete version 5. . .?
--
You received this bug notification because you are subscribed to the bug
report.
https:/
Title:
lhapdf error on mac ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Status in MadGraph5_aMC@NLO Generator:
New
Bug description:
Hi,
I can install pdf version 5 but then I got compilation error in MG. I
cannot install version 6 because I do not have the right version of
Boost.
Cheers,
Celine
To manage notifications about this bug go to:
https:/
Hi Celine,
what error do you get?
on which machine and with version of OS/compilers are you using?
wich process are you trying?
Cheers,
Marco
On 12 Sep 2014, at 14:42, Launchpad Bug Tracker <email address hidden> wrote:
> Olivier Mattelaer (olivier-mattelaer) has assigned this bug to you for MadGraph5_aMC@NLO: /bugs.launchpad .net/bugs/ 1368721
>
> Hi,
>
> I can install pdf version 5 but then I got compilation error in MG. I
> cannot install version 6 because I do not have the right version of
> Boost.
>
> Cheers,
>
> Celine
>
> ** Affects: mg5amcnlo
> Importance: Undecided
> Assignee: marco zaro (marco-zaro)
> Status: New
>
> --
> lhapdf error on mac ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status
> https:/
> You received this bug notification because you are a bug assignee.